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

Function dav_output_prop_name

modules/dav/main/props.c:477–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static void dav_output_prop_name(apr_pool_t *pool,
478 const dav_prop_name *name,
479 dav_xmlns_info *xi,
480 apr_text_header *phdr)
481{
482 const char *s;
483
484 if (*name->ns == '\0')
485 s = apr_pstrcat(pool, "<", name->name, "/>" DEBUG_CR, NULL);
486 else {
487 const char *prefix = dav_xmlns_add_uri(xi, name->ns);
488
489 s = apr_pstrcat(pool, "<", prefix, ":", name->name, "/>" DEBUG_CR, NULL);
490 }
491
492 apr_text_append(pool, phdr, s);
493}
494
495static void dav_insert_xmlns(apr_pool_t *p, const char *pre_prefix, long ns,
496 const char *ns_uri, apr_text_header *phdr)

Callers 2

dav_get_allpropsFunction · 0.85
dav_get_propsFunction · 0.85

Calls 1

dav_xmlns_add_uriFunction · 0.85

Tested by

no test coverage detected