aboutsummaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'db.h')
-rw-r--r--db.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/db.h b/db.h
index a70e156..81a6bcd 100644
--- a/db.h
+++ b/db.h
@@ -19,5 +19,6 @@ struct user{
char *hash;
};
-struct post *getpost(int);
-struct user *getuser(int); \ No newline at end of file
+sqlite3_stmt *byid(char *, int);
+struct post *getpost(sqlite3_stmt *, int);
+struct user *getuser(sqlite3_stmt *, int); \ No newline at end of file