diff -r a8f8cdbf85df -r ca07f14f7bfe libidav/webdav.h --- a/libidav/webdav.h Tue Jan 12 19:17:46 2016 +0100 +++ b/libidav/webdav.h Wed Jan 13 15:31:10 2016 +0100 @@ -41,6 +41,8 @@ extern "C" { #endif +typedef int DavBool; + typedef struct DavContext DavContext; typedef struct DavProxy DavProxy; typedef struct DavSession DavSession; @@ -224,6 +226,8 @@ int dav_copy(DavResource *res, char *newpath); int dav_move(DavResource *res, char *newpath); +int dav_copy_o(DavResource *res, char *newpath, DavBool override); +int dav_move_o(DavResource *res, char *newpath, DavBool override); char* dav_get_property(DavResource *res, char *name); char* dav_get_property_ns(DavResource *res, char *ns, char *name);