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 (const char *statedb, sqlite3 *db, int jwritten)
 
int csync_statedb_create_tables (sqlite3 *db)
 
int csync_statedb_drop_tables (sqlite3 *db)
 
csync_file_stat_tcsync_statedb_get_stat_by_hash (sqlite3 *db, uint64_t phash)
 
csync_file_stat_tcsync_statedb_get_stat_by_inode (sqlite3 *db, ino_t inode)
 
int csync_statedb_insert (sqlite3 *db, const char *statement)
 
int csync_statedb_insert_metadata (CSYNC *ctx, sqlite3 *db)
 
int csync_statedb_load (CSYNC *ctx, const char *statedb, sqlite3 **pdb)
 
c_strlist_tcsync_statedb_query (sqlite3 *db, const char *statement)
 
int csync_statedb_write (CSYNC *ctx, sqlite3 *db)