libidav/webdav.h

changeset 135
664aeaec8d25
parent 134
4bccc18820e8
child 147
458a8dc68048
--- a/libidav/webdav.h	Tue Jul 07 20:47:02 2015 +0200
+++ b/libidav/webdav.h	Wed Jul 08 17:31:26 2015 +0200
@@ -51,8 +51,6 @@
 typedef struct DavPropName   DavPropName;
 typedef struct DavKey        DavKey;
 
-#include "davql.h"
-
 typedef size_t(*dav_read_func)(void*, size_t, size_t, void*);
 typedef size_t(*dav_write_func)(const void*, size_t, size_t, void*);
 
@@ -69,7 +67,8 @@
     DAV_COULDNT_RESOLVE_HOST,
     DAV_COULDNT_CONNECT,
     DAV_TIMEOUT,
-    DAV_SSL_ERROR
+    DAV_SSL_ERROR,
+    DAV_QL_ERROR
 };
 
 typedef enum DavError DavError;
@@ -190,8 +189,6 @@
 
 DavResource* dav_get(DavSession *sn, char *path, char *properties);
 
-DavResource* dav_query_get(DavSession *sn, DavGetQuery *query);
-
 UcxList* parse_properties_string(DavContext *context, sstr_t str);
 
 DavResource* dav_query(DavSession *sn, char *query, ...);
@@ -240,7 +237,7 @@
 int dav_get_content(DavResource *res, void *stream, dav_write_func write_func);
 
 // private
-int dav_propfind(DavSession *sn, DavResource *root, UcxBuffer *rqbuf, DavQOp *cond, size_t len);
+int dav_propfind(DavSession *sn, DavResource *root, UcxBuffer *rqbuf);
 
 #ifdef	__cplusplus
 }

mercurial