X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.h;h=1dbfc98193fba8ba067314ef4abc0e0453f39df5;hp=68c0ae1fceb762c0fb278e064168c57f07ec147d;hb=8d00849555d99c5434610753ad0e4cc93fb7bb64;hpb=c8862b9e246b4ef6ff1fe103946e18cf2537ecde diff --git a/signal.h b/signal.h index 68c0ae1f..1dbfc981 100644 --- a/signal.h +++ b/signal.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2008 Andre Noll + * Copyright (C) 2007-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -12,15 +12,13 @@ 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); +void para_sigaction(int sig, void (*handler)(int)); +void para_install_sighandler(int); int para_reap_child(pid_t *pid); -int para_next_signal(void); +int para_next_signal(fd_set *rfds); void para_signal_shutdown(void);