| 471 | } |
| 472 | |
| 473 | DAV_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 | |
| 484 | DAV_DECLARE(const char *) dav_xmlns_add_uri(dav_xmlns_info *xi, |
| 485 | const char *uri) |
no outgoing calls
no test coverage detected