add_if_resource returns a new if_header, linking it to next_ih. */
| 581 | /* add_if_resource returns a new if_header, linking it to next_ih. |
| 582 | */ |
| 583 | static 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 | */ |
no outgoing calls
no test coverage detected