web: Link to the gitweb summary page rather than the shortlog.
[paraslash.git] / signal.h
1 /*
2 * Copyright (C) 2007-2011 Andre Noll <maan@systemlinux.org>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
7 /** \file signal.h exported symbols from signal.c */
8
9 /**
10 * Task for signal handling.
11 */
12 struct signal_task {
13 /** The signal pipe. */
14 int fd;
15 /** The associated task structure. */
16 struct task task;
17 };
18
19 int para_signal_init(void);
20 void para_sigaction(int sig, void (*handler)(int));
21 void para_install_sighandler(int);
22 int para_reap_child(pid_t *pid);
23 int para_next_signal(fd_set *rfds);
24 void para_signal_shutdown(void);