21 #ifndef CSYNC_OWNCLOUD_H
22 #define CSYNC_OWNCLOUD_H
30 #include <sys/types.h>
39 #include <neon/ne_basic.h>
40 #include <neon/ne_socket.h>
41 #include <neon/ne_session.h>
42 #include <neon/ne_request.h>
43 #include <neon/ne_props.h>
44 #include <neon/ne_auth.h>
45 #include <neon/ne_dates.h>
46 #include <neon/ne_compress.h>
47 #include <neon/ne_redirect.h>
66 #define DEBUG_WEBDAV(...) csync_log( dav_session.csync_ctx, 9, "oc_module", __VA_ARGS__);
75 #define DAV_STRTOL strtoll
175 {
"DAV:",
"getlastmodified" },
176 {
"DAV:",
"getcontentlength" },
177 {
"DAV:",
"resourcetype" },
178 {
"DAV:",
"getetag"},
char * _cleanPath(const char *uri)
Application developer interface for csync.
csync_overall_progress_t * overall_progress_data
time_t oc_httpdate_parse(const char *date)
void oc_notify_progress(const char *file, enum csync_notify_type_e kind, int64_t current_size, int64_t full_size)
int(* csync_owncloud_redirect_callback_t)(CSYNC *ctx, const char *uri)
ne_decompress * decompress
struct resource * currResource
int bandwidth_limit_download
void set_errno_from_session(void)
int _stat_perms(int type)
void set_errno_from_neon_errcode(int neon_code)
struct dav_session_s dav_session
Structure that represents a red-black tree.
Interface of the cynapses libc red-black tree implementation.
csync_vio_file_stat_t * resourceToFileStat(struct resource *res)
int bandwidth_limit_upload
csync_owncloud_redirect_callback_t redir_callback
void set_errno_from_http_errcode(int err)
struct resource * children
unsigned int result_count
void clear_propfind_recursive_cache(void)
c_rbtree_t * propfind_recursive_cache
static const ne_propname ls_props[]
struct listdir_context * fetch_resource_list_recursive(const char *uri, const char *curi)
bool no_recursive_propfind
Logging interface of csync.
csync_hbf_info_t * chunk_info
int http_result_code_from_session(void)
void set_error_message(const char *msg)
struct listdir_context * get_listdir_context_from_cache(const char *curi)