aboutsummaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
commit283707c5e5bc436b78ea23bf5500cb6b16a01148 (patch)
treeb977131bbbb4c3bd8ade370aab2e4fc913440c04 /CRT.h
parentbea9b4798717b6f4e31085506dfc179eeb8dc17c (diff)
downloaddebian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.gz
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.bz2
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.zip
Imported Upstream version 0.9upstream/0.9
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/CRT.h b/CRT.h
index 02ed5c4..dcc902f 100644
--- a/CRT.h
+++ b/CRT.h
@@ -4,7 +4,7 @@
#define HEADER_CRT
/*
htop - CRT.h
-(C) 2004-2006 Hisham H. Muhammad
+(C) 2004-2010 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@@ -14,6 +14,7 @@ in the source distribution for its full text.
#include <signal.h>
#include <stdlib.h>
#include <stdbool.h>
+#include <execinfo.h>
#include "String.h"
@@ -59,7 +60,6 @@ typedef enum ColorElements_ {
LED_COLOR,
UPTIME,
BATTERY,
- TASKS_TOTAL,
TASKS_RUNNING,
SWAP,
PROCESS,
@@ -95,14 +95,16 @@ typedef enum ColorElements_ {
CHECK_MARK,
CHECK_TEXT,
CLOCK,
+ HELP_BOLD,
+ HOSTNAME,
CPU_NICE,
CPU_NORMAL,
CPU_KERNEL,
- HELP_BOLD,
CPU_IOWAIT,
CPU_IRQ,
CPU_SOFTIRQ,
- HOSTNAME,
+ CPU_STEAL,
+ CPU_GUEST,
LAST_COLORELEMENT
} ColorElements;
@@ -117,6 +119,8 @@ extern int CRT_colors[LAST_COLORELEMENT];
char* CRT_termType;
+void *backtraceArray[128];
+
// TODO: pass an instance of Settings instead.
void CRT_init(int delay, int colorScheme);

© 2014-2024 Faster IT GmbH | imprint | privacy policy