8 printf ("processed hup\n");
14 printf ("processed usr1\n");
20 printf ("processed usr2\n");
23 struct quagga_signal_t sigs
[] =
39 struct thread_master
*master
;
45 master
= thread_master_create ();
46 signal_init (master
, Q_SIGC(sigs
), sigs
);
48 zlog_default
= openzlog("testsig", ZLOG_NONE
,
49 LOG_CONS
|LOG_NDELAY
|LOG_PID
, LOG_DAEMON
);
50 zlog_set_level (NULL
, ZLOG_DEST_SYSLOG
, ZLOG_DISABLED
);
51 zlog_set_level (NULL
, ZLOG_DEST_STDOUT
, LOG_DEBUG
);
52 zlog_set_level (NULL
, ZLOG_DEST_MONITOR
, ZLOG_DISABLED
);
54 while (thread_fetch (master
, &t
))