Lines Matching defs:info

48     apr_finfo_t finfo;       /* filesystem info */
224 return resource->info->r;
229 return resource->info->pool;
234 return resource->info->pathname;
242 dav_resource_private *ctx = resource->info;
511 /* get info about the state directory */
715 resource->info = ctx;
733 /* unused info in the URL will indicate a null resource */
775 dav_resource_private *ctx = resource->info;
792 * no path info remains, then we also fail.
816 parent_resource->info = parent_ctx;
842 dav_resource_private *ctx1 = res1->info;
843 dav_resource_private *ctx2 = res2->info;
861 dav_resource_private *ctx1 = res1->info;
862 dav_resource_private *ctx2 = res2->info;
911 apr_pool_t *p = resource->info->pool;
930 ds->pathname = resource->info->pathname;
1053 ap_update_mtime(r, resource->info->finfo.mtime);
1063 ap_set_content_length(r, resource->info->finfo.size);
1093 if ((status = apr_file_open(&fd, resource->info->pathname,
1102 apr_brigade_insert_file(bb, fd, 0, resource->info->finfo.size, pool);
1120 dav_resource_private *ctx = resource->info;
1152 dav_resource_private *srcinfo = wres->resource->info;
1153 dav_resource_private *dstinfo = ctx->res_dst->info;
1230 params.pool = src->info->pool;
1249 return dav_new_error(src->info->pool, HTTP_MULTI_STATUS, 0, 0,
1258 if ((err = dav_fs_copymove_file(is_move, src->info->pool,
1259 src->info->pathname, dst->info->pathname,
1260 &src->info->finfo,
1261 dst->exists ? &dst->info->finfo : NULL,
1268 return dav_fs_copymoveset(is_move, src->info->pool, src, dst, &work_buf);
1285 return dav_new_error(src->info->pool, HTTP_INTERNAL_SERVER_ERROR, 0, 0,
1307 dav_resource_private *srcinfo = src->info;
1308 dav_resource_private *dstinfo = dst->info;
1318 return dav_new_error(src->info->pool, HTTP_INTERNAL_SERVER_ERROR, 0, 0,
1357 if ((err = dav_fs_copymoveset(1, src->info->pool,
1397 dav_resource_private *info = wres->resource->info;
1408 ? apr_dir_remove(info->pathname, wres->pool)
1409 : apr_file_remove(info->pathname, wres->pool);
1433 dav_resource_private *info = resource->info;
1449 params.pool = info->pool;
1460 return dav_new_error(info->pool, HTTP_MULTI_STATUS, 0, 0,
1473 if ((status = apr_file_remove(info->pathname, info->pool)) != APR_SUCCESS) {
1475 return dav_new_error(info->pool, HTTP_FORBIDDEN, 0, status, NULL);
1483 return dav_fs_deleteset(info->pool, resource);
1716 ### info, causing a timeout and the locks would not be
1792 fsctx.res1.info = &fsctx.info1;
1793 fsctx.info1 = *params->root->info;
1814 fsctx.res2.info = &fsctx.info2;
1815 fsctx.info2 = *root_dst->info;
1862 dav_resource_private *ctx = resource->info;
1914 apr_pool_t *p = resource->info->pool;
1915 const dav_liveprop_spec *info;
1941 resource->info->finfo.ctime,
1951 apr_snprintf(buf, sizeof(buf), "%" APR_OFF_T_FMT, resource->info->finfo.size);
1961 resource->info->finfo.mtime,
1972 if (!(resource->info->finfo.valid & APR_FINFO_UPROT))
1976 if (resource->info->finfo.protection & APR_UEXECUTE)
1990 global_ns = dav_get_liveprop_info(propid, &dav_fs_liveprop_group, &info);
1992 /* assert: info != NULL && info->name != NULL */
1998 global_ns, info->name, value, global_ns, info->name);
2001 s = apr_psprintf(p, "<lp%d:%s/>" DEBUG_CR, global_ns, info->name);
2008 info->name, dav_fs_namespace_uris[info->ns]);
2018 const dav_liveprop_spec *info;
2027 (void) dav_get_liveprop_info(propid, &dav_fs_liveprop_group, &info);
2028 return info->is_writable;
2048 return dav_new_error(resource->info->pool, HTTP_CONFLICT, 0, 0,
2063 return dav_new_error(resource->info->pool, HTTP_CONFLICT, 0, 0,
2078 return dav_new_error(resource->info->pool, HTTP_CONFLICT, 0, 0,
2089 return dav_new_error(resource->info->pool, HTTP_CONFLICT, 0, 0,
2103 apr_fileperms_t perms = resource->info->finfo.protection;
2109 /* don't do anything if there is no change. no rollback info either. */
2118 if ((status = apr_file_perms_set(resource->info->pathname, perms))
2120 return dav_new_error(resource->info->pool,
2127 resource->info->finfo.protection = perms;
2146 apr_fileperms_t perms = resource->info->finfo.protection & ~APR_UEXECUTE;
2156 if ((status = apr_file_perms_set(resource->info->pathname, perms))
2158 return dav_new_error(resource->info->pool,
2165 resource->info->finfo.protection = perms;