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

Function acl_xml_reset

lib_acl/src/xml/acl_xml.c:469–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void acl_xml_reset(ACL_XML *xml)
470{
471 acl_htable_reset(xml->id_table, NULL);
472
473 if (xml->dbuf_inner != NULL)
474 acl_dbuf_pool_reset(xml->dbuf_inner, xml->dbuf_keep);
475
476 xml->root = acl_xml_node_alloc(xml);
477 xml->node_cnt = 1;
478 xml->root_cnt = 0;
479 xml->attr_cnt = 0;
480 xml->curr_node = NULL;
481 xml->space = 0;
482}
483
484void acl_xml_foreach_init(ACL_XML *xml, ACL_XML_NODE *node)
485{

Callers 4

parse_xml_benchmarkFunction · 0.85
parse_xml_benchmarkFunction · 0.85
mainFunction · 0.85
resetMethod · 0.85

Calls 3

acl_htable_resetFunction · 0.85
acl_dbuf_pool_resetFunction · 0.85
acl_xml_node_allocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…