summaryrefslogtreecommitdiff
path: root/src/db/sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sqlite3')
-rw-r--r--src/db/sqlite3/db.c8
-rw-r--r--src/db/sqlite3/db.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/db/sqlite3/db.c b/src/db/sqlite3/db.c
index 30e74a0..aa8485b 100644
--- a/src/db/sqlite3/db.c
+++ b/src/db/sqlite3/db.c
@@ -32,6 +32,14 @@ int db_init() {
return 0;
}
+Group *db_load_groups() {
+ // TODO
+}
+
+Entry *db_load_entries() {
+ // TODO
+}
+
int create_tables(const char *path) {
sqlite3 *db;
char queries[2][BUF_LEN];
diff --git a/src/db/sqlite3/db.h b/src/db/sqlite3/db.h
index c6279f9..44f61b7 100644
--- a/src/db/sqlite3/db.h
+++ b/src/db/sqlite3/db.h
@@ -7,6 +7,14 @@
* 1 -> failure: could not create directory
* 2 -> failure: could not create file
*/
+
+#include "entry.h"
+#include "group.h"
+
int db_init();
+Group *db_load_groups();
+
+Entry *db_load_entries();
+
#endif