src/server/webdav/webdav.h

branch
webdav
changeset 245
a193c42fc809
parent 244
e59abb210584
child 252
5653a9626cc0
equal deleted inserted replaced
244:e59abb210584 245:a193c42fc809
80 int webdav_unlock(pblock *pb, Session *sn, Request *rq); 80 int webdav_unlock(pblock *pb, Session *sn, Request *rq);
81 int webdav_report(pblock *pb, Session *sn, Request *rq); 81 int webdav_report(pblock *pb, Session *sn, Request *rq);
82 int webdav_acl(pblock *pb, Session *sn, Request *rq); 82 int webdav_acl(pblock *pb, Session *sn, Request *rq);
83 int webdav_search (pblock *pb, Session *sn, Request *rq); 83 int webdav_search (pblock *pb, Session *sn, Request *rq);
84 84
85 /*
86 * Initialize a WebDAV VFS operation
87 *
88 * sn: WS Session
89 * rq: WS Request
90 * out_reqbuf: func returns a pointer to the request body or NULL
91 * out_vfs: func returns a pointer to the newly created VFSContext
92 * out_path: func returns a pointer to the path string
93 *
94 * return: on success REQ_PROCEED
95 * on error REQ_ABORTED
96 */
97 int webdav_init_vfs_op(
98 Session *sn,
99 Request *rq,
100 UcxBuffer **out_reqbuf,
101 VFSContext **out_vfs,
102 char **out_path);
103 85
104 int default_propfind_init( 86 int default_propfind_init(
105 WebdavPropfindRequest *rq, 87 WebdavPropfindRequest *rq,
106 const char* path, 88 const char* path,
107 WebdavPList **outplist); 89 WebdavPList **outplist);

mercurial