### move this to dav_util? */
| 1250 | |
| 1251 | /* ### move this to dav_util? */ |
| 1252 | DAV_DECLARE(void) dav_add_response(dav_walk_resource *wres, |
| 1253 | int status, dav_get_props_result *propstats) |
| 1254 | { |
| 1255 | dav_response *resp; |
| 1256 | |
| 1257 | /* just drop some data into an dav_response */ |
| 1258 | resp = apr_pcalloc(wres->pool, sizeof(*resp)); |
| 1259 | resp->href = apr_pstrdup(wres->pool, wres->resource->uri); |
| 1260 | resp->status = status; |
| 1261 | if (propstats) { |
| 1262 | resp->propresult = *propstats; |
| 1263 | } |
| 1264 | |
| 1265 | resp->next = wres->response; |
| 1266 | wres->response = resp; |
| 1267 | } |
| 1268 | |
| 1269 | |
| 1270 | /* handle the DELETE method */ |
no outgoing calls
no test coverage detected