summaryrefslogtreecommitdiff
path: root/src/db/sqlite3/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sqlite3/db.h')
-rw-r--r--src/db/sqlite3/db.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/db/sqlite3/db.h b/src/db/sqlite3/db.h
new file mode 100644
index 0000000..c6279f9
--- /dev/null
+++ b/src/db/sqlite3/db.h
@@ -0,0 +1,12 @@
+#ifndef DB_H
+#define DB_H
+
+/* initialize data.db file
+ * return values:
+ * 0 -> success
+ * 1 -> failure: could not create directory
+ * 2 -> failure: could not create file
+ */
+int db_init();
+
+#endif