Source
char *dc_expand_user_and_func_macros_dyn(const char *text, const zbx_uint64_t *hostids, int hostids_num, int env);
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** 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 Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
/* force item rescheduling after new value collection */
typedef struct
{
zbx_uint64_t triggerid;
const char *description;
const char *expression;
const char *recovery_expression;
const char *error;
const char *correlation_tag;
const char *opdata;
const char *event_name;
const unsigned char *expression_bin;
const unsigned char *recovery_expression_bin;
int lastchange;
zbx_uint64_t revision;
zbx_uint64_t timer_revision;
unsigned char topoindex;
unsigned char priority;
unsigned char type;
unsigned char value;
unsigned char state;
unsigned char locked;
unsigned char status;
unsigned char functional; /* see TRIGGER_FUNCTIONAL_* defines */
unsigned char recovery_mode; /* see TRIGGER_RECOVERY_MODE_* defines */