src/server/plugins/postgresql/webdav.h

branch
webdav
changeset 303
ad9ba51c8634
parent 300
0e3f275b2492
child 306
e03737cea6e2
equal deleted inserted replaced
302:dfbd3a535eac 303:ad9ba51c8634
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 extern "C" { 38 extern "C" {
39 #endif 39 #endif
40 40
41 typedef struct PgWebdavBackend {
42 ResourceData *pg_resource;
43 PGconn *connection;
44 } PgWebdavBackend;
41 45
42 typedef struct PgPropfind { 46 typedef struct PgPropfind {
43 ResourceData *pg_resource; 47 ResourceData *pg_resource;
44 PGconn *connection; 48 PGconn *connection;
45 } PgPropfind; 49 } PgPropfind;
46 50
51 WebdavBackend* pg_webdav_create(Session *sn, Request *rq, pblock *pb);
52 WebdavBackend* pg_webdav_create_from_resdata(Session *sn, Request *rq, ResourceData *resdata);
53
54 WebdavBackend* pg_webdav_prop_create(Session *sn, Request *rq, pblock *pb);
47 55
48 /* ----------------- webdav backend functions ----------------- */ 56 /* ----------------- webdav backend functions ----------------- */
49 int pg_dav_propfind_init( 57 int pg_dav_propfind_init(
50 WebdavPropfindRequest *rq, 58 WebdavPropfindRequest *rq,
51 const char *path, 59 const char *path,

mercurial