doc
|
#include <stdbool.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <config.h>
Go to the source code of this file.
Data Structures | |
struct | csync_tree_walk_file_s |
Macros | |
#define | CSYNC_CONF_DIR ".csync" |
#define | CSYNC_CONF_FILE "csync.conf" |
#define | CSYNC_EXCLUDE_FILE "csync_exclude.conf" |
#define | CSYNC_LOCK_FILE "lock" |
#define | CSYNC_STATUS_IS_EQUAL(x, y) ((x) == (y)) |
#define | CSYNC_STATUS_IS_ERR(x) (unlikely((x) >= CSYNC_STATUS_ERROR)) |
#define | CSYNC_STATUS_IS_OK(x) (likely((x) == CSYNC_STATUS_OK)) |
#define | CSYNC_STRINGIFY(s) CSYNC_TOSTRING(s) |
#define | CSYNC_TOSTRING(s) #s |
#define | CSYNC_VERSION(a, b, c) CSYNC_VERSION_DOT(a, b, c) |
#define | CSYNC_VERSION_DOT(a, b, c) a ##.## b ##.## c |
#define | CSYNC_VERSION_INT(a, b, c) ((a) << 16 | (b) << 8 | (c)) |
#define | LIBCSYNC_VERSION |
#define | LIBCSYNC_VERSION_INT |
#define | LIBCSYNC_VERSION_MAJOR 0 |
#define | LIBCSYNC_VERSION_MICRO 0 |
#define | LIBCSYNC_VERSION_MINOR 50 |
#define | likely(x) (x) |
#define | unlikely(x) (x) |
Typedefs | |
typedef struct csync_s | CSYNC |
typedef int(* | csync_auth_callback) (const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata) |
typedef void(* | csync_file_progress_callback) (const char *remote_url, enum csync_notify_type_e kind, long long o1, long long o2, void *userdata) |
typedef void(* | csync_log_callback) (int verbosity, const char *function, const char *buffer, void *userdata) |
typedef void(* | csync_overall_progress_callback) (const char *file_name, int file_no, int file_cnt, long long o1, long long o2, void *userdata) |
typedef enum csync_status_codes_e | CSYNC_STATUS |
typedef int | csync_treewalk_visit_func(TREE_WALK_FILE *, void *) |
typedef struct csync_tree_walk_file_s | TREE_WALK_FILE |
Application developer interface for csync.
Definition in file csync.h.