diff options
author | Greg Stein <gstein@apache.org> | 2000-09-10 01:23:42 +0200 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2000-09-10 01:23:42 +0200 |
commit | d6c84c70fe3c9e98dbf31f320958c2ecb8470987 (patch) | |
tree | 691ad0e6bf5d71f643a97d25b45cfc4721e82da0 /modules/dav/fs/repos.h | |
parent | the DAV directive now takes the name of a repository provider (diff) | |
download | apache2-d6c84c70fe3c9e98dbf31f320958c2ecb8470987.tar.xz apache2-d6c84c70fe3c9e98dbf31f320958c2ecb8470987.zip |
The "get resource" functionality is no longer a hook. Instead, providers
register themselves by name with mod_dav. The user configures a particular
provider for a location/directory. mod_dav looks up that provider and uses
it explicitly. (the prior behavior simply asked "anybody" to satisfy the
get_resource, but it did not mesh well with user-specified providers)
*) add providers.c to deal with provider registration
*) rejigger mod_dav.c to toss the hook and use the provider
*) clean out dav/fs/ of the old scheme and have it register itself
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86195 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav/fs/repos.h')
-rw-r--r-- | modules/dav/fs/repos.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/dav/fs/repos.h b/modules/dav/fs/repos.h index a580487748..43ab9422fe 100644 --- a/modules/dav/fs/repos.h +++ b/modules/dav/fs/repos.h @@ -95,8 +95,6 @@ void dav_dbm_get_statefiles(apr_pool_t *p, const char *fname, /* where is the lock database located? */ const char *dav_get_lockdb_path(const request_rec *r); -int dav_fs_hook_get_resource(request_rec *r, const char *root_dir, - const char *workspace); const dav_hooks_locks *dav_fs_get_lock_hooks(request_rec *r); const dav_hooks_propdb *dav_fs_get_propdb_hooks(request_rec *r); @@ -106,6 +104,6 @@ int dav_fs_find_liveprop(request_rec *r, const char *ns_uri, const char *name, void dav_fs_insert_all_liveprops(request_rec *r, const dav_resource *resource, int insvalue, ap_text_header *phdr); -void dav_fs_register_uris(apr_pool_t *p); +void dav_fs_register(apr_pool_t *p); #endif /* _DAV_FS_REPOS_H_ */ |