diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-15 06:15:06 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-15 06:15:06 +0300 |
commit | 6f319efab77e88e06acb689923ad619bf4c78304 (patch) | |
tree | 8d13fc584108627efb5d6b769e64a690b7d9552a /src/dblayer.h | |
parent | c42092733d664c29d3ac9084859f57ec463f72e3 (diff) | |
download | ck-6f319efab77e88e06acb689923ad619bf4c78304.tar.gz ck-6f319efab77e88e06acb689923ad619bf4c78304.tar.bz2 ck-6f319efab77e88e06acb689923ad619bf4c78304.zip |
variable conf
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); |