summaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
new file mode 100644
index 0000000..d332365
--- /dev/null
+++ b/src/db.h
@@ -0,0 +1,20 @@
+#ifndef _DB_H_
+#define _DB_H_
+
+#include <sqlite3.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include "feed.h"
+
+static sqlite3 *db;
+static sqlite3_stmt *statement;
+
+bool db_init();
+void db_clean();
+
+struct feed *get_db_feeds();
+size_t get_feed_count();
+//size_t get_item_count();
+
+
+#endif