X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.h;h=921448305764109d83907981826e498853e68fbf;hp=9860dd785779641df897eb9177fbd057423f3a25;hb=a08d65fa0cbc5f79632be742b818f621f3dc48d0;hpb=505cfe0c6c8f9ef79d259ee64404ab40f2057081 diff --git a/signal.h b/signal.h index 9860dd78..92144830 100644 --- a/signal.h +++ b/signal.h @@ -1,23 +1,23 @@ /* * Copyright (C) 2007 Andre Noll * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file signal.h exported symbols from signal.c */ +/** + * Task for signal handling. + */ +struct signal_task { + /** The signal pipe. */ + int fd; + /** The number of the most recent signal. */ + int signum; + /** The associated task structure. */ + struct task task; +}; + int para_signal_init(void); int para_install_sighandler(int); void para_reap_children(void);