From 6f319efab77e88e06acb689923ad619bf4c78304 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 15 Apr 2018 06:15:06 +0300 Subject: variable conf --- src/dblayer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dblayer.h') 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); -- cgit v1.2.3