| 508 | } |
| 509 | |
| 510 | DAV_DECLARE(void) dav_xmlns_generate(dav_xmlns_info *xi, |
| 511 | apr_text_header *phdr) |
| 512 | { |
| 513 | apr_hash_index_t *hi = apr_hash_first(xi->pool, xi->prefix_uri); |
| 514 | |
| 515 | for (; hi != NULL; hi = apr_hash_next(hi)) { |
| 516 | const void *prefix; |
| 517 | void *uri; |
| 518 | const char *s; |
| 519 | |
| 520 | apr_hash_this(hi, &prefix, NULL, &uri); |
| 521 | |
| 522 | s = apr_pstrcat(xi->pool, " xmlns:", (const char *)prefix, "=\"", |
| 523 | (const char *)uri, "\"", NULL); |
| 524 | apr_text_append(xi->pool, phdr, s); |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | /* --------------------------------------------------------------- |
| 529 | ** |
no outgoing calls
no test coverage detected