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:
Diffstat (limited to 'include/cfg.h')
-rw-r--r--include/cfg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/cfg.h b/include/cfg.h
index 096326c49d4..5159053cecb 100644
--- a/include/cfg.h
+++ b/include/cfg.h
@@ -70,11 +70,14 @@ typedef struct
}
zbx_addr_t;
+typedef struct
+{
+ int (*cfg_custom_parameter_parser_func)(const char *value, const struct cfg_line *cfg);
+} cfg_custom_parameter_parser_t;
+
void zbx_addr_copy(zbx_vector_ptr_t *addr_to, const zbx_vector_ptr_t *addr_from);
void zbx_addr_free(zbx_addr_t *addr);
-typedef int (*cfg_custom_parameter_parser_t)(const char *value, struct cfg_line *cfg);
-
int parse_cfg_file(const char *cfg_file, struct cfg_line *cfg, int optional, int strict, int noexit);
int check_cfg_feature_int(const char *parameter, int value, const char *feature);