Lines Matching defs:wres
58 dav_walk_resource wres;
1147 static dav_error * dav_fs_copymove_walker(dav_walk_resource *wres,
1151 dav_fs_copymove_walk_ctx *ctx = wres->walk_ctx;
1152 dav_resource_private *srcinfo = wres->resource->info;
1156 if (wres->resource->collection) {
1198 || !dav_fs_is_same_resource(wres->resource, ctx->root))) {
1200 dav_add_response(wres, err->status, NULL);
1395 static dav_error * dav_fs_delete_walker(dav_walk_resource *wres, int calltype)
1397 dav_resource_private *info = wres->resource->info;
1402 if (wres->resource->exists &&
1403 (!wres->resource->collection || calltype == DAV_CALLTYPE_POSTFIX)) {
1407 result = wres->resource->collection
1408 ? apr_dir_remove(info->pathname, wres->pool)
1409 : apr_file_remove(info->pathname, wres->pool);
1422 dav_add_response(wres, HTTP_FORBIDDEN, NULL);
1500 err = (*params->func)(&fsctx->wres,
1600 if ((err = (*params->func)(&fsctx->wres,
1735 (err = (*params->func)(&fsctx->wres,
1759 return (*params->func)(&fsctx->wres, DAV_CALLTYPE_POSTFIX);
1784 fsctx.wres.walk_ctx = params->walk_ctx;
1785 fsctx.wres.pool = params->pool;
1802 fsctx.wres.walk_ctx = &cm_ctx;
1841 fsctx.wres.resource = &fsctx.res1;
1845 *response = fsctx.wres.response;