summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/CRT.h b/CRT.h
index ef992b59..3a60a0e8 100644
--- a/CRT.h
+++ b/CRT.h
@@ -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"
@@ -95,14 +96,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 +120,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);