Source
typedef void(*zbx_flush_value_func_t)(zbx_pp_manager_t *manager, zbx_uint64_t itemid, unsigned char value_type,
/*
** Zabbix
** Copyright (C) 2001-2022 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.
**/
typedef void (*zbx_pp_notify_cb_t)(void *data);
/* preprocessing step execution result */
typedef struct
{
zbx_variant_t value;
zbx_variant_t value_raw;
int action;
}
zbx_pp_result_t;
ZBX_PTR_VECTOR_DECL(pp_result_ptr, zbx_pp_result_t *)
void zbx_pp_result_free(zbx_pp_result_t *result);
typedef enum
{
ZBX_PP_TASK_TEST = 1,
ZBX_PP_TASK_VALUE,
ZBX_PP_TASK_VALUE_SEQ,
ZBX_PP_TASK_DEPENDENT,
ZBX_PP_TASK_SEQUENCE
}
zbx_pp_task_type_t;
typedef struct
{
zbx_pp_task_type_t type;