Source
cmocka_unit_test_setup_teardown(zbx_mock_test_entry, zbx_mock_data_init, zbx_mock_data_free)
/*
** Zabbix
** Copyright (C) 2001-2023 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
/* unresolved symbols needed for linking */
static unsigned char program_type = 0;
unsigned char get_program_type(void)
{
return program_type;
}
static int CONFIG_FORKS[ZBX_PROCESS_TYPE_COUNT] = {
5, /* ZBX_PROCESS_TYPE_POLLER */
1, /* ZBX_PROCESS_TYPE_UNREACHABLE */
0, /* ZBX_PROCESS_TYPE_IPMIPOLLER */
1, /* ZBX_PROCESS_TYPE_PINGER */
0, /* ZBX_PROCESS_TYPE_JAVAPOLLER */
1, /* ZBX_PROCESS_TYPE_HTTPPOLLER */
5, /* ZBX_PROCESS_TYPE_TRAPPER */
0, /* ZBX_PROCESS_TYPE_SNMPTRAPPER */
1, /* ZBX_PROCESS_TYPE_PROXYPOLLER */
1, /* ZBX_PROCESS_TYPE_ESCALATOR */
4, /* ZBX_PROCESS_TYPE_HISTSYNCER */
1, /* ZBX_PROCESS_TYPE_DISCOVERER */
3, /* ZBX_PROCESS_TYPE_ALERTER */
1, /* ZBX_PROCESS_TYPE_TIMER */
1, /* ZBX_PROCESS_TYPE_HOUSEKEEPER */
0, /* ZBX_PROCESS_TYPE_DATASENDER */
1, /* ZBX_PROCESS_TYPE_CONFSYNCER */
1, /* ZBX_PROCESS_TYPE_SELFMON */
0, /* ZBX_PROCESS_TYPE_VMWARE */
0, /* ZBX_PROCESS_TYPE_COLLECTOR */
0, /* ZBX_PROCESS_TYPE_LISTENER */
0, /* ZBX_PROCESS_TYPE_ACTIVE_CHECKS */
1, /* ZBX_PROCESS_TYPE_TASKMANAGER */
0, /* ZBX_PROCESS_TYPE_IPMIMANAGER */
1, /* ZBX_PROCESS_TYPE_ALERTMANAGER */
1, /* ZBX_PROCESS_TYPE_PREPROCMAN */
3, /* ZBX_PROCESS_TYPE_PREPROCESSOR */
1, /* ZBX_PROCESS_TYPE_LLDMANAGER */
2, /* ZBX_PROCESS_TYPE_LLDWORKER */
1, /* ZBX_PROCESS_TYPE_ALERTSYNCER */