diff options
Diffstat (limited to 'src/dblayer.h')
-rw-r--r-- | src/dblayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dblayer.h b/src/dblayer.h index 4fe4d99..e5c0b73 100644 --- a/src/dblayer.h +++ b/src/dblayer.h @@ -21,12 +21,13 @@ enum SqlErrors { typedef struct DBstruct DB; struct DBstruct { - sqlite3 *get; + sqlite3 *ptr; SqlError error; }; extern int db_exists(); extern DB open_DB(); +extern void close_DB(DB *DB); /* init */ extern void init_make_tables(DB *db); |