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

Function dav_add_if_resource

modules/dav/main/util.c:583–596  ·  view source on GitHub ↗

add_if_resource returns a new if_header, linking it to next_ih. */

Source from the content-addressed store, hash-verified

581/* add_if_resource returns a new if_header, linking it to next_ih.
582 */
583static dav_if_header *dav_add_if_resource(apr_pool_t *p, dav_if_header *next_ih,
584 const char *uri, apr_size_t uri_len)
585{
586 dav_if_header *ih;
587
588 if ((ih = apr_pcalloc(p, sizeof(*ih))) == NULL)
589 return NULL;
590
591 ih->uri = uri;
592 ih->uri_len = uri_len;
593 ih->next = next_ih;
594
595 return ih;
596}
597
598/* add_if_state adds a condition to an if_header.
599 */

Callers 1

dav_process_if_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected