diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:38:17 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:38:17 +0200 |
commit | 57968a8ab19b45b5d128656f6bed2581aee2ef22 (patch) | |
tree | 48e9c560f6f9ffab29debf2cffaaad1acd331c55 /sig.h | |
parent | ab9d73629872a474d9194177fa4c9c8cdabe9a44 (diff) |
sig: add signal handling functions
Add an extra file for signal handling functions.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'sig.h')
-rw-r--r-- | sig.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#ifndef SIG_H +#define SIG_H + +extern void register_signal(int signal, void (*handler)(int)); +extern void register_signal_f(int signal, void (*handler)(int), int flags); + +#endif /* SIG_H */ |