]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
add signal.h
authorAndre <maan@p133.(none)>
Fri, 5 Jan 2007 17:13:23 +0000 (18:13 +0100)
committerAndre <maan@p133.(none)>
Fri, 5 Jan 2007 17:13:23 +0000 (18:13 +0100)
function declarations have been moved from para.h to signal.h a long time ago.
but signal.h was not added to the git repo.  This worked well all the time,
since signal.h wasn't actually used.

signal.h [new file with mode: 0644]

diff --git a/signal.h b/signal.h
new file mode 100644 (file)
index 0000000..f853d4c
--- /dev/null
+++ b/signal.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ *
+ *     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.
+ */
+
+/** \file signal.h exported symbols from signal.c */
+
+int para_signal_init(void);
+int para_install_sighandler(int);
+void para_reap_children(void);
+pid_t para_reap_child(void);
+int para_next_signal(void);