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:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-24 14:16:59 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-24 14:16:59 +0300
commit5351ca8480b1bce879f233bda972a568b794eb03 (patch)
treeddbf2dadc1d39a09fb7b89a3798007e1fd729928 /include/cfg.h
parenta22e24b5c8649675fab4e5b8cfde88e0d569c83e (diff)
...G...... [ZBXNEXT-6923] pass data to callback for multi threaded use in zabbix sender dll
Diffstat (limited to 'include/cfg.h')
-rw-r--r--include/cfg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cfg.h b/include/cfg.h
index b6bc7795309..8fc43e28db6 100644
--- a/include/cfg.h
+++ b/include/cfg.h
@@ -77,7 +77,8 @@ int parse_cfg_file(const char *cfg_file, struct cfg_line *cfg, int optional, int
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);
-typedef int (*add_serveractive_host_f)(const zbx_vector_ptr_t *addrs, zbx_vector_str_t *hostnames);
-void zbx_set_data_destination_hosts(char *active_hosts, const char *name, add_serveractive_host_f cb, zbx_vector_str_t *hostnames);
+typedef int (*add_serveractive_host_f)(const zbx_vector_ptr_t *addrs, zbx_vector_str_t *hostnames, void *data);
+void zbx_set_data_destination_hosts(char *str, const char *name, add_serveractive_host_f cb,
+ zbx_vector_str_t *hostnames, void *data);
#endif