2006-05-30 13:47:28 +00:00
|
|
|
#ifndef HEADER_SignalsPanel
|
|
|
|
#define HEADER_SignalsPanel
|
2011-12-26 21:35:57 +00:00
|
|
|
/*
|
|
|
|
htop - SignalsPanel.h
|
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2021-09-22 09:33:00 +00:00
|
|
|
Released under the GNU GPLv2+, see the COPYING file
|
2011-12-26 21:35:57 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2022-05-06 13:11:02 +00:00
|
|
|
#include "config.h" // IWYU pragma: keep
|
|
|
|
|
|
|
|
#ifndef HTOP_SOLARIS
|
2021-12-05 18:30:32 +00:00
|
|
|
#include <signal.h>
|
2022-05-06 13:11:02 +00:00
|
|
|
#endif
|
2021-12-05 18:30:32 +00:00
|
|
|
|
2020-09-19 11:55:23 +00:00
|
|
|
#include "Panel.h"
|
|
|
|
|
2021-04-29 15:12:43 +00:00
|
|
|
|
2011-11-05 04:55:05 +00:00
|
|
|
typedef struct SignalItem_ {
|
|
|
|
const char* name;
|
|
|
|
int number;
|
|
|
|
} SignalItem;
|
|
|
|
|
2021-12-05 18:30:32 +00:00
|
|
|
#define SIGNALSPANEL_INITSELECTEDSIGNAL SIGTERM
|
|
|
|
|
|
|
|
Panel* SignalsPanel_new(int preSelectedSignal);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|