Source
19
19
20
20
#ifndef ZABBIX_TRAPPER_H
21
21
#define ZABBIX_TRAPPER_H
22
22
23
23
#include "zbxthreads.h"
24
24
25
25
#include "zbxdbhigh.h"
26
26
#include "zbxcomms.h"
27
27
#include "zbxvault.h"
28
28
#include "zbxpoller.h"
29
+
#include "zbxautoreg.h"
29
30
30
31
zbx_get_program_type_f trapper_get_program_type(void);
31
32
32
33
typedef int (*zbx_trapper_process_request_func_t)(const char *request, zbx_socket_t *sock,
33
34
const struct zbx_json_parse *jp, const zbx_timespec_t *ts, const zbx_config_comms_args_t *config_comms,
34
35
const zbx_config_vault_t *config_vault, int proxydata_frequency,
35
36
zbx_get_program_type_f get_program_type_cb, const zbx_events_funcs_t *events_cbs,
36
37
zbx_get_config_forks_f get_config_forks);
37
38
38
39
typedef struct