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

Function dav_validate_root

modules/dav/main/util.c:328–332  ·  view source on GitHub ↗

validate that the root element uses a given DAV: tagname (TRUE==valid) */

Source from the content-addressed store, hash-verified

326
327/* validate that the root element uses a given DAV: tagname (TRUE==valid) */
328DAV_DECLARE(int) dav_validate_root(const apr_xml_doc *doc,
329 const char *tagname)
330{
331 return dav_validate_root_ns(doc, APR_XML_NS_DAV_ID, tagname);
332}
333
334/* find and return the next child with a tagname in the given namespace */
335DAV_DECLARE(apr_xml_elem *) dav_find_next_ns(const apr_xml_elem *elem,

Callers 11

dav_method_optionsFunction · 0.85
dav_method_propfindFunction · 0.85
dav_method_proppatchFunction · 0.85
dav_method_vsn_controlFunction · 0.85
dav_method_checkoutFunction · 0.85
dav_method_checkinFunction · 0.85
dav_method_updateFunction · 0.85
dav_method_labelFunction · 0.85
dav_method_mergeFunction · 0.85
dav_lock_parse_lockinfoFunction · 0.85

Calls 1

dav_validate_root_nsFunction · 0.85

Tested by

no test coverage detected