diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 16:19:32 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 16:19:32 +0200 |
commit | 32bea4675dd751c0d07aa1f348b1b7201794d884 (patch) | |
tree | 01be1e7ee7b55086a3f278a55cc26964fa20320c /src/sqlite.h | |
parent | storage_sqlite: refactoring (diff) | |
download | cimple-32bea4675dd751c0d07aa1f348b1b7201794d884.tar.gz cimple-32bea4675dd751c0d07aa1f348b1b7201794d884.zip |
sqlite: store new runs in SQLite
Diffstat (limited to 'src/sqlite.h')
-rw-r--r-- | src/sqlite.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqlite.h b/src/sqlite.h index 5a6a548..28c9b7a 100644 --- a/src/sqlite.h +++ b/src/sqlite.h @@ -22,9 +22,13 @@ int sqlite_exec(sqlite3 *db, const char *stmt, sqlite3_callback callback); int sqlite_log_result(void *, int, char **, char **); int sqlite_prepare(sqlite3 *db, const char *stmt, sqlite3_stmt **result); +void sqlite_reset(sqlite3_stmt *); void sqlite_finalize(sqlite3_stmt *); int sqlite_step(sqlite3_stmt *); +int sqlite_bind_int(sqlite3_stmt *, int column_index, int value); +int sqlite_bind_text(sqlite3_stmt *, int column_index, const char *value); + int sqlite_column_int(sqlite3_stmt *, int column_index); int sqlite_column_text(sqlite3_stmt *, int column_index, char **result); int sqlite_column_blob(sqlite3_stmt *, int column_index, unsigned char **result); |