zabbix-agent2/src/zabbix_server/actions.c
/******************************************************************************
 *                                                                            *
 * Function: zbx_conditions_eval_clean                                        *
 *                                                                            *
 * Purpose: cleans condition data structures from hashset                     *
 *                                                                            *
 * Parameters: uniq_conditions - [IN] hashset with data structures to clean   *
 *                                                                            *
 ******************************************************************************/
zbx_conditions_eval_clean

Purpose: cleans condition data structures from hashset

Parameters: uniq_conditions - [IN] hashset with data structures to clean
zbx_conditions_eval_clean Purpose : cleans condition data structures from hashset Parameters : uniq_conditions - [ IN ] hashset with data structures to clean
static void	conditions_eval_clean(zbx_hashset_t *uniq_conditions)
{
	zbx_hashset_iter_t	iter;
	zbx_condition_t		*condition;
	zbx_hashset_iter_reset(uniq_conditions, &iter);
	while (NULL != (condition = (zbx_condition_t *)zbx_hashset_iter_next(&iter)))
		db_condition_clean(condition);
}
static void conditions_eval_clean ( zbx_hashset_t * uniq_conditions ) { zbx_hashset_iter_t iter ; zbx_condition_t * condition ; zbx_hashset_iter_reset ( uniq_conditions , & iter ) ; while ( NULL != ( condition = ( zbx_condition_t * ) zbx_hashset_iter_next ( & iter ) ) ) db_condition_clean ( condition ) ; }
Function: zbx_conditions_eval_clean                                        
                                                                            
 Purpose: cleans condition data structures from hashset                     
                                                                            
 Parameters: uniq_conditions - [IN] hashset with data structures to clean
Function : zbx_conditions_eval_clean Purpose : cleans condition data structures from hashset Parameters : uniq_conditions - [ IN ] hashset with data structures to clean