diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 15:53:11 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 17:37:44 +0200 |
commit | 0600cacfadf00e916340f2394f1d3bfc173a3d0b (patch) | |
tree | 4b1900b096de3d2b3ad49094e86adc310ec79dac /src/sqlite.h | |
parent | test: attempt to fix random port selection again (diff) | |
download | cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.tar.gz cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.zip |
store process output in SQLite
Diffstat (limited to 'src/sqlite.h')
-rw-r--r-- | src/sqlite.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqlite.h b/src/sqlite.h index 20386d4..556684f 100644 --- a/src/sqlite.h +++ b/src/sqlite.h @@ -10,6 +10,8 @@ #include <sqlite3.h> +#include <stddef.h> + int sqlite_init(void); void sqlite_destroy(void); @@ -27,6 +29,7 @@ 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_bind_blob(sqlite3_stmt *, int column_index, unsigned char *value, size_t nb); int sqlite_column_int(sqlite3_stmt *, int column_index); int sqlite_column_text(sqlite3_stmt *, int column_index, char **result); |