src/server/public/webdav.h

branch
webdav
changeset 319
a9b9344875aa
parent 318
60870dbac94f
child 325
2d14055c3543
--- a/src/server/public/webdav.h	Sat Apr 30 20:44:38 2022 +0200
+++ b/src/server/public/webdav.h	Sun May 01 10:48:20 2022 +0200
@@ -480,6 +480,20 @@
         pool_handle_t *pool,
         WSXmlNode *node);
 
+/*
+ * converts a property list to a string
+ * 
+ * namespaces are separated by a newline character and have the format:
+ * <prefix>:<href>
+ */
+char* wsxml_nslist2string(pool_handle_t *pool, WebdavNSList *nslist);
+
+/*
+ * converts a namespace list string (created by wsxml_nslist2string) to
+ * a WebdavNSList object
+ */
+WebdavNSList* wsxml_string2nslist(pool_handle_t *pool, char *nsliststr);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial