MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_xml2_node_next

Function acl_xml2_node_next

lib_acl/src/xml/acl_xml2.c:198–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198ACL_XML2_NODE *acl_xml2_node_next(ACL_XML2_NODE *node)
199{
200 ACL_RING *ring_ptr = acl_ring_succ(&node->node);
201 ACL_XML2_NODE *parent;
202
203 if (ring_ptr == &node->node)
204 return NULL;
205
206 parent = node->parent;
207 acl_assert(parent != NULL);
208 if (ring_ptr == &parent->children)
209 return NULL;
210
211 return acl_ring_to_appl(ring_ptr, ACL_XML2_NODE, node);
212}
213
214ACL_XML2_NODE *acl_xml2_node_prev(ACL_XML2_NODE *node)
215{

Callers 2

test_getElementByIdFunction · 0.85
acl_xml2_build2Function · 0.85

Calls

no outgoing calls

Tested by 1

test_getElementByIdFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…