MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / ph_xmlNodeGetNodeByName

Function ph_xmlNodeGetNodeByName

modules/pi_http/http_fnc.c:432–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432xmlNodePtr ph_xmlNodeGetNodeByName(xmlNodePtr node, const char *name)
433{
434 xmlNodePtr cur = node;
435 while (cur) {
436 if(xmlStrcasecmp(cur->name, (const xmlChar*)name)==0)
437 return cur;
438 cur = cur->next;
439 }
440 return NULL;
441}
442
443char *ph_xmlNodeGetNodeContentByName(xmlNodePtr node, const char *name)
444{

Callers 3

ph_getCmdsFunction · 0.85
ph_init_cmdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected