summaryrefslogtreecommitdiffstats
path: root/SignalsPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'SignalsPanel.h')
-rw-r--r--SignalsPanel.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/SignalsPanel.h b/SignalsPanel.h
new file mode 100644
index 0000000..20fb4a6
--- /dev/null
+++ b/SignalsPanel.h
@@ -0,0 +1,26 @@
+#ifndef HEADER_SignalsPanel
+#define HEADER_SignalsPanel
+/*
+htop - SignalsPanel.h
+(C) 2004-2011 Hisham H. Muhammad
+Released under the GNU GPLv2+, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include "Panel.h"
+
+#ifndef HTOP_SOLARIS
+#include <signal.h>
+#endif
+
+
+typedef struct SignalItem_ {
+ const char* name;
+ int number;
+} SignalItem;
+
+#define SIGNALSPANEL_INITSELECTEDSIGNAL SIGTERM
+
+Panel* SignalsPanel_new(int preSelectedSignal);
+
+#endif