From: Guenter Knauf Date: Tue, 27 Oct 2009 18:36:26 +0000 (+0000) Subject: fixed dav_hooks_repository_fs struct member order, fixed comments. X-Git-Tag: 2.3.3~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7c17df337e546332a27625036ecdf296addcf4c;p=apache fixed dav_hooks_repository_fs struct member order, fixed comments. Submitted by brian brianfrance.com. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830284 13f79535-47bb-0310-9956-ffa450edef68 --- 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); };