src/server/webdav/multistatus.h

branch
webdav
changeset 237
ee1680ef1ef2
parent 231
4714468b9b7e
child 239
d5031c30022c
--- 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: <href> null-byte <name>
+     * 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;
 };
 

mercurial