FreeBSD/contrib/bsnmp/snmp_mibII/mibII.c
/**
 * Restart the idle poll timer.
 */
Restart the idle poll timer.
Restart the idle poll timer .
void
mibif_restart_mibII_poll_timer(void)
{
	if (mibII_poll_timer != NULL)
		timer_stop(mibII_poll_timer);
	if ((mibII_poll_timer = timer_start_repeat(mibII_poll_ticks * 10,
	    mibII_poll_ticks * 10, mibII_idle, NULL, module)) == NULL)
		syslog(LOG_ERR, "timer_start(%u): %m", mibII_poll_ticks);
}
void mibif_restart_mibII_poll_timer ( void ) { if ( mibII_poll_timer != NULL ) timer_stop ( mibII_poll_timer ) ; if ( ( mibII_poll_timer = timer_start_repeat ( mibII_poll_ticks * 10 , mibII_poll_ticks * 10 , mibII_idle , NULL , module ) ) == NULL ) syslog ( LOG_ERR , " " , mibII_poll_ticks ) ; }
Restart the idle poll timer.
Restart the idle poll timer .