diff -r ad0c9dacd7e3 -r c8755c87ce7f libidav/webdav.h --- 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 {