--- a/src/server/webdav/webdav.h Mon Dec 30 16:33:20 2019 +0100 +++ b/src/server/webdav/webdav.h Tue Dec 31 10:01:32 2019 +0100 @@ -37,8 +37,8 @@ #ifdef __cplusplus extern "C" { #endif + -#define WEBDAV_PATH_MAX 8192 typedef struct DefaultWebdavData { WebdavVFSProperties vfsproperties; @@ -68,22 +68,10 @@ const char *path, UcxList **out_req); -int webdav_propfind_do( - WebdavBackend *webdav, - UcxList *requests, - WebdavResponse *response, - VFS_DIR parent, - const char *path, - struct stat *s); + int webdav_propfind_finish(WebdavBackend *webdav, UcxList *requests); -int propfind_children( - WebdavBackend *webdav, - UcxList *requests, - WebdavResponse *response, - VFSContext *vfs, - char *path); int webdav_proppatch(pblock *pb, Session *sn, Request *rq); int webdav_mkcol(pblock *pb, Session *sn, Request *rq); @@ -106,7 +94,7 @@ WebdavPropfindRequest *request, WebdavResponse *response, VFS_DIR parent, - const char *path, + WebdavResource *resource, struct stat *s); int default_propfind_finish(WebdavPropfindRequest *rq);