diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:27 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:27 +0200 |
commit | 283707c5e5bc436b78ea23bf5500cb6b16a01148 (patch) | |
tree | b977131bbbb4c3bd8ade370aab2e4fc913440c04 /CRT.h | |
parent | bea9b4798717b6f4e31085506dfc179eeb8dc17c (diff) | |
download | debian_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.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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); |