42 ResourceData *pg_resource; |
42 ResourceData *pg_resource; |
43 PGconn *connection; |
43 PGconn *connection; |
44 } PgWebdavBackend; |
44 } PgWebdavBackend; |
45 |
45 |
46 typedef struct PgPropfind { |
46 typedef struct PgPropfind { |
47 ResourceData *pg_resource; |
47 const char *path; |
48 PGconn *connection; |
48 int64_t resource_id; |
|
49 WebdavVFSProperties vfsproperties; |
|
50 PGresult *result; |
|
51 int nrows; |
49 } PgPropfind; |
52 } PgPropfind; |
50 |
53 |
51 WebdavBackend* pg_webdav_create(Session *sn, Request *rq, pblock *pb); |
54 WebdavBackend* pg_webdav_create(Session *sn, Request *rq, pblock *pb); |
52 WebdavBackend* pg_webdav_create_from_resdata(Session *sn, Request *rq, ResourceData *resdata); |
55 WebdavBackend* pg_webdav_create_from_resdata(Session *sn, Request *rq, ResourceData *resdata); |
53 |
56 |