From 9483c8f1dbde014432c7a99416fcda3a6ccb3563 Mon Sep 17 00:00:00 2001 From: Anna Figueiredo Gomes Date: Mon, 20 Feb 2023 17:12:32 -0300 Subject: initial Signed-off-by: Anna Figueiredo Gomes --- src/db.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/db.h (limited to 'src/db.h') 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 +#include +#include +#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 -- cgit v1.2.3