00001 #ifndef foodaemonsignalhfoo 00002 #define foodaemonsignalhfoo 00003 00004 /*** 00005 This file is part of libdaemon. 00006 00007 Copyright 2003-2008 Lennart Poettering 00008 00009 libdaemon is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU Lesser General Public License as 00011 published by the Free Software Foundation, either version 2.1 of the 00012 License, or (at your option) any later version. 00013 00014 libdaemon is distributed in the hope that it will be useful, but 00015 WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with libdaemon. If not, see 00021 <http://www.gnu.org/licenses/>. 00022 ***/ 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00045 int daemon_signal_init(int s, ...); 00046 00051 int daemon_signal_install(int s); 00052 00055 void daemon_signal_done(void); 00056 00062 int daemon_signal_next(void); 00063 00069 int daemon_signal_fd(void); 00070 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 00075 #endif