44#include <SingleList.h>
57 U32 nextLockFileNumber;
143 U32 maxNumberOfLocks=10,
166 size_t vdRootPathLen;
185 U32 maxNumberOfLocks,
200#define WebDAV_setAuthenticator(o, authenticator, realm) \
201 HttpDir_setAuthenticator((HttpDir*)o, authenticator, realm)
241 U32 maxNumberOfLocks,
245 maxNumberOfLocks, alloc,priority);
WebDAV WebDAV
The WebDAV plugin implements WebDAV version 1, as specified in RFC2518 and part of the locking in DAV...
BA_API int WebDAV_lockmgr(WebDAV *o, WebDAVLockMgr *mgr)
Manage WebDAV locks without an HTTP request.
BA_API void WebDAV_destructor(WebDAV *o)
Terminate the WebDAV object.
BA_API void WebDAV_constructor(WebDAV *o, IoIntf *io, int maxUploads, const char *dirName, const char *lockDir, U32 maxNumberOfLocks, AllocatorIntf *alloc, S8 priority)
Create a WebDAV instance.
S64 BaTime
An arithmetic type representing calendar time with epoch of 1970-01-01 00:00:00 UTC,...
Definition: GenPrimT.h:103
uint32_t U32
Unsigned 32-bit integer.
Definition: GenPrimT.h:93
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:118
int8_t S8
Signed 8-bit integer.
Definition: GenPrimT.h:81
Memory allocation and deallocation Interface class.
Definition: AllocatorIntf.h:98
An instance of the HttpDir class, which is a collection of zero or more resources,...
Definition: HttpServer.h:2777
The HttpUploadCbIntf interface is an abstract class that must be implemented by code using the HttpUp...
Definition: HttpUpload.h:237
The HttpUpload node is responsible for creating and starting HttpUploadNode instances.
Definition: HttpUpload.h:275
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:482
Self-adjusting tree of caller-owned nodes, with unique keys.
Definition: SplayTree.h:109
Input/output record for WebDAV_lockmgr().
Definition: WebDAV.h:205
ResIntfPtr fp
Action 3 output only: opened owner-XML resource, or NULL if opening fails.
Definition: WebDAV.h:217
int action
Input: 0 tests a lock, 1 creates, 2 removes, 3 reads owner XML.
Definition: WebDAV.h:209
const char * name
Required input resource path relative to the WebDAV IoIntf, NUL-terminated and borrowed for the call.
Definition: WebDAV.h:213
const char * owner
Action 1 input: required NUL-terminated owner text inserted into an XML href element.
Definition: WebDAV.h:215
BaTime lockTime
Action 1 input: duration in seconds.
Definition: WebDAV.h:211
The WebDAV plugin implements WebDAV version 1, as specified in RFC2518 and part of the locking in DAV...
Definition: WebDAV.h:106
WebDAV(IoIntf *io, int maxUploads, const char *dirName, const char *lockDir, U32 maxNumberOfLocks=10, AllocatorIntf *alloc=0, S8 priority=0)
Create a WebDAV instance.
Definition: WebDAV.h:237
~WebDAV()
Terminate the WebDAV object.
Definition: WebDAV.h:248