#include "zbxmockassert.h"
#include "../../../src/zabbix_server/server.h"
#include "mock_service.h"
zbx_uint64_t __wrap_zbx_dc_get_nextid(const char *table_name, int num);
void *__wrap_zbx_add_event(unsigned char source, unsigned char object, zbx_uint64_t objectid,
const zbx_timespec_t *timespec, int value, const char *trigger_description,
const char *trigger_expression, const char *trigger_recovery_expression, unsigned char trigger_priority,
unsigned char trigger_type, const zbx_vector_ptr_t *trigger_tags,
unsigned char trigger_correlation_mode, const char *trigger_correlation_tag,
unsigned char trigger_value, const char *trigger_opdata, const char *event_name, const char *error);
int __wrap_zbx_process_events(zbx_vector_ptr_t *trigger_diff, zbx_vector_uint64_t *triggerids_lock);
void __wrap_zbx_clean_events(void);
int __wrap_zbx_interface_availability_is_set(const void *ia);
int get_process_info_by_thread(int local_server_num, unsigned char *local_process_type, int *local_process_num);
int CONFIG_SERVICEMAN_SYNC_FREQUENCY = 0;
void zbx_update_selfmon_counter(const zbx_thread_info_t *info, unsigned char state)
int get_process_info_by_thread(int local_server_num, unsigned char *local_process_type, int *local_process_num)
ZBX_UNUSED(local_server_num);
ZBX_UNUSED(local_process_type);
ZBX_UNUSED(local_process_num);