src/server/webdav/webdav.h

branch
webdav
changeset 244
e59abb210584
parent 243
1a29b1d8d9d8
child 245
a193c42fc809
equal deleted inserted replaced
243:1a29b1d8d9d8 244:e59abb210584
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 int default_propfind_init( 104 int default_propfind_init(
86 WebdavPropfindRequest *rq, 105 WebdavPropfindRequest *rq,
87 const char* path, 106 const char* path,
88 WebdavPList **outplist); 107 WebdavPList **outplist);
89 int default_propfind_do( 108 int default_propfind_do(

mercurial