2021-03-08 23:16:14 -05:00
|
|
|
#ifndef DB_H
|
|
|
|
#define DB_H
|
|
|
|
|
2021-03-11 12:48:15 -05:00
|
|
|
#include <sqlite3.h>
|
2021-03-08 23:16:14 -05:00
|
|
|
|
2021-03-11 12:48:15 -05:00
|
|
|
int insert_row(sqlite3 *, const char *, const char *, const char *, const char *);
|
|
|
|
int run_one(sqlite3 *, const char *);
|
|
|
|
int run_script(sqlite3 *, const char *);
|
|
|
|
int sqlite_version(sqlite3 *);
|
|
|
|
int update_one(sqlite3 *, int, const char *, const char *);
|
|
|
|
|
|
|
|
#endif /* DB_H */
|