diff options
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,9 +1,23 @@ #include <sqlite3.h> +sqlite3 *db; + +struct post{ + int id; + int parent; + int user; + int created; + int edited; + char *subject; + char *text; +}; + struct user{ int id; char *name; + char *full; char *hash; }; -sqlite3 *db;
\ No newline at end of file +struct post *getpost(int); +struct user *getuser(int);
\ No newline at end of file |