MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_xml_parser_create

Function my_xml_parser_create

strings/xml.c:493–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491
492
493void my_xml_parser_create(MY_XML_PARSER *p)
494{
495 memset(p, 0, sizeof(p[0]));
496 /*
497 Use static buffer while it's sufficient.
498 */
499 p->attr.start= p->attr.end= p->attr.static_buffer;
500 p->attr.buffer_size= sizeof(p->attr.static_buffer);
501}
502
503
504void my_xml_parser_free(MY_XML_PARSER *p)

Callers 3

my_parse_charset_xmlFunction · 0.85
parse_xmlMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68