zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: zbx_interface_availability_is_set                                *
 *                                                                            *
 * Purpose: checks interface availability if agent availability field is set  *
 *                                                                            *
 * Parameters: ia - [IN] interface availability data                          *
 *                                                                            *
 * Return value: SUCCEED - an agent availability field is set                 *
 *               FAIL - no agent availability field is set                    *
 *                                                                            *
 ******************************************************************************/
zbx_interface_availability_is_set

Purpose: checks interface availability if agent availability field is set

Parameters: ia - [IN] interface availability data

Return value: SUCCEED - an agent availability field is set
FAIL - no agent availability field is set
zbx_interface_availability_is_set Purpose : checks interface availability if agent availability field is set Parameters : ia - [ IN ] interface availability data Return value : SUCCEED - an agent availability field is set FAIL - no agent availability field is set
int	zbx_interface_availability_is_set(const zbx_interface_availability_t *ia)
{
	if (ZBX_FLAGS_AGENT_STATUS_NONE != ia->agent.flags)
		return SUCCEED;
	return FAIL;
}
int zbx_interface_availability_is_set ( const zbx_interface_availability_t * ia ) { if ( ZBX_FLAGS_AGENT_STATUS_NONE != ia -> agent . flags ) return SUCCEED ; return FAIL ; }
Function: zbx_interface_availability_is_set                                
                                                                            
 Purpose: checks interface availability if agent availability field is set  
                                                                            
 Parameters: ia - [IN] interface availability data                          
                                                                            
 Return value: SUCCEED - an agent availability field is set                 
               FAIL - no agent availability field is set
Function : zbx_interface_availability_is_set Purpose : checks interface availability if agent availability field is set Parameters : ia - [ IN ] interface availability data Return value : SUCCEED - an agent availability field is set FAIL - no agent availability field is set