doc
Data Structures | Macros | Typedefs | Enumerations
csync_private.h File Reference
#include <stdint.h>
#include <sqlite3.h>
#include "config.h"
#include "c_lib.h"
#include "csync.h"
#include "vio/csync_vio_method.h"
#include "csync_macros.h"

Go to the source code of this file.

Data Structures

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_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_instructions_e {
  CSYNC_INSTRUCTION_NONE, CSYNC_INSTRUCTION_EVAL, CSYNC_INSTRUCTION_REMOVE, CSYNC_INSTRUCTION_RENAME,
  CSYNC_INSTRUCTION_NEW, CSYNC_INSTRUCTION_CONFLICT, CSYNC_INSTRUCTION_IGNORE, CSYNC_INSTRUCTION_SYNC,
  CSYNC_INSTRUCTION_STAT_ERROR, CSYNC_INSTRUCTION_ERROR, CSYNC_INSTRUCTION_DELETED, CSYNC_INSTRUCTION_UPDATED
}
 
enum  csync_replica_e { LOCAL_REPLICA, REMOTE_REPLCIA }
 

Detailed Description

Private interface of csync.

Definition in file csync_private.h.