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-23 18:12:45 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-23 18:12:45 +0300
commit98648704b5a58f38f366e2167c7570951ab4d2db (patch)
treea5bf5e0e61f1bd85894e2c7fdf8ab46c3c05eb7d /include/comms.h
parentb48a3ac3946c203901a871cb080b497119dfad3b (diff)
...G...... [ZBXNEXT-6923] pass source ip and tls connect mode as parameters
Diffstat (limited to 'include/comms.h')
-rw-r--r--include/comms.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/comms.h b/include/comms.h
index f2da81a3c03..3af5480ebd5 100644
--- a/include/comms.h
+++ b/include/comms.h
@@ -199,7 +199,8 @@ int zbx_send_response_ext(zbx_socket_t *sock, int result, const char *info, cons
zbx_send_response_ext(sock, result, info, ZABBIX_VERSION, ZBX_TCP_PROTOCOL | ZBX_TCP_COMPRESS, timeout)
int zbx_recv_response(zbx_socket_t *sock, int timeout, char **error);
-int connect_to_server(zbx_socket_t *sock, zbx_vector_ptr_t *addrs, int timeout, int retry_interval);
+int connect_to_server(zbx_socket_t *sock, const char *source_ip, zbx_vector_ptr_t *addrs, int timeout,
+ unsigned int tls_connect, int retry_interval);
void disconnect_server(zbx_socket_t *sock);
int get_data_from_server(zbx_socket_t *sock, char **buffer, size_t buffer_size, size_t reserved, char **error);