summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-05 02:40:39 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-05 02:40:39 +0200
commit61cbdc4b307718d74e8aa04875475aac2f8617ab (patch)
tree897b25bf1ef4809b0c2e67f65f3b1950c0be1978 /src/util.h
parent74922904348e53a992af63c581d4ccd3317ccce0 (diff)
systemctl: implement 'status' command
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 50bac6edf8..8c917148f6 100644
--- a/src/util.h
+++ b/src/util.h
@@ -59,6 +59,9 @@ typedef struct dual_timestamp {
#define FORMAT_TIMESTAMP_MAX 64
#define FORMAT_TIMESPAN_MAX 64
+#define ANSI_HIGHLIGHT_ON "\x1B[1;31m"
+#define ANSI_HIGHLIGHT_OFF "\x1B[0m"
+
usec_t now(clockid_t clock);
dual_timestamp* dual_timestamp_get(dual_timestamp *ts);