summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-12-12 12:21:22 +0100
committerBenBE <BenBE@geshi.org>2021-05-23 09:22:21 +0200
commitfbec3e4005ee88052aae273ce98943f8a3db6382 (patch)
treefff4317267e72248e380cfce0ac0432be8faccf4 /Process.h
parent07a4657a4744de919854b4c38c688861a0469233 (diff)
Refactor makeCommandStr
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index 9887bd13..b4d80b9e 100644
--- a/Process.h
+++ b/Process.h
@@ -241,6 +241,11 @@ static inline bool Process_isChildOf(const Process* this, pid_t pid) {
return pid == Process_getParentPid(this);
}
+#define CMDLINE_HIGHLIGHT_FLAG_SEPARATOR 0x00000001
+#define CMDLINE_HIGHLIGHT_FLAG_BASENAME 0x00000002
+#define CMDLINE_HIGHLIGHT_FLAG_COMM 0x00000004
+#define CMDLINE_HIGHLIGHT_FLAG_DELETED 0x00000008
+
#define ONE_K 1024UL
#define ONE_M (ONE_K * ONE_K)
#define ONE_G (ONE_M * ONE_K)

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