From a56994fbaea532e2d2314aeeb917c30031c29f08 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 11 Apr 2025 17:18:52 +0200 Subject: re-organized project structure (no src folder) --- dbhandling.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dbhandling.h (limited to 'dbhandling.h') diff --git a/dbhandling.h b/dbhandling.h new file mode 100644 index 0000000..4f09852 --- /dev/null +++ b/dbhandling.h @@ -0,0 +1,15 @@ +#ifndef _DBHANDLING_ +#define _DBHANDLING_ + +#include +#include +#include +#include +#include + +void exit_with_error(sqlite3 *db, const char *msg); +void select_from_table(sqlite3 *db, char *tblName, char *qp); +void update_entry(sqlite3 *db, char *tblName, char *qp, char *value, char *status); +void add_entry(sqlite3 *db, char *tblName, char *name, char *value, char *status); + +#endif -- cgit v1.2.3