src/lib/jcr.c
bool init_jcr_subsystem(void)
{
   watchdog_t *wd = new_watchdog();

   wd->one_shot = false;
   wd->interval = 30;   /* FIXME: should be configurable somewhere, even
                         if only with a #define */
   wd->callback = jcr_timeout_check;

   register_watchdog(wd);

   return true;
}
/*
 * Setup to call the timeout check routine every 30 seconds
 *  This routine will check any timers that have been enabled.
 */
Setup to call the timeout check routine every 30 seconds
This routine will check any timers that have been enabled.
Setup to call the timeout check routine every 30 seconds This routine will check any timers that have been enabled .
bool init_jcr_subsystem(void)
{
   watchdog_t *wd = new_watchdog();
   wd->one_shot = false;
   wd->interval = 30;   
   wd->callback = jcr_timeout_check;
   register_watchdog(wd);
   return true;
}
bool init_jcr_subsystem ( void ) { watchdog_t * wd = new_watchdog ( ) ; wd -> one_shot = false ; wd -> interval = 30 ; wd -> callback = jcr_timeout_check ; register_watchdog ( wd ) ; return true ; }
Setup to call the timeout check routine every 30 seconds
  This routine will check any timers that have been enabled.
Setup to call the timeout check routine every 30 seconds This routine will check any timers that have been enabled .
/* FIXME: should be configurable somewhere, even
                         if only with a #define */