20 #ifndef __C_CREATEREPOLIB_SQLITE_H__
21 #define __C_CREATEREPOLIB_SQLITE_H__
59 #define CR_DB_CACHE_DBVERSION 10
105 #define cr_db_open_primary(PATH, ERR) cr_db_open(PATH, CR_DB_PRIMARY, ERR)
116 #define cr_db_open_filelists(PATH, ERR) cr_db_open(PATH, CR_DB_FILELISTS, ERR)
128 #define cr_db_open_other(PATH, ERR) cr_db_open(PATH, CR_DB_OTHER, ERR)
162 const char *checksum,
cr_DbFilelistsStatements fil
cr_DbPrimaryStatements pri
struct _DbFilelistsStatements * cr_DbFilelistsStatements
struct _DbPrimaryStatements * cr_DbPrimaryStatements
int cr_db_add_pkg(cr_SqliteDb *sqlitedb, cr_Package *pkg, GError **err)
struct _DbOtherStatements * cr_DbOtherStatements
int cr_db_close(cr_SqliteDb *sqlitedb, GError **err)
int cr_db_dbinfo_update(cr_SqliteDb *sqlitedb, const char *checksum, GError **err)
cr_SqliteDb * cr_db_open(const char *path, cr_DatabaseType db_type, GError **err)