src/server/webdav/webdav.h

branch
webdav
changeset 366
47bc686fafe4
parent 307
8787cb5ebab3
child 373
f78a585e1a2f
equal deleted inserted replaced
361:570026d3a685 366:47bc686fafe4
31 31
32 #include "../public/webdav.h" 32 #include "../public/webdav.h"
33 33
34 #include <ucx/map.h> 34 #include <ucx/map.h>
35 #include <ucx/list.h> 35 #include <ucx/list.h>
36 #include <ucx/buffer.h>
36 37
37 #ifdef __cplusplus 38 #ifdef __cplusplus
38 extern "C" { 39 extern "C" {
39 #endif 40 #endif
40 41
41 42 typedef struct WebdavType {
43 webdav_init_func init;
44 webdav_create_func create;
45 } WebdavType;
42 46
43 typedef struct DefaultWebdavData { 47 typedef struct DefaultWebdavData {
44 WebdavVFSProperties vfsproperties; 48 WebdavVFSProperties vfsproperties;
45 } DefaultWebdavData; 49 } DefaultWebdavData;
46 50
47 51 WebdavType* webdav_get_type(scstr_t dav_class);
52
53 void* webdav_init_backend(ServerConfiguration *cfg, pool_handle_t *pool, WebdavType *dav_class, WSConfigNode *config, int *error);
54
48 int webdav_init(pblock *pb, Session *sn, Request *rq); 55 int webdav_init(pblock *pb, Session *sn, Request *rq);
49 56
50 int webdav_service(pblock *pb, Session *sn, Request *rq); 57 int webdav_service(pblock *pb, Session *sn, Request *rq);
51 58
52 /* 59 /*

mercurial