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

Function dav_xmlns_add

modules/dav/main/util.c:473–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473DAV_DECLARE(void) dav_xmlns_add(dav_xmlns_info *xi,
474 const char *prefix, const char *uri)
475{
476 /* this "should" not overwrite a prefix mapping */
477 apr_hash_set(xi->prefix_uri, prefix, APR_HASH_KEY_STRING, uri);
478
479 /* note: this may overwrite an existing URI->prefix mapping, but it
480 doesn't matter -- any prefix is usable to specify the URI. */
481 apr_hash_set(xi->uri_prefix, uri, APR_HASH_KEY_STRING, prefix);
482}
483
484DAV_DECLARE(const char *) dav_xmlns_add_uri(dav_xmlns_info *xi,
485 const char *uri)

Callers 2

dav_xmlns_add_uriFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected