zabbix-agent2/src/libs/zbxtrends/cache.c
/******************************************************************************
 *                                                                            *
 * Function: tfc_state_str                                                    *
 *                                                                            *
 * Purpose: return trend cache state in readable format                       *
 *                                                                            *
 ******************************************************************************/
tfc_state_str

Purpose: return trend cache state in readable format
tfc_state_str Purpose : return trend cache state in readable format
static const char	*tfc_state_str(zbx_trend_state_t state)
{
	switch (state)
	{
		case ZBX_TREND_STATE_NORMAL:
			return "cached";
		case ZBX_TREND_STATE_NODATA:
			return "nodata";
		case ZBX_TREND_STATE_OVERFLOW:
			return "overflow";
		default:
			return "unknown";
	}
}
static const char * tfc_state_str ( zbx_trend_state_t state ) { switch ( state ) { case ZBX_TREND_STATE_NORMAL : return " " ; case ZBX_TREND_STATE_NODATA : return " " ; case ZBX_TREND_STATE_OVERFLOW : return " " ; default : return " " ; } }
Function: tfc_state_str                                                    
                                                                            
 Purpose: return trend cache state in readable format
Function : tfc_state_str Purpose : return trend cache state in readable format