diff -r cd74667f6c85 -r 4adad7faf452 src/server/webdav/operation.h --- a/src/server/webdav/operation.h Sat Jan 25 15:34:30 2020 +0100 +++ b/src/server/webdav/operation.h Sat Jan 25 21:37:38 2020 +0100 @@ -42,7 +42,7 @@ Request *rq; Session *sn; - WebdavProppatchRequest *request; /* proppatch request or NULL */ + WebdavProppatchRequest *proppatch; /* proppatch request or NULL */ WebdavPList *reqprops; /* requested properties */ UcxList *requests; /* backend specific request objects */ @@ -54,6 +54,11 @@ struct stat *stat; /* current stat object */ }; +/* + * counts the number of backends + */ +size_t webdav_num_backends(WebdavBackend *dav); + WebdavOperation* webdav_create_propfind_operation( Session *sn, Request *rq, @@ -87,6 +92,11 @@ WebdavProppatchRequest *proppatch, WebdavResponse *response); +int webdav_op_proppatch( + WebdavOperation *op, + const char *href, + const char *path); + int webdav_op_proppatch_close_resource( WebdavOperation *op, WebdavResource *resource);