libidav/webdav.h

changeset 182
ca07f14f7bfe
parent 181
a8f8cdbf85df
child 185
cd42cccee550
equal deleted inserted replaced
181:a8f8cdbf85df 182:ca07f14f7bfe
39 39
40 #ifdef __cplusplus 40 #ifdef __cplusplus
41 extern "C" { 41 extern "C" {
42 #endif 42 #endif
43 43
44 typedef int DavBool;
45
44 typedef struct DavContext DavContext; 46 typedef struct DavContext DavContext;
45 typedef struct DavProxy DavProxy; 47 typedef struct DavProxy DavProxy;
46 typedef struct DavSession DavSession; 48 typedef struct DavSession DavSession;
47 typedef struct DavResource DavResource; 49 typedef struct DavResource DavResource;
48 typedef struct DavResult DavResult; 50 typedef struct DavResult DavResult;
222 int dav_create(DavResource *res); 224 int dav_create(DavResource *res);
223 int dav_exists(DavResource *res); 225 int dav_exists(DavResource *res);
224 226
225 int dav_copy(DavResource *res, char *newpath); 227 int dav_copy(DavResource *res, char *newpath);
226 int dav_move(DavResource *res, char *newpath); 228 int dav_move(DavResource *res, char *newpath);
229 int dav_copy_o(DavResource *res, char *newpath, DavBool override);
230 int dav_move_o(DavResource *res, char *newpath, DavBool override);
227 231
228 char* dav_get_property(DavResource *res, char *name); 232 char* dav_get_property(DavResource *res, char *name);
229 char* dav_get_property_ns(DavResource *res, char *ns, char *name); 233 char* dav_get_property_ns(DavResource *res, char *ns, char *name);
230 void dav_set_property(DavResource *res, char *name, char *value); 234 void dav_set_property(DavResource *res, char *name, char *value);
231 void dav_set_property_ns(DavResource *res, char *ns, char *name, char *value); 235 void dav_set_property_ns(DavResource *res, char *ns, char *name, char *value);

mercurial