zabbix-agent2/src/libs/zbxdbhigh/proxy.c
/******************************************************************************
 *                                                                            *
 * Function: zbx_update_proxy_lasterror                                       *
 *                                                                            *
 * Purpose: flushes last_version_error_time changes runtime                   *
 *          variable for proxies structures                                   *
 *                                                                            *
 ******************************************************************************/
zbx_update_proxy_lasterror

Purpose: flushes last_version_error_time changes runtime
variable for proxies structures
zbx_update_proxy_lasterror Purpose : flushes last_version_error_time changes runtime variable for proxies structures
static void	zbx_update_proxy_lasterror(DC_PROXY *proxy)
{
	zbx_proxy_diff_t	diff;
	diff.hostid = proxy->hostid;
	diff.flags = ZBX_FLAGS_PROXY_DIFF_UPDATE_LASTERROR;
	diff.lastaccess = time(NULL);
	diff.last_version_error_time = proxy->last_version_error_time;
	zbx_dc_update_proxy(&diff);
}
static void zbx_update_proxy_lasterror ( DC_PROXY * proxy ) { zbx_proxy_diff_t diff ; diff . hostid = proxy -> hostid ; diff . flags = ZBX_FLAGS_PROXY_DIFF_UPDATE_LASTERROR ; diff . lastaccess = time ( NULL ) ; diff . last_version_error_time = proxy -> last_version_error_time ; zbx_dc_update_proxy ( & diff ) ; }
Function: zbx_update_proxy_lasterror                                       
                                                                            
 Purpose: flushes last_version_error_time changes runtime                   
          variable for proxies structures
Function : zbx_update_proxy_lasterror Purpose : flushes last_version_error_time changes runtime variable for proxies structures