doc
|
#include <stdbool.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | csync_tree_walk_file_s |
CSync File Traversal structure. More... |
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_LOG_FILE "csync_log.conf" |
#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 8 |
#define | LIBCSYNC_VERSION_MINOR 50 |
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 enum csync_error_codes_e | CSYNC_ERROR_CODE |
typedef int | csync_treewalk_visit_func (TREE_WALK_FILE *, void *) |
typedef struct csync_tree_walk_file_s | TREE_WALK_FILE |
Enumerations | |
enum | csync_error_codes_e { CSYNC_ERR_NONE = 0, CSYNC_ERR_LOG, CSYNC_ERR_LOCK, CSYNC_ERR_STATEDB_LOAD, CSYNC_ERR_MODULE, CSYNC_ERR_TIMESKEW, CSYNC_ERR_FILESYSTEM, CSYNC_ERR_TREE, CSYNC_ERR_MEM, CSYNC_ERR_PARAM, CSYNC_ERR_RECONCILE, CSYNC_ERR_PROPAGATE, CSYNC_ERR_ACCESS_FAILED, CSYNC_ERR_REMOTE_CREATE, CSYNC_ERR_REMOTE_STAT, CSYNC_ERR_LOCAL_CREATE, CSYNC_ERR_LOCAL_STAT, CSYNC_ERR_PROXY, CSYNC_ERR_UNSPEC } |
enum | csync_instructions_e { CSYNC_INSTRUCTION_NONE = 0x00000000, CSYNC_INSTRUCTION_EVAL = 0x00000001, CSYNC_INSTRUCTION_REMOVE = 0x00000002, CSYNC_INSTRUCTION_RENAME = 0x00000004, CSYNC_INSTRUCTION_NEW = 0x00000008, CSYNC_INSTRUCTION_CONFLICT = 0x00000010, CSYNC_INSTRUCTION_IGNORE = 0x00000020, CSYNC_INSTRUCTION_SYNC = 0x00000040, CSYNC_INSTRUCTION_STAT_ERROR = 0x00000080, CSYNC_INSTRUCTION_ERROR = 0x00000100, CSYNC_INSTRUCTION_DELETED = 0x00000200, CSYNC_INSTRUCTION_UPDATED = 0x00000400 } |
Application developer interface for csync.
Definition in file csync.h.