doc
Functions
csync_statedb.h File Reference
#include "c_lib.h"
#include "csync_private.h"

Go to the source code of this file.

Functions

int csync_get_statedb_exists (CSYNC *ctx)
 
void csync_set_statedb_exists (CSYNC *ctx, int val)
 
int csync_statedb_close (CSYNC *ctx, const char *statedb, int jwritten)
 
int csync_statedb_create_tables (CSYNC *ctx)
 
int csync_statedb_drop_tables (CSYNC *ctx)
 
csync_file_stat_tcsync_statedb_get_stat_by_hash (CSYNC *ctx, uint64_t phash)
 
csync_file_stat_tcsync_statedb_get_stat_by_inode (CSYNC *ctx, ino_t inode)
 
int csync_statedb_insert (CSYNC *ctx, const char *statement)
 
int csync_statedb_insert_metadata (CSYNC *ctx)
 
int csync_statedb_load (CSYNC *ctx, const char *statedb)
 
c_strlist_tcsync_statedb_query (CSYNC *ctx, const char *statement)
 
int csync_statedb_write (CSYNC *ctx)