libidav/webdav.h

changeset 36
c8755c87ce7f
parent 33
0bbbb0341606
child 38
b855f76e965b
equal deleted inserted replaced
35:ad0c9dacd7e3 36:c8755c87ce7f
40 #ifdef __cplusplus 40 #ifdef __cplusplus
41 extern "C" { 41 extern "C" {
42 #endif 42 #endif
43 43
44 typedef struct DavContext DavContext; 44 typedef struct DavContext DavContext;
45 typedef struct DavProxy DavProxy;
45 typedef struct DavSession DavSession; 46 typedef struct DavSession DavSession;
46 typedef struct DavResource DavResource; 47 typedef struct DavResource DavResource;
47 typedef struct DavRequest DavRequest; 48 typedef struct DavRequest DavRequest;
48 typedef struct DavNamespace DavNamespace; 49 typedef struct DavNamespace DavNamespace;
49 typedef struct DavProperty DavProperty; 50 typedef struct DavProperty DavProperty;
98 }; 99 };
99 100
100 struct DavContext { 101 struct DavContext {
101 UcxMap *namespaces; 102 UcxMap *namespaces;
102 UcxList *sessions; 103 UcxList *sessions;
103 char *http_proxy; 104 DavProxy *http_proxy;
104 char *https_proxy; 105 DavProxy *https_proxy;
105 char *no_proxy; 106 };
107
108 struct DavProxy {
109 char *url;
110 char *username;
111 char *password;
112 char *no_proxy;
106 }; 113 };
107 114
108 struct DavProperty { 115 struct DavProperty {
109 DavNamespace *ns; 116 DavNamespace *ns;
110 char *name; 117 char *name;

mercurial