doc
|
Modules | |
csync file lockling internals | |
csync logging internals | |
csync propagation internals | |
csync reconciliation internals | |
csync statedb internals | |
csync update detection internals |
Data Structures | |
struct | _csync_treewalk_context_s |
struct | csync_file_stat_s |
struct | csync_s |
csync public structure More... |
Macros | |
#define | CSYNC_STATUS_DONE |
#define | CSYNC_STATUS_INIT 1 << 0 |
#define | CSYNC_STATUS_PROPAGATE 1 << 3 |
#define | CSYNC_STATUS_RECONCILE 1 << 2 |
#define | CSYNC_STATUS_UPDATE 1 << 1 |
#define | MAX_DEPTH 50 |
#define | MAX_TIME_DIFFERENCE 10 |
#define | MAX_XFER_BUF_SIZE (16 * 1024) |
Typedefs | |
typedef struct _csync_treewalk_context_s | _csync_treewalk_context |
typedef struct csync_file_stat_s | csync_file_stat_t |
Enumerations | |
enum | csync_ftw_type_e { CSYNC_FTW_TYPE_FILE, CSYNC_FTW_TYPE_SLINK, CSYNC_FTW_TYPE_DIR } |
enum | csync_replica_e { LOCAL_REPLICA, REMOTE_REPLCIA } |
Functions | |
struct csync_file_stat_s | __attribute__ ((packed)) |
#define CSYNC_STATUS_DONE |
Definition at line 68 of file csync_private.h.
#define CSYNC_STATUS_INIT 1 << 0 |
Definition at line 63 of file csync_private.h.
#define CSYNC_STATUS_PROPAGATE 1 << 3 |
Definition at line 66 of file csync_private.h.
#define CSYNC_STATUS_RECONCILE 1 << 2 |
Definition at line 65 of file csync_private.h.
#define CSYNC_STATUS_UPDATE 1 << 1 |
Definition at line 64 of file csync_private.h.
#define MAX_DEPTH 50 |
How deep to scan directories.
Definition at line 49 of file csync_private.h.
#define MAX_TIME_DIFFERENCE 10 |
Maximum time difference between two replicas in seconds.
Definition at line 54 of file csync_private.h.
#define MAX_XFER_BUF_SIZE (16 * 1024) |
Maximum size of a buffer for transfer.
Definition at line 60 of file csync_private.h.
typedef struct _csync_treewalk_context_s _csync_treewalk_context |
Definition at line 185 of file csync_private.h.
typedef struct csync_file_stat_s csync_file_stat_t |
Definition at line 174 of file csync_private.h.
enum csync_ftw_type_e |
Definition at line 142 of file csync_private.h.
enum csync_replica_e |
Definition at line 73 of file csync_private.h.
struct csync_file_stat_s __attribute__ | ( | (packed) | ) |
struct _csync_treewalk_context_s __attribute__ |
csync_auth_callback csync_s::auth_callback |
Definition at line 82 of file csync_private.h.
csync_vio_capabilities_t { ... } ::capabilities |
Definition at line 111 of file csync_private.h.
csync_vio_capabilities_t csync_s::capabilities |
Definition at line 111 of file csync_private.h.
char* csync_s::config_dir |
Definition at line 119 of file csync_private.h.
char* { ... } ::config_dir |
Definition at line 119 of file csync_private.h.
enum csync_replica_e csync_s::current |
Definition at line 131 of file csync_private.h.
sqlite3* csync_s::db |
Definition at line 88 of file csync_private.h.
sqlite3* { ... } ::db |
Definition at line 88 of file csync_private.h.
char* csync_file_stat_s::destpath |
Definition at line 162 of file csync_private.h.
char* destpath |
Definition at line 183 of file csync_private.h.
int csync_s::disabled |
Definition at line 90 of file csync_private.h.
int { ... } ::disabled |
Definition at line 90 of file csync_private.h.
enum csync_error_codes_e csync_s::error_code |
Definition at line 137 of file csync_private.h.
uid_t csync_s::euid |
Definition at line 127 of file csync_private.h.
uid_t { ... } ::euid |
Definition at line 127 of file csync_private.h.
c_strlist_t* csync_s::excludes |
Definition at line 84 of file csync_private.h.
int { ... } ::exists |
Definition at line 89 of file csync_private.h.
int csync_s::exists |
Definition at line 89 of file csync_private.h.
char* csync_s::file |
Definition at line 87 of file csync_private.h.
char* { ... } ::file |
Definition at line 87 of file csync_private.h.
csync_vio_method_finish_fn { ... } ::finish_fn |
Definition at line 110 of file csync_private.h.
csync_vio_method_finish_fn csync_s::finish_fn |
Definition at line 110 of file csync_private.h.
gid_t csync_file_stat_s::gid |
Definition at line 158 of file csync_private.h.
gid_t gid |
Definition at line 179 of file csync_private.h.
void* csync_s::handle |
Definition at line 108 of file csync_private.h.
void* { ... } ::handle |
Definition at line 108 of file csync_private.h.
uint64_t csync_file_stat_s::inode |
Definition at line 156 of file csync_private.h.
uint64_t inode |
Definition at line 177 of file csync_private.h.
enum csync_instructions_e csync_file_stat_s::instruction |
Definition at line 163 of file csync_private.h.
enum csync_instructions_e instruction |
Definition at line 184 of file csync_private.h.
int _csync_treewalk_context_s::instruction_filter |
Definition at line 182 of file csync_private.h.
c_list_t* csync_s::list |
Definition at line 96 of file csync_private.h.
c_list_t* { ... } ::list |
Definition at line 96 of file csync_private.h.
c_list_t* { ... } ::list |
Definition at line 103 of file csync_private.h.
struct { ... } csync_s::local |
bool csync_s::local_only_mode |
Definition at line 121 of file csync_private.h.
bool { ... } ::local_only_mode |
Definition at line 121 of file csync_private.h.
int csync_s::max_depth |
Definition at line 115 of file csync_private.h.
int { ... } ::max_depth |
Definition at line 115 of file csync_private.h.
int csync_s::max_time_difference |
Definition at line 116 of file csync_private.h.
int { ... } ::max_time_difference |
Definition at line 116 of file csync_private.h.
csync_vio_method_t* csync_s::method |
Definition at line 109 of file csync_private.h.
csync_vio_method_t* { ... } ::method |
Definition at line 109 of file csync_private.h.
mode_t csync_file_stat_s::mode |
Definition at line 159 of file csync_private.h.
mode_t mode |
Definition at line 180 of file csync_private.h.
time_t csync_file_stat_s::modtime |
Definition at line 153 of file csync_private.h.
time_t modtime |
Definition at line 174 of file csync_private.h.
struct { ... } csync_s::module |
int csync_file_stat_s::nlink |
Definition at line 160 of file csync_private.h.
int nlink |
Definition at line 181 of file csync_private.h.
struct { ... } csync_s::options |
char csync_file_stat_s::path[1] |
Definition at line 164 of file csync_private.h.
char path[1] |
Definition at line 185 of file csync_private.h.
size_t csync_file_stat_s::pathlen |
Definition at line 155 of file csync_private.h.
size_t pathlen |
Definition at line 176 of file csync_private.h.
uint64_t csync_file_stat_s::phash |
Definition at line 152 of file csync_private.h.
uint64_t phash |
Definition at line 173 of file csync_private.h.
struct { ... } csync_s::pwd |
struct { ... } csync_s::remote |
bool csync_s::remote_push_atomar |
Definition at line 122 of file csync_private.h.
bool { ... } ::remote_push_atomar |
Definition at line 122 of file csync_private.h.
enum csync_replica_e csync_s::replica |
Definition at line 134 of file csync_private.h.
off_t csync_file_stat_s::size |
Definition at line 154 of file csync_private.h.
off_t size |
Definition at line 175 of file csync_private.h.
struct { ... } csync_s::statedb |
int csync_s::status |
Definition at line 139 of file csync_private.h.
int { ... } ::sync_symbolic_links |
Definition at line 117 of file csync_private.h.
int csync_s::sync_symbolic_links |
Definition at line 117 of file csync_private.h.
c_rbtree_t* csync_s::tree |
Definition at line 95 of file csync_private.h.
c_rbtree_t* { ... } ::tree |
Definition at line 95 of file csync_private.h.
c_rbtree_t* { ... } ::tree |
Definition at line 102 of file csync_private.h.
enum csync_replica_e csync_s::type |
Definition at line 97 of file csync_private.h.
enum { ... } ::type |
Definition at line 97 of file csync_private.h.
enum { ... } ::type |
Definition at line 104 of file csync_private.h.
int csync_file_stat_s::type |
Definition at line 161 of file csync_private.h.
int type |
Definition at line 182 of file csync_private.h.
uid_t { ... } ::uid |
Definition at line 126 of file csync_private.h.
uid_t csync_s::uid |
Definition at line 126 of file csync_private.h.
uid_t csync_file_stat_s::uid |
Definition at line 157 of file csync_private.h.
uid_t uid |
Definition at line 178 of file csync_private.h.
int csync_s::unix_extensions |
Definition at line 118 of file csync_private.h.
int { ... } ::unix_extensions |
Definition at line 118 of file csync_private.h.
char* csync_s::uri |
Definition at line 94 of file csync_private.h.
char* { ... } ::uri |
Definition at line 94 of file csync_private.h.
char* { ... } ::uri |
Definition at line 101 of file csync_private.h.
csync_treewalk_visit_func* _csync_treewalk_context_s::user_visitor |
Definition at line 181 of file csync_private.h.
void* csync_s::userdata |
Definition at line 83 of file csync_private.h.
void* _csync_treewalk_context_s::userdata |
Definition at line 183 of file csync_private.h.
bool { ... } ::with_conflict_copys |
Definition at line 120 of file csync_private.h.
bool csync_s::with_conflict_copys |
Definition at line 120 of file csync_private.h.