aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-04-16 14:34:30 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-04-16 14:43:50 +0300
commit94bc38df829c4816e629c7dcaed31b1e7c75bc4b (patch)
treec02d2de0f44462c82e24591127caf66b05d8710d /src/dblayer.h
parentafc0f4906ed9891962d1797581afeb5c61e2e3af (diff)
downloadck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.gz
ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.bz2
ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.zip
Add asan option to cmake
finish init without any asan warnings
Diffstat (limited to 'src/dblayer.h')
-rw-r--r--src/dblayer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dblayer.h b/src/dblayer.h
index e5c0b73..8a57dca 100644
--- a/src/dblayer.h
+++ b/src/dblayer.h
@@ -11,6 +11,8 @@
#include <sqlite3.h>
+#include "actionparser.h"
+
typedef enum SqlErrors SqlError;
enum SqlErrors {
SQL_NO_ERR = 0,
@@ -25,7 +27,7 @@ struct DBstruct {
SqlError error;
};
-extern int db_exists();
+extern int db_exists(UserOpt *opt);
extern DB open_DB();
extern void close_DB(DB *DB);