Apache2
Collaboration diagram for mod_dav:

Data Structures

struct  dav_error
 
struct  dav_resource
 
struct  dav_buffer
 
struct  dav_get_props_result
 
struct  dav_response
 
struct  dav_lookup_result
 
struct  dav_xmlns_info
 
struct  dav_provider
 
struct  dav_if_state_list
 
struct  dav_if_header
 
struct  dav_locktoken_list
 
struct  dav_hooks_liveprop
 
struct  dav_liveprop_spec
 
struct  dav_liveprop_group
 
struct  dav_liveprop_elem
 
struct  dav_prop_name
 
struct  dav_hooks_propdb
 
struct  dav_lockdb
 
struct  dav_lock
 
struct  dav_hooks_locks
 
struct  dav_prop_ctx
 
struct  dav_walk_resource
 
struct  dav_walk_params
 
struct  dav_walker_ctx
 
struct  dav_hooks_repository
 
struct  dav_auto_version_info
 
struct  dav_report_elem
 
struct  dav_hooks_vsn
 
struct  dav_hooks_binding
 
struct  dav_hooks_search
 
struct  dav_elem_private
 
struct  dav_acl_provider
 
struct  dav_options_provider
 
struct  dav_resource_type_provider
 

Macros

#define DAV_FS_STATE_DIR   ".DAV"
 
#define DAV_FS_STATE_FILE_FOR_DIR   ".state_for_dir"
 
#define DAV_FS_LOCK_NULL_FILE   ".locknull"
 
#define DAV_VERSION   AP_SERVER_BASEREVISION
 
#define DAV_XML_HEADER   "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
 
#define DAV_XML_CONTENT_TYPE   "text/xml; charset=\"utf-8\""
 
#define DAV_READ_BLOCKSIZE   2048 /* used for reading input blocks */
 
#define DAV_RESPONSE_BODY_1   "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n<html>\n<head>\n<title>"
 
#define DAV_RESPONSE_BODY_2   "</title>\n</head><body>\n<h1>"
 
#define DAV_RESPONSE_BODY_3   "</h1>\n<p>"
 
#define DAV_RESPONSE_BODY_4   "</p>\n"
 
#define DAV_RESPONSE_BODY_5   "</body></html>\n"
 
#define DAV_DO_COPY   0
 
#define DAV_DO_MOVE   1
 
#define DAV_DEBUG   1
 
#define DEBUG_CR   "\n"
 
#define DBG0(f)
 
#define DBG1(f, a1)
 
#define DBG2(f, a1, a2)
 
#define DBG3(f, a1, a2, a3)
 
#define DAV_INFINITY   INT_MAX /* for the Depth: header */
 
#define DAV_DECLARE(type)   type
 
#define DAV_DECLARE_NONSTD(type)   type
 
#define DAV_DECLARE_DATA
 
#define DAV_ERR_IF_PARSE   100 /* general parsing error */
 
#define DAV_ERR_IF_MULTIPLE_NOT   101 /* multiple "Not" found */
 
#define DAV_ERR_IF_UNK_CHAR   102 /* unknown char in header */
 
#define DAV_ERR_IF_ABSENT   103 /* no locktokens given */
 
#define DAV_ERR_IF_TAGGED   104 /* in parsing tagged-list */
 
#define DAV_ERR_IF_UNCLOSED_PAREN   105 /* in no-tagged-list */
 
#define DAV_ERR_PROP_BAD_MAJOR   200 /* major version was wrong */
 
#define DAV_ERR_PROP_READONLY   201 /* prop is read-only */
 
#define DAV_ERR_PROP_NO_DATABASE   202 /* writable db not avail */
 
#define DAV_ERR_PROP_NOT_FOUND   203 /* prop not found */
 
#define DAV_ERR_PROP_BAD_LOCKDB   204 /* could not open lockdb */
 
#define DAV_ERR_PROP_OPENING   205 /* problem opening propdb */
 
#define DAV_ERR_PROP_EXEC   206 /* problem exec'ing patch */
 
#define DAV_ERR_LOCK_OPENDB   400 /* could not open lockdb */
 
#define DAV_ERR_LOCK_NO_DB   401 /* no database defined */
 
#define DAV_ERR_LOCK_CORRUPT_DB   402 /* DB is corrupt */
 
#define DAV_ERR_LOCK_UNK_STATE_TOKEN   403 /* unknown State-token */
 
#define DAV_ERR_LOCK_PARSE_TOKEN   404 /* bad opaquelocktoken */
 
#define DAV_ERR_LOCK_SAVE_LOCK   405 /* err saving locks */
 
#define DAV_BUFFER_MINSIZE   256 /* minimum size for buffer */
 
#define DAV_BUFFER_PAD   64 /* amount of pad when growing */
 
#define DAV_STYLE_ISO8601   1
 
#define DAV_STYLE_RFC822   2
 
#define DAV_TIMEBUF_SIZE   30
 
#define DAV_GET_HOOKS_PROPDB(r)   dav_get_propdb_hooks(r)
 
#define DAV_GET_HOOKS_LOCKS(r)   dav_get_lock_hooks(r)
 
#define DAV_GET_HOOKS_VSN(r)   dav_get_vsn_hooks(r)
 
#define DAV_GET_HOOKS_BINDING(r)   dav_get_binding_hooks(r)
 
#define DAV_GET_HOOKS_SEARCH(r)   dav_get_search_hooks(r)
 
#define DAV_PROPID_CORE   10000 /* ..10099. defined by mod_dav */
 
#define DAV_PROPID_FS
 
#define DAV_PROPID_TEST1   10300 /* ..10399 */
 
#define DAV_PROPID_TEST2   10400 /* ..10499 */
 
#define DAV_PROPID_TEST3   10500 /* ..10599 */
 
#define DAV_TIMEOUT_INFINITE   0
 
#define DAV_VALIDATE_RESOURCE   0x0010 /* validate just the resource */
 
#define DAV_VALIDATE_PARENT   0x0020 /* validate resource AND its parent */
 
#define DAV_VALIDATE_ADD_LD
 
#define DAV_VALIDATE_USE_424   0x0080 /* return 424 status, not 207 */
 
#define DAV_VALIDATE_IS_PARENT   0x0100 /* for internal use */
 
#define DAV_VALIDATE_NO_MODIFY
 
#define DAV_RESOURCE_LOCK_NULL   10 /* resource lock-null */
 
#define DAV_RESOURCE_NULL   11 /* resource null */
 
#define DAV_RESOURCE_EXISTS   12 /* resource exists */
 
#define DAV_RESOURCE_ERROR   13 /* an error occurred */
 
#define DAV_PROP_CTX_HAS_ERR(dpc)   ((dpc).err && (dpc).err->status >= 300)
 
#define DAV_OPTIONS_EXTENSION_GROUP   "dav_options"
 
#define DAV_RESOURCE_TYPE_GROUP   "dav_resource_type"
 

Typedefs

typedef struct dav_error dav_error
 
typedef struct dav_response dav_response
 
typedef struct dav_hooks_propdb dav_hooks_propdb
 
typedef struct dav_hooks_locks dav_hooks_locks
 
typedef struct dav_hooks_vsn dav_hooks_vsn
 
typedef struct dav_hooks_repository dav_hooks_repository
 
typedef struct dav_hooks_liveprop dav_hooks_liveprop
 
typedef struct dav_hooks_binding dav_hooks_binding
 
typedef struct dav_hooks_search dav_hooks_search
 
typedef dav_hooks_propdb dav_hooks_db
 
typedef struct dav_resource_private dav_resource_private
 
typedef struct dav_acl_provider dav_acl_provider
 
typedef struct dav_resource dav_resource
 
typedef struct dav_locktoken dav_locktoken
 
typedef struct dav_if_state_list dav_if_state_list
 
typedef struct dav_if_header dav_if_header
 
typedef struct dav_locktoken_list dav_locktoken_list
 
typedef struct dav_liveprop_rollback dav_liveprop_rollback
 
typedef struct dav_db dav_db
 
typedef struct dav_namespace_map dav_namespace_map
 
typedef struct dav_deadprop_rollback dav_deadprop_rollback
 
typedef struct dav_lockdb_private dav_lockdb_private
 
typedef struct dav_lock_private dav_lock_private
 
typedef struct dav_lock dav_lock
 
typedef struct dav_propdb dav_propdb
 
typedef struct dav_prop_ctx dav_prop_ctx
 
typedef struct dav_walker_ctx dav_walker_ctx
 
typedef struct dav_stream dav_stream
 
typedef struct dav_options_provider dav_options_provider
 
typedef struct dav_resource_type_provider dav_resource_type_provider
 

Enumerations

enum  dav_resource_type {
  DAV_RESOURCE_TYPE_UNKNOWN, DAV_RESOURCE_TYPE_REGULAR, DAV_RESOURCE_TYPE_VERSION, DAV_RESOURCE_TYPE_HISTORY,
  DAV_RESOURCE_TYPE_WORKING, DAV_RESOURCE_TYPE_WORKSPACE, DAV_RESOURCE_TYPE_ACTIVITY, DAV_RESOURCE_TYPE_PRIVATE
}
 
enum  dav_prop_insert {
  DAV_PROP_INSERT_NOTDEF, DAV_PROP_INSERT_NOTSUPP, DAV_PROP_INSERT_NAME, DAV_PROP_INSERT_VALUE,
  DAV_PROP_INSERT_SUPPORTED
}
 
enum  dav_if_state_type { dav_if_etag, dav_if_opaquelock, dav_if_unknown }
 
enum  {
  DAV_PROPID_BEGIN = 20000, DAV_PROPID_creationdate, DAV_PROPID_displayname, DAV_PROPID_getcontentlanguage,
  DAV_PROPID_getcontentlength, DAV_PROPID_getcontenttype, DAV_PROPID_getetag, DAV_PROPID_getlastmodified,
  DAV_PROPID_lockdiscovery, DAV_PROPID_resourcetype, DAV_PROPID_source, DAV_PROPID_supportedlock,
  DAV_PROPID_activity_checkout_set, DAV_PROPID_activity_set, DAV_PROPID_activity_version_set, DAV_PROPID_auto_merge_set,
  DAV_PROPID_auto_version, DAV_PROPID_baseline_collection, DAV_PROPID_baseline_controlled_collection, DAV_PROPID_baseline_controlled_collection_set,
  DAV_PROPID_checked_in, DAV_PROPID_checked_out, DAV_PROPID_checkin_fork, DAV_PROPID_checkout_fork,
  DAV_PROPID_checkout_set, DAV_PROPID_comment, DAV_PROPID_creator_displayname, DAV_PROPID_current_activity_set,
  DAV_PROPID_current_workspace_set, DAV_PROPID_default_variant, DAV_PROPID_eclipsed_set, DAV_PROPID_label_name_set,
  DAV_PROPID_merge_set, DAV_PROPID_precursor_set, DAV_PROPID_predecessor_set, DAV_PROPID_root_version,
  DAV_PROPID_subactivity_set, DAV_PROPID_subbaseline_set, DAV_PROPID_successor_set, DAV_PROPID_supported_method_set,
  DAV_PROPID_supported_live_property_set, DAV_PROPID_supported_report_set, DAV_PROPID_unreserved, DAV_PROPID_variant_set,
  DAV_PROPID_version_controlled_binding_set, DAV_PROPID_version_controlled_configuration, DAV_PROPID_version_history, DAV_PROPID_version_name,
  DAV_PROPID_workspace, DAV_PROPID_workspace_checkout_set, DAV_PROPID_END
}
 
enum  dav_lock_scope { DAV_LOCKSCOPE_UNKNOWN, DAV_LOCKSCOPE_EXCLUSIVE, DAV_LOCKSCOPE_SHARED }
 
enum  dav_lock_type { DAV_LOCKTYPE_UNKNOWN, DAV_LOCKTYPE_WRITE }
 
enum  dav_lock_rectype { DAV_LOCKREC_DIRECT, DAV_LOCKREC_INDIRECT, DAV_LOCKREC_INDIRECT_PARTIAL }
 
enum  { DAV_CALLTYPE_MEMBER = 1, DAV_CALLTYPE_COLLECTION, DAV_CALLTYPE_LOCKNULL }
 
enum  dav_stream_mode { DAV_MODE_WRITE_TRUNC, DAV_MODE_WRITE_SEEKABLE }
 
enum  dav_auto_version { DAV_AUTO_VERSION_NEVER, DAV_AUTO_VERSION_ALWAYS, DAV_AUTO_VERSION_LOCKED }
 

Functions

void dav_fs_ensure_state_dir (apr_pool_t *p, const char *dirname)
 
apr_pool_tdav_fs_pool (const dav_resource *resource)
 
const char * dav_fs_pathname (const dav_resource *resource)
 
dav_errordav_fs_dir_file_name (const dav_resource *resource, const char **dirpath, const char **fname)
 
dav_errordav_fs_get_locknull_members (const dav_resource *resource, dav_buffer *pbuf)
 
dav_errordav_dbm_open_direct (apr_pool_t *p, const char *pathname, int ro, dav_db **pdb)
 
void dav_dbm_get_statefiles (apr_pool_t *p, const char *fname, const char **state1, const char **state2)
 
dav_errordav_dbm_delete (dav_db *db, apr_datum_t key)
 
dav_errordav_dbm_store (dav_db *db, apr_datum_t key, apr_datum_t value)
 
dav_errordav_dbm_fetch (dav_db *db, apr_datum_t key, apr_datum_t *pvalue)
 
void dav_dbm_freedatum (dav_db *db, apr_datum_t data)
 
int dav_dbm_exists (dav_db *db, apr_datum_t key)
 
void dav_dbm_close (dav_db *db)
 
const char * dav_get_lockdb_path (const request_rec *r)
 
const dav_hooks_locksdav_fs_get_lock_hooks (request_rec *r)
 
const dav_hooks_propdbdav_fs_get_propdb_hooks (request_rec *r)
 
void dav_fs_gather_propsets (apr_array_header_t *uris)
 
int dav_fs_find_liveprop (const dav_resource *resource, const char *ns_uri, const char *name, const dav_hooks_liveprop **hooks)
 
void dav_fs_insert_all_liveprops (request_rec *r, const dav_resource *resource, dav_prop_insert what, apr_text_header *phdr)
 
void dav_fs_register (apr_pool_t *p)
 
const char * dav_generic_get_lockdb_path (const request_rec *r)
 
 DAV_DECLARE (dav_error *) dav_new_error(apr_pool_t *p
 
 DAV_DECLARE (int) dav_handle_err(request_rec *r
 
 DAV_DECLARE (void) dav_set_bufsize(apr_pool_t *p
 
 DAV_DECLARE (dav_lookup_result) dav_lookup_uri(const char *uri
 
 DAV_DECLARE (apr_text *) dav_failed_proppatch(apr_pool_t *p
 
 DAV_DECLARE (apr_xml_elem *) dav_find_child(const apr_xml_elem *elem
 
 DAV_DECLARE (apr_xml_attr *) dav_find_attr_ns(const apr_xml_elem *elem
 
 DAV_DECLARE (const char *) dav_xml_get_cdata(const apr_xml_elem *elem
 
 DAV_DECLARE (dav_xmlns_info *) dav_xmlns_create(apr_pool_t *pool)
 
void dav_hook_gather_propsets (apr_array_header_t *uris)
 
int dav_hook_find_liveprop (const dav_resource *resource, const char *ns_uri, const char *name, const dav_hooks_liveprop **hooks)
 
void dav_hook_insert_all_liveprops (request_rec *r, const dav_resource *resource, dav_prop_insert what, apr_text_header *phdr)
 
int dav_hook_deliver_report (request_rec *r, const dav_resource *resource, const apr_xml_doc *doc, ap_filter_t *output, dav_error **err)
 
void dav_hook_gather_reports (request_rec *r, const dav_resource *resource, apr_array_header_t *reports, dav_error **err)
 
int dav_hook_method_precondition (request_rec *r, dav_resource *src, const dav_resource *dst, const apr_xml_doc *doc, dav_error **err)
 
 DAV_DECLARE (const dav_hooks_locks *) dav_get_lock_hooks(request_rec *r)
 
 DAV_DECLARE (const dav_hooks_propdb *) dav_get_propdb_hooks(request_rec *r)
 
 DAV_DECLARE (const dav_hooks_vsn *) dav_get_vsn_hooks(request_rec *r)
 
 DAV_DECLARE (const dav_hooks_binding *) dav_get_binding_hooks(request_rec *r)
 
 DAV_DECLARE (const dav_hooks_search *) dav_get_search_hooks(request_rec *r)
 
 DAV_DECLARE (const dav_provider *) dav_lookup_provider(const char *name)
 
 DAV_DECLARE (long) dav_get_liveprop_info(int propid
 
 DAV_DECLARE (dav_liveprop_elem *) dav_get_liveprop_element(const dav_resource *resource)
 
 DAV_DECLARE_NONSTD (int) dav_core_find_liveprop(const dav_resource *resource
 
 DAV_DECLARE_NONSTD (void) dav_core_insert_all_liveprops(request_rec *r
 
 DAV_DECLARE (time_t) dav_get_timeout(request_rec *r)
 
 DAV_DECLARE (dav_get_props_result) dav_get_props(dav_propdb *db
 
 DAV_DECLARE (const dav_acl_provider *) dav_get_acl_providers(void)
 
 DAV_DECLARE (const dav_options_provider *) dav_get_options_providers(const char *name)
 
 DAV_DECLARE (const dav_resource_type_provider *) dav_get_resource_type_providers(const char *name)
 

Variables

const dav_hooks_db dav_hooks_db_dbm
 
int status
 
int int error_id
 
int int apr_status_t aprerr
 
int int apr_status_t const char * desc
 
namespace const char * tagname
 
int int const char dav_errorprev
 
dav_errorsrc
 
dav_errorerr
 
dav_error dav_responseresponse
 
int label_allowed
 
int int use_checked_in
 
int int dav_resource ** res_p
 
dav_bufferpbuf
 
dav_buffer apr_size_t size
 
dav_buffer const char * str
 
dav_buffer apr_size_t extra_needed
 
dav_buffer const void * mem
 
dav_buffer const void apr_size_t amt
 
dav_buffer const void apr_size_t apr_size_t pad
 
request_recr
 
request_rec int must_be_absolute
 
apr_bucket_brigadebb
 
apr_bucket_brigade request_rec apr_pool_tpool
 
request_rec int apr_array_header_tnamespaces
 
int dav_responsefirst
 
apr_array_header_tprop_ctx
 
int def_depth
 
int ns
 
int const char * attrname
 
apr_pool_t int strip_white
 
const char * prefix
 
const char const char * uri
 
apr_text_headerphdr
 
const char * name
 
const char const dav_providerhooks
 
dav_locktoken_list ** ltl
 
const char const dav_liveprop_groupgroup
 
const dav_liveprop_group const dav_liveprop_spec ** info
 
const char * ns_uri
 
const dav_resourceresource
 
const dav_resource dav_prop_insert what
 
dav_locklocks
 
int ro
 
int dav_lockdb ** lockdb
 
const dav_resource dav_lockdb const apr_xml_docdoc
 
const dav_resource dav_lockdb const apr_xml_doc dav_lock ** lock_request
 
const dav_resource const dav_locktokenlocktoken
 
const dav_resource dav_lockdb dav_lockrequest
 
dav_lockdb const dav_resource int resource_state
 
dav_lockdb const dav_resource int int depth
 
dav_resource int dav_locktoken dav_response int flags
 
dav_lockdb const dav_resource int apr_array_header_tns_xlate
 
dav_lockdb const dav_resource int apr_array_header_t dav_propdb ** propdb
 
const char const char * propname
 
const char const char apr_text_headerbody
 
int dav_get_props_resultpropstats
 
request_recout_req
 
dav_resource int parent_only
 
dav_resource int dav_auto_version_infoav_info
 
dav_resource int undo
 
dav_resource int int unlock
 
const dav_acl_provideracl
 
const char const dav_options_providerprovider
 

Detailed Description

Macro Definition Documentation

◆ DAV_BUFFER_MINSIZE

#define DAV_BUFFER_MINSIZE   256 /* minimum size for buffer */

◆ DAV_BUFFER_PAD

#define DAV_BUFFER_PAD   64 /* amount of pad when growing */

◆ DAV_DEBUG

#define DAV_DEBUG   1

◆ DAV_DECLARE

#define DAV_DECLARE (   type)    type

◆ DAV_DECLARE_DATA

#define DAV_DECLARE_DATA

◆ DAV_DECLARE_NONSTD

#define DAV_DECLARE_NONSTD (   type)    type

◆ DAV_DO_COPY

#define DAV_DO_COPY   0

◆ DAV_DO_MOVE

#define DAV_DO_MOVE   1

◆ DAV_ERR_IF_ABSENT

#define DAV_ERR_IF_ABSENT   103 /* no locktokens given */

◆ DAV_ERR_IF_MULTIPLE_NOT

#define DAV_ERR_IF_MULTIPLE_NOT   101 /* multiple "Not" found */

◆ DAV_ERR_IF_PARSE

#define DAV_ERR_IF_PARSE   100 /* general parsing error */

◆ DAV_ERR_IF_TAGGED

#define DAV_ERR_IF_TAGGED   104 /* in parsing tagged-list */

◆ DAV_ERR_IF_UNCLOSED_PAREN

#define DAV_ERR_IF_UNCLOSED_PAREN   105 /* in no-tagged-list */

◆ DAV_ERR_IF_UNK_CHAR

#define DAV_ERR_IF_UNK_CHAR   102 /* unknown char in header */

◆ DAV_ERR_LOCK_CORRUPT_DB

#define DAV_ERR_LOCK_CORRUPT_DB   402 /* DB is corrupt */

◆ DAV_ERR_LOCK_NO_DB

#define DAV_ERR_LOCK_NO_DB   401 /* no database defined */

◆ DAV_ERR_LOCK_OPENDB

#define DAV_ERR_LOCK_OPENDB   400 /* could not open lockdb */

◆ DAV_ERR_LOCK_PARSE_TOKEN

#define DAV_ERR_LOCK_PARSE_TOKEN   404 /* bad opaquelocktoken */

◆ DAV_ERR_LOCK_SAVE_LOCK

#define DAV_ERR_LOCK_SAVE_LOCK   405 /* err saving locks */

◆ DAV_ERR_LOCK_UNK_STATE_TOKEN

#define DAV_ERR_LOCK_UNK_STATE_TOKEN   403 /* unknown State-token */

◆ DAV_ERR_PROP_BAD_LOCKDB

#define DAV_ERR_PROP_BAD_LOCKDB   204 /* could not open lockdb */

◆ DAV_ERR_PROP_BAD_MAJOR

#define DAV_ERR_PROP_BAD_MAJOR   200 /* major version was wrong */

◆ DAV_ERR_PROP_EXEC

#define DAV_ERR_PROP_EXEC   206 /* problem exec'ing patch */

◆ DAV_ERR_PROP_NO_DATABASE

#define DAV_ERR_PROP_NO_DATABASE   202 /* writable db not avail */

◆ DAV_ERR_PROP_NOT_FOUND

#define DAV_ERR_PROP_NOT_FOUND   203 /* prop not found */

◆ DAV_ERR_PROP_OPENING

#define DAV_ERR_PROP_OPENING   205 /* problem opening propdb */

◆ DAV_ERR_PROP_READONLY

#define DAV_ERR_PROP_READONLY   201 /* prop is read-only */

◆ DAV_FS_LOCK_NULL_FILE

#define DAV_FS_LOCK_NULL_FILE   ".locknull"

◆ DAV_FS_STATE_DIR

#define DAV_FS_STATE_DIR   ".DAV"

◆ DAV_FS_STATE_FILE_FOR_DIR

#define DAV_FS_STATE_FILE_FOR_DIR   ".state_for_dir"

◆ DAV_GET_HOOKS_BINDING

#define DAV_GET_HOOKS_BINDING (   r)    dav_get_binding_hooks(r)

◆ DAV_GET_HOOKS_LOCKS

#define DAV_GET_HOOKS_LOCKS (   r)    dav_get_lock_hooks(r)

◆ DAV_GET_HOOKS_PROPDB

#define DAV_GET_HOOKS_PROPDB (   r)    dav_get_propdb_hooks(r)

◆ DAV_GET_HOOKS_SEARCH

#define DAV_GET_HOOKS_SEARCH (   r)    dav_get_search_hooks(r)

◆ DAV_GET_HOOKS_VSN

#define DAV_GET_HOOKS_VSN (   r)    dav_get_vsn_hooks(r)

◆ DAV_INFINITY

#define DAV_INFINITY   INT_MAX /* for the Depth: header */

◆ DAV_OPTIONS_EXTENSION_GROUP

#define DAV_OPTIONS_EXTENSION_GROUP   "dav_options"

◆ DAV_PROP_CTX_HAS_ERR

#define DAV_PROP_CTX_HAS_ERR (   dpc)    ((dpc).err && (dpc).err->status >= 300)

◆ DAV_PROPID_CORE

#define DAV_PROPID_CORE   10000 /* ..10099. defined by mod_dav */

◆ DAV_PROPID_FS

#define DAV_PROPID_FS
Value:
10100 /* ..10299.
mod_dav filesystem provider. */

◆ DAV_PROPID_TEST1

#define DAV_PROPID_TEST1   10300 /* ..10399 */

◆ DAV_PROPID_TEST2

#define DAV_PROPID_TEST2   10400 /* ..10499 */

◆ DAV_PROPID_TEST3

#define DAV_PROPID_TEST3   10500 /* ..10599 */

◆ DAV_READ_BLOCKSIZE

#define DAV_READ_BLOCKSIZE   2048 /* used for reading input blocks */

◆ DAV_RESOURCE_ERROR

#define DAV_RESOURCE_ERROR   13 /* an error occurred */

◆ DAV_RESOURCE_EXISTS

#define DAV_RESOURCE_EXISTS   12 /* resource exists */

◆ DAV_RESOURCE_LOCK_NULL

#define DAV_RESOURCE_LOCK_NULL   10 /* resource lock-null */

◆ DAV_RESOURCE_NULL

#define DAV_RESOURCE_NULL   11 /* resource null */

◆ DAV_RESOURCE_TYPE_GROUP

#define DAV_RESOURCE_TYPE_GROUP   "dav_resource_type"

◆ DAV_RESPONSE_BODY_1

#define DAV_RESPONSE_BODY_1   "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n<html>\n<head>\n<title>"

◆ DAV_RESPONSE_BODY_2

#define DAV_RESPONSE_BODY_2   "</title>\n</head><body>\n<h1>"

◆ DAV_RESPONSE_BODY_3

#define DAV_RESPONSE_BODY_3   "</h1>\n<p>"

◆ DAV_RESPONSE_BODY_4

#define DAV_RESPONSE_BODY_4   "</p>\n"

◆ DAV_RESPONSE_BODY_5

#define DAV_RESPONSE_BODY_5   "</body></html>\n"

◆ DAV_STYLE_ISO8601

#define DAV_STYLE_ISO8601   1

◆ DAV_STYLE_RFC822

#define DAV_STYLE_RFC822   2

◆ DAV_TIMEBUF_SIZE

#define DAV_TIMEBUF_SIZE   30

◆ DAV_TIMEOUT_INFINITE

#define DAV_TIMEOUT_INFINITE   0

◆ DAV_VALIDATE_ADD_LD

#define DAV_VALIDATE_ADD_LD
Value:
0x0040 /* add DAV:lockdiscovery into
the 424 DAV:response */

◆ DAV_VALIDATE_IS_PARENT

#define DAV_VALIDATE_IS_PARENT   0x0100 /* for internal use */

◆ DAV_VALIDATE_NO_MODIFY

#define DAV_VALIDATE_NO_MODIFY
Value:
0x0200 /* resource is not being modified
so allow even if lock token
is not provided */

◆ DAV_VALIDATE_PARENT

#define DAV_VALIDATE_PARENT   0x0020 /* validate resource AND its parent */

◆ DAV_VALIDATE_RESOURCE

#define DAV_VALIDATE_RESOURCE   0x0010 /* validate just the resource */

◆ DAV_VALIDATE_USE_424

#define DAV_VALIDATE_USE_424   0x0080 /* return 424 status, not 207 */

◆ DAV_VERSION

#define DAV_VERSION   AP_SERVER_BASEREVISION

◆ DAV_XML_CONTENT_TYPE

#define DAV_XML_CONTENT_TYPE   "text/xml; charset=\"utf-8\""

◆ DAV_XML_HEADER

#define DAV_XML_HEADER   "<?xml version=\"1.0\" encoding=\"utf-8\"?>"

◆ DBG0

#define DBG0 (   f)
Value:
APLOG_ERR, 0, NULL, (f))

◆ DBG1

#define DBG1 (   f,
  a1 
)
Value:
APLOG_ERR, 0, NULL, f, a1)

◆ DBG2

#define DBG2 (   f,
  a1,
  a2 
)
Value:
APLOG_ERR, 0, NULL, f, a1, a2)

◆ DBG3

#define DBG3 (   f,
  a1,
  a2,
  a3 
)
Value:
APLOG_ERR, 0, NULL, f, a1, a2, a3)

◆ DEBUG_CR

#define DEBUG_CR   "\n"

Typedef Documentation

◆ dav_acl_provider

◆ dav_db

typedef struct dav_db dav_db

◆ dav_deadprop_rollback

◆ dav_error

typedef struct dav_error dav_error

◆ dav_hooks_binding

◆ dav_hooks_db

◆ dav_hooks_liveprop

◆ dav_hooks_locks

◆ dav_hooks_propdb

◆ dav_hooks_repository

◆ dav_hooks_search

◆ dav_hooks_vsn

typedef struct dav_hooks_vsn dav_hooks_vsn

◆ dav_if_header

typedef struct dav_if_header dav_if_header

◆ dav_if_state_list

◆ dav_liveprop_rollback

◆ dav_lock

typedef struct dav_lock dav_lock

◆ dav_lock_private

◆ dav_lockdb_private

◆ dav_locktoken

typedef struct dav_locktoken dav_locktoken

◆ dav_locktoken_list

◆ dav_namespace_map

◆ dav_options_provider

◆ dav_prop_ctx

typedef struct dav_prop_ctx dav_prop_ctx

◆ dav_propdb

typedef struct dav_propdb dav_propdb

◆ dav_resource

typedef struct dav_resource dav_resource

◆ dav_resource_private

◆ dav_resource_type_provider

◆ dav_response

typedef struct dav_response dav_response

◆ dav_stream

typedef struct dav_stream dav_stream

◆ dav_walker_ctx

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DAV_PROPID_BEGIN 
DAV_PROPID_creationdate 
DAV_PROPID_displayname 
DAV_PROPID_getcontentlanguage 
DAV_PROPID_getcontentlength 
DAV_PROPID_getcontenttype 
DAV_PROPID_getetag 
DAV_PROPID_getlastmodified 
DAV_PROPID_lockdiscovery 
DAV_PROPID_resourcetype 
DAV_PROPID_source 
DAV_PROPID_supportedlock 
DAV_PROPID_activity_checkout_set 
DAV_PROPID_activity_set 
DAV_PROPID_activity_version_set 
DAV_PROPID_auto_merge_set 
DAV_PROPID_auto_version 
DAV_PROPID_baseline_collection 
DAV_PROPID_baseline_controlled_collection 
DAV_PROPID_baseline_controlled_collection_set 
DAV_PROPID_checked_in 
DAV_PROPID_checked_out 
DAV_PROPID_checkin_fork 
DAV_PROPID_checkout_fork 
DAV_PROPID_checkout_set 
DAV_PROPID_comment 
DAV_PROPID_creator_displayname 
DAV_PROPID_current_activity_set 
DAV_PROPID_current_workspace_set 
DAV_PROPID_default_variant 
DAV_PROPID_eclipsed_set 
DAV_PROPID_label_name_set 
DAV_PROPID_merge_set 
DAV_PROPID_precursor_set 
DAV_PROPID_predecessor_set 
DAV_PROPID_root_version 
DAV_PROPID_subactivity_set 
DAV_PROPID_subbaseline_set 
DAV_PROPID_successor_set 
DAV_PROPID_supported_method_set 
DAV_PROPID_supported_live_property_set 
DAV_PROPID_supported_report_set 
DAV_PROPID_unreserved 
DAV_PROPID_variant_set 
DAV_PROPID_version_controlled_binding_set 
DAV_PROPID_version_controlled_configuration 
DAV_PROPID_version_history 
DAV_PROPID_version_name 
DAV_PROPID_workspace 
DAV_PROPID_workspace_checkout_set 
DAV_PROPID_END 

◆ anonymous enum

anonymous enum
Enumerator
DAV_CALLTYPE_MEMBER 
DAV_CALLTYPE_COLLECTION 
DAV_CALLTYPE_LOCKNULL 

◆ dav_auto_version

Enumerator
DAV_AUTO_VERSION_NEVER 
DAV_AUTO_VERSION_ALWAYS 
DAV_AUTO_VERSION_LOCKED 

◆ dav_if_state_type

Enumerator
dav_if_etag 
dav_if_opaquelock 
dav_if_unknown 

◆ dav_lock_rectype

Enumerator
DAV_LOCKREC_DIRECT 
DAV_LOCKREC_INDIRECT 
DAV_LOCKREC_INDIRECT_PARTIAL 

◆ dav_lock_scope

Enumerator
DAV_LOCKSCOPE_UNKNOWN 
DAV_LOCKSCOPE_EXCLUSIVE 
DAV_LOCKSCOPE_SHARED 

◆ dav_lock_type

Enumerator
DAV_LOCKTYPE_UNKNOWN 
DAV_LOCKTYPE_WRITE 

◆ dav_prop_insert

Enumerator
DAV_PROP_INSERT_NOTDEF 
DAV_PROP_INSERT_NOTSUPP 
DAV_PROP_INSERT_NAME 
DAV_PROP_INSERT_VALUE 
DAV_PROP_INSERT_SUPPORTED 

◆ dav_resource_type

Enumerator
DAV_RESOURCE_TYPE_UNKNOWN 
DAV_RESOURCE_TYPE_REGULAR 
DAV_RESOURCE_TYPE_VERSION 
DAV_RESOURCE_TYPE_HISTORY 
DAV_RESOURCE_TYPE_WORKING 
DAV_RESOURCE_TYPE_WORKSPACE 
DAV_RESOURCE_TYPE_ACTIVITY 
DAV_RESOURCE_TYPE_PRIVATE 

◆ dav_stream_mode

Enumerator
DAV_MODE_WRITE_TRUNC 
DAV_MODE_WRITE_SEEKABLE 

Function Documentation

◆ dav_dbm_close()

void dav_dbm_close ( dav_db db)

◆ dav_dbm_delete()

dav_error* dav_dbm_delete ( dav_db db,
apr_datum_t  key 
)

◆ dav_dbm_exists()

int dav_dbm_exists ( dav_db db,
apr_datum_t  key 
)

◆ dav_dbm_fetch()

dav_error* dav_dbm_fetch ( dav_db db,
apr_datum_t  key,
apr_datum_t pvalue 
)

◆ dav_dbm_freedatum()

void dav_dbm_freedatum ( dav_db db,
apr_datum_t  data 
)

◆ dav_dbm_get_statefiles()

void dav_dbm_get_statefiles ( apr_pool_t p,
const char *  fname,
const char **  state1,
const char **  state2 
)

◆ dav_dbm_open_direct()

dav_error* dav_dbm_open_direct ( apr_pool_t p,
const char *  pathname,
int  ro,
dav_db **  pdb 
)

◆ dav_dbm_store()

dav_error* dav_dbm_store ( dav_db db,
apr_datum_t  key,
apr_datum_t  value 
)

◆ DAV_DECLARE() [1/22]

DAV_DECLARE ( apr_text )

◆ DAV_DECLARE() [2/22]

DAV_DECLARE ( apr_xml_attr ) const

◆ DAV_DECLARE() [3/22]

DAV_DECLARE ( apr_xml_elem ) const

◆ DAV_DECLARE() [4/22]

DAV_DECLARE ( const char *  ) const

◆ DAV_DECLARE() [5/22]

DAV_DECLARE ( const dav_acl_provider )

◆ DAV_DECLARE() [6/22]

DAV_DECLARE ( const dav_hooks_binding )

◆ DAV_DECLARE() [7/22]

DAV_DECLARE ( const dav_hooks_locks )

◆ DAV_DECLARE() [8/22]

DAV_DECLARE ( const dav_hooks_propdb )

◆ DAV_DECLARE() [9/22]

DAV_DECLARE ( const dav_hooks_search )

◆ DAV_DECLARE() [10/22]

DAV_DECLARE ( const dav_hooks_vsn )

◆ DAV_DECLARE() [11/22]

DAV_DECLARE ( const dav_options_provider ) const

◆ DAV_DECLARE() [12/22]

DAV_DECLARE ( const dav_provider ) const

◆ DAV_DECLARE() [13/22]

DAV_DECLARE ( const dav_resource_type_provider ) const

◆ DAV_DECLARE() [14/22]

DAV_DECLARE ( dav_error )

◆ DAV_DECLARE() [15/22]

DAV_DECLARE ( dav_get_props_result  )

◆ DAV_DECLARE() [16/22]

DAV_DECLARE ( dav_liveprop_elem ) const

◆ DAV_DECLARE() [17/22]

DAV_DECLARE ( dav_lookup_result  ) const

◆ DAV_DECLARE() [18/22]

DAV_DECLARE ( dav_xmlns_info )

◆ DAV_DECLARE() [19/22]

DAV_DECLARE ( int  )

◆ DAV_DECLARE() [20/22]

DAV_DECLARE ( long  )

◆ DAV_DECLARE() [21/22]

DAV_DECLARE ( time_t  )

◆ DAV_DECLARE() [22/22]

DAV_DECLARE ( void  )

◆ DAV_DECLARE_NONSTD() [1/2]

DAV_DECLARE_NONSTD ( int  ) const

◆ DAV_DECLARE_NONSTD() [2/2]

DAV_DECLARE_NONSTD ( void  )

◆ dav_fs_dir_file_name()

dav_error* dav_fs_dir_file_name ( const dav_resource resource,
const char **  dirpath,
const char **  fname 
)

◆ dav_fs_ensure_state_dir()

void dav_fs_ensure_state_dir ( apr_pool_t p,
const char *  dirname 
)

◆ dav_fs_find_liveprop()

int dav_fs_find_liveprop ( const dav_resource resource,
const char *  ns_uri,
const char *  name,
const dav_hooks_liveprop **  hooks 
)

◆ dav_fs_gather_propsets()

void dav_fs_gather_propsets ( apr_array_header_t uris)

◆ dav_fs_get_lock_hooks()

const dav_hooks_locks* dav_fs_get_lock_hooks ( request_rec r)

◆ dav_fs_get_locknull_members()

dav_error* dav_fs_get_locknull_members ( const dav_resource resource,
dav_buffer pbuf 
)

◆ dav_fs_get_propdb_hooks()

const dav_hooks_propdb* dav_fs_get_propdb_hooks ( request_rec r)

◆ dav_fs_insert_all_liveprops()

void dav_fs_insert_all_liveprops ( request_rec r,
const dav_resource resource,
dav_prop_insert  what,
apr_text_header phdr 
)

◆ dav_fs_pathname()

const char* dav_fs_pathname ( const dav_resource resource)

◆ dav_fs_pool()

apr_pool_t* dav_fs_pool ( const dav_resource resource)

◆ dav_fs_register()

void dav_fs_register ( apr_pool_t p)

◆ dav_generic_get_lockdb_path()

const char* dav_generic_get_lockdb_path ( const request_rec r)

◆ dav_get_lockdb_path()

const char* dav_get_lockdb_path ( const request_rec r)

◆ dav_hook_deliver_report()

int dav_hook_deliver_report ( request_rec r,
const dav_resource resource,
const apr_xml_doc doc,
ap_filter_t output,
dav_error **  err 
)

◆ dav_hook_find_liveprop()

int dav_hook_find_liveprop ( const dav_resource resource,
const char *  ns_uri,
const char *  name,
const dav_hooks_liveprop **  hooks 
)

◆ dav_hook_gather_propsets()

void dav_hook_gather_propsets ( apr_array_header_t uris)

◆ dav_hook_gather_reports()

void dav_hook_gather_reports ( request_rec r,
const dav_resource resource,
apr_array_header_t reports,
dav_error **  err 
)

◆ dav_hook_insert_all_liveprops()

void dav_hook_insert_all_liveprops ( request_rec r,
const dav_resource resource,
dav_prop_insert  what,
apr_text_header phdr 
)

◆ dav_hook_method_precondition()

int dav_hook_method_precondition ( request_rec r,
dav_resource src,
const dav_resource dst,
const apr_xml_doc doc,
dav_error **  err 
)

Variable Documentation

◆ acl

const dav_acl_provider* acl

◆ amt

dav_buffer const void apr_size_t amt

◆ aprerr

◆ attrname

const char * attrname

◆ av_info

◆ bb

◆ body

const char const char apr_text_header* body

◆ dav_hooks_db_dbm

const dav_hooks_db dav_hooks_db_dbm

◆ def_depth

int def_depth

◆ depth

◆ desc

int int const char * desc

◆ doc

apr_xml_doc * doc

◆ err

dav_error* err

◆ error_id

int int error_id

◆ extra_needed

dav_buffer apr_size_t extra_needed

◆ first

int dav_response* first

◆ flags

◆ group

const dav_liveprop_group * group

◆ hooks

const char const char const dav_hooks_liveprop ** hooks

◆ info

◆ label_allowed

int label_allowed

◆ lock_request

const dav_resource dav_lockdb const apr_xml_doc dav_lock** lock_request

◆ lockdb

◆ locks

const dav_resource dav_lock ** locks

◆ locktoken

◆ ltl

◆ mem

dav_buffer const void* mem

◆ must_be_absolute

request_rec int must_be_absolute

◆ name

const char * name

◆ namespaces

◆ ns

int ns

◆ ns_uri

const char * ns_uri

◆ ns_xlate

◆ out_req

request_rec* out_req

◆ pad

◆ parent_only

dav_resource int parent_only

◆ pbuf

◆ phdr

◆ pool

apr_pool_t * pool

◆ prefix

const char * prefix

◆ prev

int int const char dav_error* prev

◆ prop_ctx

apr_array_header_t * prop_ctx

◆ propdb

◆ propname

const char const char* propname

◆ propstats

◆ provider

const char const dav_resource_type_provider * provider

◆ r

◆ request

◆ res_p

int int dav_resource** res_p

◆ resource

dav_resource * resource

◆ resource_state

dav_lockdb const dav_resource int resource_state

◆ response

◆ ro

◆ size

◆ src

dav_error* src

◆ status

int status

◆ str

dav_buffer const char * str

◆ strip_white

apr_pool_t int strip_white

◆ tagname

int const char * tagname

◆ undo

◆ unlock

◆ uri

const char * uri

◆ use_checked_in

int int use_checked_in

◆ what

APLOG_MARK
#define APLOG_MARK
Definition: http_log.h:283
APLOG_ERR
#define APLOG_ERR
Definition: http_log.h:46
ap_log_error
void ap_log_error(const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const char *fmt,...)