MCPcopy Create free account
hub / github.com/apache/httpd / dav_find_child_ns

Function dav_find_child_ns

modules/dav/main/util.c:347–356  ·  view source on GitHub ↗

find and return the (unique) child with a tagname in the given namespace */

Source from the content-addressed store, hash-verified

345
346/* find and return the (unique) child with a tagname in the given namespace */
347DAV_DECLARE(apr_xml_elem *) dav_find_child_ns(const apr_xml_elem *elem,
348 int ns, const char *tagname)
349{
350 apr_xml_elem *child = elem->first_child;
351
352 for (; child; child = child->next)
353 if (child->ns == ns && !strcmp(child->name, tagname))
354 return child;
355 return NULL;
356}
357
358/* find and return the (unique) child with a given DAV: tagname */
359DAV_DECLARE(apr_xml_elem *) dav_find_child(const apr_xml_elem *elem,

Callers 1

dav_find_childFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected