doc
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables

csync_private.h File Reference

Private interface of csync. More...

#include <stdint.h>
#include <stdbool.h>
#include <sqlite3.h>
#include "config.h"
#include "c_lib.h"
#include "c_private.h"
#include "csync.h"
#include "csync_misc.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
 csync public structure More...

Defines

#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_replica_e { LOCAL_REPLICA, REMOTE_REPLICA }

Functions

struct csync_file_stat_s __attribute__ ((packed))
void csync_file_stat_free (csync_file_stat_t *st)

Variables

struct _csync_treewalk_context_s __attribute__
int child_modified
char * destpath
const char * error_string
gid_t gid
uint64_t inode
enum csync_instructions_e instruction
const char * md5
mode_t mode
time_t modtime
int nlink
char path [1]
size_t pathlen
uint64_t phash
int should_update_md5
int64_t size
int type
uid_t uid

Detailed Description

Private interface of csync.

Definition in file csync_private.h.


Variable Documentation

uint64_t phash

Definition at line 204 of file csync_private.h.