Apache2
|
DAV extension module for Apache 2.0.*. More...
#include "apr_hooks.h"
#include "apr_hash.h"
#include "apr_dbm.h"
#include "apr_tables.h"
#include "httpd.h"
#include "util_filter.h"
#include "util_xml.h"
#include <limits.h>
#include <time.h>
Go to the source code of this file.
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_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_IF_COND_NORMAL 0 |
#define | DAV_IF_COND_NOT 1 /* "Not" was applied */ |
#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_GETLOCKS_RESOLVED 0 /* resolve indirects to directs */ |
#define | DAV_GETLOCKS_PARTIAL 1 /* leave indirects partially filled */ |
#define | DAV_GETLOCKS_COMPLETE 2 /* fill out indirect locks */ |
#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_PROPDB_NONE 0 |
#define | DAV_PROPDB_RO 1 |
#define | DAV_PROPDB_DISABLE_LOCKDISCOVERY 2 |
#define | DAV_PROP_OP_SET 1 /* set a property value */ |
#define | DAV_PROP_OP_DELETE 2 /* delete a prop value */ |
#define | DAV_PROP_CTX_HAS_ERR(dpc) ((dpc).err && (dpc).err->status >= 300) |
#define | DAV_WALKTYPE_AUTH 0x0001 /* limit to authorized files */ |
#define | DAV_WALKTYPE_NORMAL 0x0002 /* walk normal files */ |
#define | DAV_WALKTYPE_LOCKNULL 0x0004 /* walk locknull resources */ |
#define | DAV_WALKTYPE_TOLERANT 0x0008 /* tolerate non-fatal errors */ |
#define | DAV_PROPFIND_IS_ALLPROP 1 |
#define | DAV_PROPFIND_IS_PROPNAME 2 |
#define | DAV_PROPFIND_IS_PROP 3 |
#define | DAV_OPTIONS_EXTENSION_GROUP "dav_options" |
#define | DAV_RESOURCE_TYPE_GROUP "dav_resource_type" |
DAV extension module for Apache 2.0.*.
#define DAV_GETLOCKS_COMPLETE 2 /* fill out indirect locks */ |
#define DAV_GETLOCKS_PARTIAL 1 /* leave indirects partially filled */ |
#define DAV_GETLOCKS_RESOLVED 0 /* resolve indirects to directs */ |
#define DAV_IF_COND_NORMAL 0 |
#define DAV_IF_COND_NOT 1 /* "Not" was applied */ |
#define DAV_PROP_OP_DELETE 2 /* delete a prop value */ |
#define DAV_PROP_OP_SET 1 /* set a property value */ |
#define DAV_PROPFIND_IS_ALLPROP 1 |
#define DAV_PROPFIND_IS_PROP 3 |
#define DAV_PROPFIND_IS_PROPNAME 2 |
#define DAV_WALKTYPE_AUTH 0x0001 /* limit to authorized files */ |
#define DAV_WALKTYPE_LOCKNULL 0x0004 /* walk locknull resources */ |
#define DAV_WALKTYPE_NORMAL 0x0002 /* walk normal files */ |
#define DAV_WALKTYPE_TOLERANT 0x0008 /* tolerate non-fatal errors */ |