aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-04-15 06:15:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-04-15 06:15:06 +0300
commit6f319efab77e88e06acb689923ad619bf4c78304 (patch)
tree8d13fc584108627efb5d6b769e64a690b7d9552a /src/dblayer.h
parentc42092733d664c29d3ac9084859f57ec463f72e3 (diff)
downloadck-6f319efab77e88e06acb689923ad619bf4c78304.tar.gz
ck-6f319efab77e88e06acb689923ad619bf4c78304.tar.bz2
ck-6f319efab77e88e06acb689923ad619bf4c78304.zip
variable conf
Diffstat (limited to 'src/dblayer.h')
-rw-r--r--src/dblayer.h3
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);