aboutsummaryrefslogtreecommitdiffstats
path: root/src/confparser.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/confparser.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/confparser.h')
-rw-r--r--src/confparser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/confparser.h b/src/confparser.h
index 2ed8f82..197ff3a 100644
--- a/src/confparser.h
+++ b/src/confparser.h
@@ -8,6 +8,9 @@
* ------------------------------------------------------------------ */
#ifndef CONFPARSER_H
#define CONFPARSER_H
+
+#include "actionparser.h"
+
#define CONFIG_VARIABLES_TABLE \
X(VC_dir, " version_control_dir = %s ", "Version Control directory") \
X(SCRT_dir, " secret_dir = %s " , "Secret directory")
@@ -40,6 +43,7 @@ struct ConfigValues {
};
#undef X
-extern int config_file_parse(Conf *conf);
+extern int config_file_parse(Conf *conf, UserOpt *opt);
+extern int init_create_config_file(UserOpt *opt);
#endif // CONFPARSER_H