summaryrefslogtreecommitdiffstats
path: root/modules/dav/main/mod_dav.h
diff options
context:
space:
mode:
authormanu <manu@unknown>2023-02-13 17:48:35 +0100
committermanu <manu@unknown>2023-02-13 17:48:35 +0100
commitbed50350e49fd6bde43458c9d71db5853c8abd88 (patch)
tree1efd61b576b4b1ef114a319ed19ffaa3cef33ab1 /modules/dav/main/mod_dav.h
parent* Optimize code: We know that we already have a valid encoding string, (diff)
downloadapache2-bed50350e49fd6bde43458c9d71db5853c8abd88.tar.xz
apache2-bed50350e49fd6bde43458c9d71db5853c8abd88.zip
Add MS-WDV support
MS-WDV specification: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wdv The changes introduces the DAVMSext directive, which is used to enable MS-WDV: DAVMSext +WDV dav_get_timeout_string() is introduced as a variant of dav_get_timeout(). The former parses a string, the later parse the Timeout HTTP header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907608 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav/main/mod_dav.h')
-rw-r--r--modules/dav/main/mod_dav.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/dav/main/mod_dav.h b/modules/dav/main/mod_dav.h
index 68b04f3851..b0c6f526bd 100644
--- a/modules/dav/main/mod_dav.h
+++ b/modules/dav/main/mod_dav.h
@@ -1321,6 +1321,7 @@ struct dav_hooks_propdb
#define DAV_TIMEOUT_INFINITE 0
DAV_DECLARE(time_t) dav_get_timeout(request_rec *r);
+DAV_DECLARE(time_t) dav_get_timeout_string(request_rec *r, const char *s);
/*
** Opaque, provider-specific information for a lock database.
@@ -2650,6 +2651,17 @@ typedef struct {
} dav_elem_private;
+/* MS-WDV combined operation handler */
+DAV_DECLARE(int) dav_mswdv_preprocessing(request_rec *r);
+DAV_DECLARE(dav_error *) dav_mswdv_postprocessing(request_rec *r);
+DAV_DECLARE(apr_status_t) dav_mswdv_output(ap_filter_t *f,
+ apr_bucket_brigade *bb);
+DAV_DECLARE(apr_status_t) dav_mswdv_input(ap_filter_t *f,
+ apr_bucket_brigade *bb,
+ ap_input_mode_t mode,
+ apr_read_type_e block,
+ apr_off_t readbytes);
+
/* --------------------------------------------------------------------
**
** DAV ACL HOOKS