Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandrs Saveljevs <git-no-reply@zabbix.com>2015-09-23 14:37:34 +0300
committerAleksandrs Saveljevs <git-no-reply@zabbix.com>2015-09-23 14:37:34 +0300
commitfb31e5f63fe3b8069896ffae230cc446f28d4066 (patch)
tree9c1a52caacfad3343de1864e43570344ab300288 /include/cfg.h
parent468041f2b4045826d4e6c3d5a69dd847a4e9abea (diff)
...G...PS. [ZBXNEXT-1263] fixing (22): simplified code that checks for configuration options not being available due to a feature not being compiled in
Diffstat (limited to 'include/cfg.h')
-rw-r--r--include/cfg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cfg.h b/include/cfg.h
index 310df5bc9be..4a51403ac56 100644
--- a/include/cfg.h
+++ b/include/cfg.h
@@ -53,4 +53,7 @@ struct cfg_line
int parse_cfg_file(const char *cfg_file, struct cfg_line *cfg, int optional, int strict);
+int check_cfg_feature_int(const char *parameter, int value, const char *feature);
+int check_cfg_feature_str(const char *parameter, const char *value, const char *feature);
+
#endif