2 * This file is part of Quagga.
4 * Quagga is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2, or (at your option) any
9 * Quagga is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Quagga; see the file COPYING. If not, write to the Free
16 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 #include "lib/memory.h"
28 printf ("processed hup\n");
34 printf ("processed usr1\n");
40 printf ("processed usr2\n");
43 struct quagga_signal_t sigs[] =
59 struct thread_master *master;
64 master = thread_master_create ();
65 signal_init (master, array_size(sigs), sigs);
67 zlog_default = openzlog("testsig", ZLOG_NONE,
68 LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
69 zlog_set_level (NULL, ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
70 zlog_set_level (NULL, ZLOG_DEST_STDOUT, LOG_DEBUG);
71 zlog_set_level (NULL, ZLOG_DEST_MONITOR, ZLOG_DISABLED);