00001 #ifndef foodaemonsignalhfoo 00002 #define foodaemonsignalhfoo 00003 00004 /* 00005 * This file is part of libdaemon. 00006 * 00007 * libdaemon is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * libdaemon is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with libdaemon; if not, write to the Free Software Foundation, 00019 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00020 */ 00021 00039 int daemon_signal_init(int s, ...); 00040 00045 int daemon_signal_install(int s); 00046 00049 void daemon_signal_done(void); 00050 00056 int daemon_signal_next(void); 00057 00063 int daemon_signal_fd(void); 00064 00065 #endif