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

Function acl_xml_node_next

lib_acl/src/xml/acl_xml.c:181–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181ACL_XML_NODE *acl_xml_node_next(ACL_XML_NODE *node)
182{
183 ACL_RING *ring_ptr = acl_ring_succ(&node->node);
184 ACL_XML_NODE *parent;
185
186 if (ring_ptr == &node->node)
187 return NULL;
188
189 parent = node->parent;
190 acl_assert(parent != NULL);
191 if (ring_ptr == &parent->children)
192 return NULL;
193
194 return acl_ring_to_appl(ring_ptr, ACL_XML_NODE, node);
195}
196
197ACL_XML_NODE *acl_xml_node_prev(ACL_XML_NODE *node)
198{

Callers 3

parse_xmlFunction · 0.85
test_getElementByIdFunction · 0.85
acl_xml_buildFunction · 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…