summaryrefslogtreecommitdiff
path: root/sig.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:38:17 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:38:17 +0200
commit57968a8ab19b45b5d128656f6bed2581aee2ef22 (patch)
tree48e9c560f6f9ffab29debf2cffaaad1acd331c55 /sig.h
parentab9d73629872a474d9194177fa4c9c8cdabe9a44 (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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sig.h b/sig.h
new file mode 100644
index 0000000..10627b8
--- /dev/null
+++ b/sig.h
@@ -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 */