diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-07 15:42:55 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-07 15:53:37 +0200 |
commit | 7f955ff6f6a7f2407b24a638fde95efbd5c38737 (patch) | |
tree | a74f84fafba568d01db0277db434075dfbde5132 /src/sqlite.h | |
parent | storage_sqlite: avoid races when inserting repos (diff) | |
download | cimple-7f955ff6f6a7f2407b24a638fde95efbd5c38737.tar.gz cimple-7f955ff6f6a7f2407b24a638fde95efbd5c38737.zip |
sqlite: minor refactoring
Diffstat (limited to 'src/sqlite.h')
-rw-r--r-- | src/sqlite.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sqlite.h b/src/sqlite.h index 5f5b285..20386d4 100644 --- a/src/sqlite.h +++ b/src/sqlite.h @@ -13,13 +13,12 @@ int sqlite_init(void); void sqlite_destroy(void); -int sqlite_open(const char *path, sqlite3 **db, int flags); int sqlite_open_rw(const char *path, sqlite3 **db); int sqlite_open_ro(const char *path, sqlite3 **db); void sqlite_close(sqlite3 *db); int sqlite_exec(sqlite3 *db, const char *stmt, sqlite3_callback callback, void *arg); -int sqlite_log_result(void *, int, char **, char **); +int sqlite_exec_log_result(void *, int, char **, char **); int sqlite_prepare(sqlite3 *db, const char *stmt, sqlite3_stmt **result); void sqlite_reset(sqlite3_stmt *); |