aboutsummaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:33 +0200
commitf75ab6d2c11e8a8e18191b087564aedebbeb96c5 (patch)
tree2a046e11678e798f3f9c7f7af4f9ac205c8d2731 /ProcessList.h
parent2004bbc3ef28ada3acca05f5d5fa9108121a6784 (diff)
downloaddebian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.gz
debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.bz2
debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.zip
Imported Upstream version 1.0.3upstream/1.0.3
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 34bd5e8..1f3549a 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -14,7 +14,6 @@ in the source distribution for its full text.
#include "UsersTable.h"
#include "Panel.h"
#include "Process.h"
-#include <sys/types.h>
#ifndef PROCDIR
#define PROCDIR "/proc"
@@ -51,12 +50,6 @@ typedef enum TreeStr_ {
TREE_STR_COUNT
} TreeStr;
-typedef enum TreeType_ {
- TREE_TYPE_AUTO,
- TREE_TYPE_ASCII,
- TREE_TYPE_UTF8,
-} TreeType;
-
typedef struct CPUData_ {
unsigned long long int totalTime;
unsigned long long int userTime;
@@ -86,6 +79,7 @@ typedef struct CPUData_ {
} CPUData;
typedef struct ProcessList_ {
+ const char **treeStr;
Vector* processes;
Vector* processes2;
Hashtable* processTable;
@@ -93,9 +87,7 @@ typedef struct ProcessList_ {
Panel* panel;
int following;
- bool userOnly;
uid_t userId;
- bool filtering;
const char* incFilter;
Hashtable* pidWhiteList;
@@ -121,6 +113,7 @@ typedef struct ProcessList_ {
unsigned long long int usedSwap;
unsigned long long int freeSwap;
+ int flags;
ProcessField* fields;
ProcessField sortKey;
int direction;
@@ -137,7 +130,8 @@ typedef struct ProcessList_ {
bool detailedCPUTime;
bool countCPUsFromZero;
bool updateProcessNames;
- const char **treeStr;
+ bool accountGuestInCPUMeter;
+ bool userOnly;
} ProcessList;
@@ -178,6 +172,10 @@ void ProcessList_sort(ProcessList* this);
#endif
+#ifdef HAVE_OOM
+
+#endif
+
void ProcessList_scan(ProcessList* this);
@@ -185,6 +183,6 @@ ProcessField ProcessList_keyAt(ProcessList* this, int at);
void ProcessList_expandTree(ProcessList* this);
-void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool userOnly, uid_t userId, bool filtering, const char* incFilter);
+void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool userOnly, uid_t userId, const char* incFilter);
#endif

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