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

Function escape_append

lib_acl/src/xml/acl_xml_util.c:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293static void escape_append(ACL_VSTRING *buf, const char *src, ACL_XML *xml)
294{
295 if (src && *src) {
296 if ((xml->flag & ACL_XML_FLAG_XML_ENCODE) != 0)
297 acl_xml_encode(src, buf);
298 else
299 acl_vstring_strcat(buf, src);
300 }
301}
302
303/***************************************************************************/
304

Callers 1

acl_xml_node_add_textFunction · 0.70

Calls 2

acl_xml_encodeFunction · 0.85
acl_vstring_strcatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…