diff -r e81d3e517b57 -r ee1680ef1ef2 src/server/webdav/multistatus.h --- a/src/server/webdav/multistatus.h Sun Jan 19 09:31:45 2020 +0100 +++ b/src/server/webdav/multistatus.h Sun Jan 19 10:03:31 2020 +0100 @@ -71,10 +71,21 @@ WebdavResource resource; Multistatus *multistatus; + /* + * Contains all properties that were added to the response + * key: null-byte + * value: WebdavProperty* + */ UcxMap *properties; + /* + * All properties with status != 200 + */ PropertyErrorList *errors; + /* + * All properties with status == 200 + */ PropertyOkList *plist_begin; PropertyOkList *plist_end; @@ -84,14 +95,29 @@ struct PropertyOkList { WebdavProperty *property; - WebdavNSList *nsdef; + WebdavNSList *nsdef; PropertyOkList *next; }; struct PropertyErrorList { + /* + * next list for different status code + */ PropertyErrorList *next; + + /* + * property list for all properties with this status code + */ WebdavPList *begin; + + /* + * tail of the property list + */ WebdavPList *end; + + /* + * property response status code + */ int status; };