zabbix-agent2/src/libs/zbxdbcache/dbconfig_maintenance.c
/******************************************************************************
 *                                                                            *
 * Function: dc_compare_tags                                                  *
 *                                                                            *
 * Purpose: compare maintenance tags by tag name for sorting                  *
 *                                                                            *
 ******************************************************************************/
dc_compare_tags

Purpose: compare maintenance tags by tag name for sorting
dc_compare_tags Purpose : compare maintenance tags by tag name for sorting
static int	dc_compare_tags(const void *d1, const void *d2)
{
	const zbx_tag_t	*tag1 = *(const zbx_tag_t **)d1;
	const zbx_tag_t	*tag2 = *(const zbx_tag_t **)d2;
	return strcmp(tag1->tag, tag2->tag);
}
static int dc_compare_tags ( const void * d1 , const void * d2 ) { const zbx_tag_t * tag1 = * ( const zbx_tag_t * * ) d1 ; const zbx_tag_t * tag2 = * ( const zbx_tag_t * * ) d2 ; return strcmp ( tag1 -> tag , tag2 -> tag ) ; }
Function: dc_compare_tags                                                  
                                                                            
 Purpose: compare maintenance tags by tag name for sorting
Function : dc_compare_tags Purpose : compare maintenance tags by tag name for sorting