zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: dc_compare_itemscript_param                                      *
 *                                                                            *
 * Purpose: compare two item script parameters                                *
 *                                                                            *
 ******************************************************************************/
dc_compare_itemscript_param

Purpose: compare two item script parameters
dc_compare_itemscript_param Purpose : compare two item script parameters
static int	dc_compare_itemscript_param(const void *d1, const void *d2)
{
	zbx_dc_scriptitem_param_t	*p1 = *(zbx_dc_scriptitem_param_t **)d1;
	zbx_dc_scriptitem_param_t	*p2 = *(zbx_dc_scriptitem_param_t **)d2;
	ZBX_RETURN_IF_NOT_EQUAL(p1->name, p2->name);
	ZBX_RETURN_IF_NOT_EQUAL(p1->value, p2->value);
	return 0;
}
static int dc_compare_itemscript_param ( const void * d1 , const void * d2 ) { zbx_dc_scriptitem_param_t * p1 = * ( zbx_dc_scriptitem_param_t * * ) d1 ; zbx_dc_scriptitem_param_t * p2 = * ( zbx_dc_scriptitem_param_t * * ) d2 ; ZBX_RETURN_IF_NOT_EQUAL ( p1 -> name , p2 -> name ) ; ZBX_RETURN_IF_NOT_EQUAL ( p1 -> value , p2 -> value ) ; return 0 ; }
Function: dc_compare_itemscript_param                                      
                                                                            
 Purpose: compare two item script parameters
Function : dc_compare_itemscript_param Purpose : compare two item script parameters