doc
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
csync_private.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <sqlite3.h>
#include "config.h"
#include "c_lib.h"
#include "c_private.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_treewalk_context_s
 
struct  csync_file_stat_s
 
struct  csync_s
 

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_REPLICA }
 

Functions

struct csync_file_stat_s __attribute__ ((packed))
 

Variables

struct _csync_treewalk_context_s __attribute__
 
gid_t gid
 
ino_t inode
 
enum csync_instructions_e instruction
 
mode_t mode
 
time_t modtime
 
int nlink
 
char path [1]
 
size_t pathlen
 
uint64_t phash
 
off_t size
 
int type
 
uid_t uid
 

Detailed Description

Private interface of csync.

Definition in file csync_private.h.