9 #ifndef __DB_PLUGIN_SQLITE_H__ 10 #define __DB_PLUGIN_SQLITE_H__ 38 sqlite3*
db_open(
const char *db_path);
Add a raws structure.
Definition: db_plugin_sqlite.h:26
Definition: mongoose.h:1200
Select * from raws.
Definition: db_plugin_sqlite.h:25
Delete a raws structure (Not Implemented yet)
Definition: db_plugin_sqlite.h:27
Definition: mongoose.h:2062
void db_op(struct mg_connection *nc, const struct http_message *hm, const struct mg_str *key, void *db, int op)
Do an operation on the database.
API_Operation
Possible operation to do on the database.
Definition: db_plugin_sqlite.h:23
Definition: mongoose.h:1241
sqlite3 * db_open(const char *db_path)
Open the database and create its tables.
void db_close(void **db_handler)
Close the database.
Do nothing.
Definition: db_plugin_sqlite.h:24