00001 #ifndef foodaemonsignalhfoo 00002 #define foodaemonsignalhfoo 00003 00004 /* $Id: dsignal.h 71 2004-12-18 23:29:50Z lennart $ */ 00005 00006 00007 /* 00008 * This file is part of libdaemon. 00009 * 00010 * libdaemon is free software; you can redistribute it and/or modify it 00011 * under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * libdaemon is distributed in the hope that it will be useful, but 00016 * WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with libdaemon; if not, write to the Free Software Foundation, 00022 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00023 */ 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00046 int daemon_signal_init(int s, ...); 00047 00052 int daemon_signal_install(int s); 00053 00056 void daemon_signal_done(void); 00057 00063 int daemon_signal_next(void); 00064 00070 int daemon_signal_fd(void); 00071 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 00076 #endif