summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/terminate_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/terminate_handler.h')
-rw-r--r--gnuradio-runtime/lib/terminate_handler.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/terminate_handler.h b/gnuradio-runtime/lib/terminate_handler.h
new file mode 100644
index 0000000000..a7a671b06a
--- /dev/null
+++ b/gnuradio-runtime/lib/terminate_handler.h
@@ -0,0 +1,19 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2018 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#ifndef INCLUDED_GR_TERMINATE_HANDLER_H
+#define INCLUDED_GR_TERMINATE_HANDLER_H
+
+#include <gnuradio/api.h>
+
+namespace gr {
+void install_terminate_handler() GR_RUNTIME_API;
+}
+
+#endif /* INCLUDED_TERMINATE_HANDLER_H */