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