aboutsummaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2023-02-05 04:25:56 +0100
committerDaniel Lange <DLange@git.local>2023-02-05 04:25:56 +0100
commitf288666edc9180a2e81e6655951878124f321df6 (patch)
treeda70bf44b2423f6f8e9a070c063fed79d190b489 /Process.h
parent937052b231259a47d881d539ad5748245ef55b99 (diff)
downloaddebian_htop-f288666edc9180a2e81e6655951878124f321df6.tar.gz
debian_htop-f288666edc9180a2e81e6655951878124f321df6.tar.bz2
debian_htop-f288666edc9180a2e81e6655951878124f321df6.zip
New upstream version 3.2.2upstream/3.2.2
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Process.h b/Process.h
index a1ca50f..eb79470 100644
--- a/Process.h
+++ b/Process.h
@@ -134,6 +134,9 @@ typedef struct Process_ {
/* This is a userland thread / LWP */
bool isUserlandThread;
+ /* This process is running inside a container */
+ bool isRunningInContainer;
+
/* Controlling terminal identifier of the process */
unsigned long int tty_nr;
@@ -242,7 +245,7 @@ typedef struct Process_ {
/*
* Internal state for tree-mode.
*/
- int indent;
+ int32_t indent;
unsigned int tree_depth;
/* Has no known parent process */
@@ -328,6 +331,7 @@ static inline bool Process_isThread(const Process* this) {
#define CMDLINE_HIGHLIGHT_FLAG_BASENAME 0x00000002
#define CMDLINE_HIGHLIGHT_FLAG_COMM 0x00000004
#define CMDLINE_HIGHLIGHT_FLAG_DELETED 0x00000008
+#define CMDLINE_HIGHLIGHT_FLAG_PREFIXDIR 0x00000010
#define ONE_K 1024UL
#define ONE_M (ONE_K * ONE_K)

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