Lines Matching defs:params
55 const dav_walk_params *params;
211 static dav_error * dav_fs_walk(const dav_walk_params *params, int depth,
213 static dav_error * dav_fs_internal_walk(const dav_walk_params *params,
1225 dav_walk_params params = { 0 };
1228 params.walk_type = DAV_WALKTYPE_NORMAL | DAV_WALKTYPE_HIDDEN;
1229 params.func = dav_fs_copymove_walker;
1230 params.pool = src->info->pool;
1231 params.root = src;
1233 /* params.walk_ctx is managed by dav_fs_internal_walk() */
1237 params.walk_type |= DAV_WALKTYPE_POSTFIX;
1241 if ((err = dav_fs_internal_walk(¶ms, depth, is_move, dst,
1441 dav_walk_params params = { 0 };
1445 params.walk_type = (DAV_WALKTYPE_NORMAL
1448 params.func = dav_fs_delete_walker;
1449 params.pool = info->pool;
1450 params.root = resource;
1452 if ((err = dav_fs_walk(¶ms, DAV_INFINITY,
1491 const dav_walk_params *params = fsctx->params;
1492 apr_pool_t *pool = params->pool;
1500 err = (*params->func)(&fsctx->wres,
1550 if (params->walk_type & DAV_WALKTYPE_AUTH) {
1562 if (!(params->walk_type & DAV_WALKTYPE_HIDDEN)
1600 if ((err = (*params->func)(&fsctx->wres,
1649 if (params->walk_type & DAV_WALKTYPE_LOCKNULL) {
1727 if ((err = dav_lock_query(params->lockdb, &fsctx->res1,
1735 (err = (*params->func)(&fsctx->wres,
1748 if (params->walk_type & DAV_WALKTYPE_POSTFIX) {
1759 return (*params->func)(&fsctx->wres, DAV_CALLTYPE_POSTFIX);
1765 static dav_error * dav_fs_internal_walk(const dav_walk_params *params,
1775 if ((params->walk_type & DAV_WALKTYPE_LOCKNULL) != 0
1776 && params->lockdb == NULL) {
1777 return dav_new_error(params->pool, HTTP_INTERNAL_SERVER_ERROR, 0, 0,
1783 fsctx.params = params;
1784 fsctx.wres.walk_ctx = params->walk_ctx;
1785 fsctx.wres.pool = params->pool;
1789 fsctx.res1 = *params->root;
1790 fsctx.res1.pool = params->pool;
1793 fsctx.info1 = *params->root->info;
1796 dav_buffer_init(params->pool, &fsctx.path1, fsctx.info1.pathname);
1805 cm_ctx.root = params->root;
1806 cm_ctx.pool = params->pool;
1812 fsctx.res2.pool = params->pool;
1821 dav_buffer_init(params->pool, &fsctx.path2, fsctx.info2.pathname);
1826 dav_buffer_init(params->pool, &fsctx.uri_buf, params->root->uri);
1849 static dav_error * dav_fs_walk(const dav_walk_params *params, int depth,
1853 return dav_fs_internal_walk(params, depth, 0, NULL, response);