repos.h revision 3d81f57512275ca06a60a9bcbd23c1f8b429fdf2
/* Copyright 2000-2006 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file repos.h
* @brief Declarations for the filesystem repository implementation
*
* @addtogroup MOD_DAV
* @{
*/
#ifndef _DAV_FS_REPOS_H_
#define _DAV_FS_REPOS_H_
/* the subdirectory to hold all DAV-related information for a directory */
#define DAV_FS_STATE_DIR ".DAV"
#define DAV_FS_STATE_FILE_FOR_DIR ".state_for_dir"
#define DAV_FS_LOCK_NULL_FILE ".locknull"
/* ensure that our state subdirectory is present */
/* return the storage pool associated with a resource */
/* return the full pathname for a resource */
/* return the directory and filename for a resource */
const char **dirpath,
const char **fname);
/* return the list of locknull members in this resource's directory */
dav_buffer *pbuf);
/* DBM functions used by the repository and locking providers */
extern const dav_hooks_db dav_hooks_db_dbm;
/* where is the lock database located? */
const char *dav_get_lockdb_path(const request_rec *r);
const dav_hooks_liveprop **hooks);
void dav_fs_register(apr_pool_t *p);
#endif /* _DAV_FS_REPOS_H_ */
/** @} */