diff options
Diffstat (limited to '')
-rw-r--r-- | modules/dav/fs/repos.c | 6 | ||||
-rw-r--r-- | modules/dav/main/mod_dav.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/dav/fs/repos.c b/modules/dav/fs/repos.c index 97006a68a0..2a6e4c28e1 100644 --- a/modules/dav/fs/repos.c +++ b/modules/dav/fs/repos.c @@ -211,7 +211,7 @@ static dav_error * dav_fs_internal_walk(const dav_walk_params *params, ** ** PRIVATE REPOSITORY FUNCTIONS */ -request_rec *dav_fs_get_request_rec(const dav_resource *resource) +static request_rec *dav_fs_get_request_rec(const dav_resource *resource) { return resource->info->r; } @@ -1823,9 +1823,9 @@ static const dav_hooks_repository dav_hooks_repository_fs = dav_fs_remove_resource, dav_fs_walk, dav_fs_getetag, + NULL, dav_fs_get_request_rec, - dav_fs_pathname, - NULL + dav_fs_pathname }; static dav_prop_insert dav_fs_insert_prop(const dav_resource *resource, diff --git a/modules/dav/main/mod_dav.h b/modules/dav/main/mod_dav.h index 7a402e52e7..59ace41224 100644 --- a/modules/dav/main/mod_dav.h +++ b/modules/dav/main/mod_dav.h @@ -1941,10 +1941,10 @@ struct dav_hooks_repository */ void *ctx; - /* return request record */ + /* Get the request rec for a resource */ request_rec * (*get_request_rec)(const dav_resource *resource); - /* return path */ + /* Get the pathname for a resource */ const char * (*get_pathname)(const dav_resource *resource); }; |