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

Function escape_append

lib_acl/src/xml/acl_xml2_util.c:284–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282#define NO_SPACE(x) acl_vbuf_eof(&((x)->vbuf))
283
284static void escape_append(ACL_VSTRING *vbuf, const char *in,
285 const ACL_XML2 *xml)
286{
287 if (in && *in) {
288 if ((xml->flag & ACL_XML2_FLAG_XML_ENCODE) != 0)
289 acl_xml_encode(in, vbuf);
290 else
291 APPEND(vbuf, in);
292 }
293}
294
295/***************************************************************************/
296

Callers 5

acl_xml2_node_set_textFunction · 0.70
acl_xml2_node_add_textFunction · 0.70
acl_xml2_node_add_attrFunction · 0.70
acl_xml2_addElementAttrFunction · 0.70

Calls 1

acl_xml_encodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…