summaryrefslogtreecommitdiff
path: root/src/db.h
blob: d332365561072c59d3cf391263d219e65bea8ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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