libidav/webdav.h

changeset 84
7fca3788261d
parent 75
56962faf2b42
child 100
f4127c4d1018
--- a/libidav/webdav.h	Wed Apr 01 11:42:38 2015 +0200
+++ b/libidav/webdav.h	Fri Apr 03 14:53:28 2015 +0200
@@ -48,6 +48,7 @@
 typedef struct DavRequest    DavRequest;
 typedef struct DavNamespace  DavNamespace;
 typedef struct DavProperty   DavProperty;
+typedef struct DavPropName   DavPropName;
 typedef struct DavKey        DavKey;
 
 #include "davql.h"
@@ -133,6 +134,11 @@
     char         *value;
 };
 
+struct DavPropName {
+    char *ns;
+    char *name;
+};
+
 #define DAV_KEY_AES128     0
 #define DAV_KEY_AES256     1
 #define DAV_KEY_PASSWORD   2
@@ -209,6 +215,8 @@
 void dav_remove_property(DavResource *res, char *name);
 void dav_remove_property_ns(DavResource *res, char *ns, char *name);
 
+DavPropName* dav_get_property_names(DavResource *res, size_t *count);
+
 void dav_set_content(DavResource *res, void *stream, dav_read_func read_func);
 void dav_set_content_data(DavResource *res, char *content, size_t length);
 

mercurial