From f75ab6d2c11e8a8e18191b087564aedebbeb96c5 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:33 +0200 Subject: Imported Upstream version 1.0.3 --- ProcessList.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'ProcessList.h') 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 #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 -- cgit v1.2.3