zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: zbx_set_availability_update_ts                                   *
 *                                                                            *
 * Purpose: sets timestamp of the last availability update                    *
 *                                                                            *
 * Parameter: ts - [IN] the last availability update timestamp                *
 *                                                                            *
 * Comments: This function is used only by proxies when preparing host        *
 *           availability data to be sent to server.                          *
 *                                                                            *
 ******************************************************************************/
zbx_set_availability_update_ts

Purpose: sets timestamp of the last availability update

Parameter: ts - [IN] the last availability update timestamp

Comments: This function is used only by proxies when preparing host
availability data to be sent to server.
zbx_set_availability_update_ts Purpose : sets timestamp of the last availability update Parameter : ts - [ IN ] the last availability update timestamp Comments : This function is used only by proxies when preparing host availability data to be sent to server .
void	zbx_set_availability_diff_ts(int ts)
{
	config->availability_diff_ts = ts;
}
void zbx_set_availability_diff_ts ( int ts ) { config -> availability_diff_ts = ts ; }
Function: zbx_set_availability_update_ts                                   
                                                                            
 Purpose: sets timestamp of the last availability update                    
                                                                            
 Parameter: ts - [IN] the last availability update timestamp                
                                                                            
 Comments: This function is used only by proxies when preparing host        
           availability data to be sent to server.
Function : zbx_set_availability_update_ts Purpose : sets timestamp of the last availability update Parameter : ts - [ IN ] the last availability update timestamp Comments : This function is used only by proxies when preparing host availability data to be sent to server .
/* this data can't be accessed simultaneously from multiple processes - locking is not necessary */