Source
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_AUTOREG_H
21
21
#define ZABBIX_AUTOREG_H
22
22
23
23
#include "zbxdbhigh.h"
24
24
25
25
void zbx_autoreg_host_free(zbx_autoreg_host_t *autoreg_host);
26
26
27
-
void zbx_autoreg_update_host(zbx_uint64_t proxy_hostid, const char *host, const char *ip, const char *dns,
27
+
void zbx_autoreg_update_host(zbx_uint64_t proxyid, const char *host, const char *ip, const char *dns,
28
28
unsigned short port, unsigned int connection_type, const char *host_metadata, unsigned short flags,
29
29
int clock, const zbx_events_funcs_t *events_cbs);
30
30
31
-
void zbx_autoreg_flush_hosts(zbx_vector_ptr_t *autoreg_hosts, zbx_uint64_t proxy_hostid,
31
+
void zbx_autoreg_flush_hosts(zbx_vector_ptr_t *autoreg_hosts, zbx_uint64_t proxyid,
32
32
const zbx_events_funcs_t *events_cbs);
33
33
34
34
void zbx_autoreg_prepare_host(zbx_vector_ptr_t *autoreg_hosts, const char *host, const char *ip, const char *dns,
35
35
unsigned short port, unsigned int connection_type, const char *host_metadata, unsigned short flag,
36
36
int now);
37
37
38
38
#endif