summaryrefslogtreecommitdiffstats
path: root/daemon/signals.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/signals.h')
-rw-r--r--daemon/signals.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/daemon/signals.h b/daemon/signals.h
new file mode 100644
index 0000000..3fa2b0f
--- /dev/null
+++ b/daemon/signals.h
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_SIGNALS_H
+#define NETDATA_SIGNALS_H 1
+
+extern void signals_init(void);
+extern void signals_block(void);
+extern void signals_unblock(void);
+extern void signals_restore_SIGCHLD(void);
+extern void signals_reset(void);
+extern void signals_handle(void) NORETURN;
+
+#endif //NETDATA_SIGNALS_H