zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: dc_trigger_deplist_release                                       *
 *                                                                            *
 * Purpose: releases trigger dependency list, removing it if necessary        *
 *                                                                            *
 ******************************************************************************/
dc_trigger_deplist_release

Purpose: releases trigger dependency list, removing it if necessary
dc_trigger_deplist_release Purpose : releases trigger dependency list removing it if necessary
static int	dc_trigger_deplist_release(ZBX_DC_TRIGGER_DEPLIST *trigdep)
{
	if (0 == --trigdep->refcount)
	{
		zbx_vector_ptr_destroy(&trigdep->dependencies);
		zbx_hashset_remove_direct(&config->trigdeps, trigdep);
		return SUCCEED;
	}
	return FAIL;
}
static int dc_trigger_deplist_release ( ZBX_DC_TRIGGER_DEPLIST * trigdep ) { if ( 0 == -- trigdep -> refcount ) { zbx_vector_ptr_destroy ( & trigdep -> dependencies ) ; zbx_hashset_remove_direct ( & config -> trigdeps , trigdep ) ; return SUCCEED ; } return FAIL ; }
Function: dc_trigger_deplist_release                                       
                                                                            
 Purpose: releases trigger dependency list, removing it if necessary
Function : dc_trigger_deplist_release Purpose : releases trigger dependency list removing it if necessary