32 #ifndef _CSYNC_PRIVATE_H 33 #define _CSYNC_PRIVATE_H 47 #ifdef HAVE_SYS_ICONV_H 48 #include <sys/iconv.h> 62 #define MAX_TIME_DIFFERENCE 10 67 #ifndef MAX_XFER_BUF_SIZE 68 #define MAX_XFER_BUF_SIZE (16 * 1024) 71 #define CSYNC_STATUS_INIT 1 << 0 72 #define CSYNC_STATUS_UPDATE 1 << 1 73 #define CSYNC_STATUS_RECONCILE 1 << 2 74 #define CSYNC_STATUS_PROPAGATE 1 << 3 76 #define CSYNC_STATUS_DONE (CSYNC_STATUS_INIT | \ 77 CSYNC_STATUS_UPDATE | \ 78 CSYNC_STATUS_RECONCILE | \ 79 CSYNC_STATUS_PROPAGATE) 134 #if defined(HAVE_ICONV) && defined(WITH_ICONV) 188 #if !defined(__SUNPRO_C) && !defined(_MSC_VER)
Used for each element in a doubly-linked list.
Application developer interface for csync.
struct csync_s::@4 module
struct csync_s::@1 statedb
struct csync_s::@5 options
csync_treewalk_visit_func * user_visitor
enum csync_instructions_e instruction
int(* csync_auth_callback)(const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata)
csync_vio_method_t * method
enum csync_replica_e replica
int csync_treewalk_visit_func(TREE_WALK_FILE *, void *)
csync_vio_method_finish_fn finish_fn
enum csync_replica_e type
struct csync_s::@3 remote
Structure that represents a red-black tree.
csync_overall_progress_callback overall_progress_cb
Structure for a stringlist.
csync_vio_capabilities_t capabilities
void(* csync_vio_method_finish_fn)(csync_vio_method_t *method)
csync_status_codes_e
Instruction enum.
struct _csync_treewalk_context_s __attribute__
enum csync_status_codes_e status_code
csync_file_progress_callback file_progress_cb
void(* csync_overall_progress_callback)(const char *file_name, int file_no, int file_cnt, long long o1, long long o2, void *userdata)
Callback definition for overall progress callback.
struct csync_s::@0 callbacks
void(* csync_file_progress_callback)(const char *remote_url, enum csync_notify_type_e kind, long long o1, long long o2, void *userdata)
Callback definition for individual file progress callback.
enum csync_replica_e current
struct csync_s::@7 progress
csync_auth_callback auth_function