libidav/webdav.h

changeset 36
c8755c87ce7f
parent 33
0bbbb0341606
child 38
b855f76e965b
--- a/libidav/webdav.h	Fri Aug 30 12:48:15 2013 +0200
+++ b/libidav/webdav.h	Mon Sep 02 10:31:29 2013 +0200
@@ -42,6 +42,7 @@
 #endif
 
 typedef struct DavContext    DavContext;
+typedef struct DavProxy      DavProxy;
 typedef struct DavSession    DavSession;
 typedef struct DavResource   DavResource;
 typedef struct DavRequest    DavRequest;
@@ -100,9 +101,15 @@
 struct DavContext {
     UcxMap  *namespaces;
     UcxList *sessions;
-    char    *http_proxy;
-    char    *https_proxy;
-    char    *no_proxy;
+    DavProxy *http_proxy;
+    DavProxy *https_proxy;
+};
+
+struct DavProxy {
+    char *url;
+    char *username;
+    char *password;
+    char *no_proxy;
 };
 
 struct DavProperty {

mercurial