diff options
author | Julien Dessaux | 2019-03-27 15:20:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2019-03-27 15:21:16 +0100 |
commit | 455172075b6de6ffbb3900cb948c95844e27acd3 (patch) | |
tree | c0bca8b2b3dce39067ca22a4f620d58a8f690a89 /common/data_for_config.h | |
parent | Cleaning and reordering. (diff) | |
download | bastion-455172075b6de6ffbb3900cb948c95844e27acd3.tar.gz bastion-455172075b6de6ffbb3900cb948c95844e27acd3.tar.bz2 bastion-455172075b6de6ffbb3900cb948c95844e27acd3.zip |
Removed mysql dependency and fetch all configuration from configuration file.
Diffstat (limited to '')
-rw-r--r-- | common/data_for_config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/data_for_config.h b/common/data_for_config.h new file mode 100644 index 0000000..acf0cac --- /dev/null +++ b/common/data_for_config.h @@ -0,0 +1,10 @@ +#ifndef COMMON_DATA_FOR_CONFIG_H_ +#define COMMON_DATA_FOR_CONFIG_H_ + +#include <libconfig.h> +#include "data.h" + +char // returns 0 if ok, something else otherwise +data_init(const config_t * config); + +#endif |