src/server/public/webdav.h

branch
webdav
changeset 301
2bc514931612
parent 300
0e3f275b2492
child 306
e03737cea6e2
equal deleted inserted replaced
300:0e3f275b2492 301:2bc514931612
90 * Use the vfs to open a file for proppatch 90 * Use the vfs to open a file for proppatch
91 */ 91 */
92 #define WS_WEBDAV_PROPPATCH_USE_VFS 0x02 92 #define WS_WEBDAV_PROPPATCH_USE_VFS 0x02
93 93
94 94
95 typedef WebdavBackend*(*webdav_create_func)(Session *sn, Request *rq, pblock *pb);
96
95 enum WebdavValueType { 97 enum WebdavValueType {
96 WS_VALUE_NO_TYPE = 0, 98 WS_VALUE_NO_TYPE = 0,
97 WS_VALUE_XML_NODE, 99 WS_VALUE_XML_NODE,
98 WS_VALUE_XML_DATA, 100 WS_VALUE_XML_DATA,
99 WS_VALUE_TEXT 101 WS_VALUE_TEXT
379 /* 381 /*
380 * next Backend 382 * next Backend
381 */ 383 */
382 WebdavBackend *next; 384 WebdavBackend *next;
383 }; 385 };
386
387 /*
388 * register a webdav backend
389 */
390 int webdav_register_backend(const char *name, webdav_create_func vfsCreate);
384 391
385 /* 392 /*
386 * gets the requested depth 393 * gets the requested depth
387 * 394 *
388 * in case of infinity, -1 is returned 395 * in case of infinity, -1 is returned

mercurial