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

Function acl_xml2_getElementMeta

lib_acl/src/xml/acl_xml2_util.c:198–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 return attr->node;
197}
198ACL_XML2_NODE *acl_xml2_getElementMeta(ACL_XML2 *xml, const char *tag)
199{
200 ACL_ITER iter;
201 ACL_XML2_NODE *node;
202
203 acl_foreach(iter, xml) {
204 node = (ACL_XML2_NODE*) iter.data;
205 if ((node->flag & ACL_XML2_F_META_QM) == 0 || !node->ltag)
206 continue;
207 if (strcasecmp(tag, node->ltag) == 0)
208 return node;
209 }
210
211 return NULL;
212}
213
214const char *acl_xml2_getEncoding(ACL_XML2 *xml)
215{

Callers 3

test1Function · 0.85
acl_xml2_getEncodingFunction · 0.85
acl_xml2_getTypeFunction · 0.85

Calls 1

acl_foreachFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…