diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
commit | e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (patch) | |
tree | c4e410dd878ceed9fc058d14bad8011b423212fe /ProcessList.h | |
parent | eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff) | |
download | debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.gz debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.bz2 debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.zip |
Imported Upstream version 1.0.1upstream/1.0.1
Diffstat (limited to 'ProcessList.h')
-rw-r--r-- | ProcessList.h | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/ProcessList.h b/ProcessList.h index 641a08c..d7a5ef9 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -9,32 +9,12 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ -#ifndef CONFIG_H -#define CONFIG_H -#include "config.h" -#endif - -#include "Process.h" #include "Vector.h" -#include "UsersTable.h" #include "Hashtable.h" -#include "String.h" - +#include "UsersTable.h" +#include "Panel.h" +#include "Process.h" #include <sys/types.h> -#include <sys/stat.h> -#include <unistd.h> -#include <dirent.h> -#include <stdlib.h> -#include <stdio.h> -#include <signal.h> -#include <stdbool.h> -#include <sys/utsname.h> -#include <stdarg.h> -#include <math.h> - -#include "debug.h" -#include <assert.h> - #ifndef PROCDIR #define PROCDIR "/proc" @@ -111,6 +91,13 @@ typedef struct ProcessList_ { Hashtable* processTable; UsersTable* usersTable; + Panel* panel; + int following; + bool userOnly; + uid_t userId; + bool filtering; + const char* incFilter; + int cpuCount; int totalTasks; int userlandThreads; @@ -161,6 +148,8 @@ ProcessList* ProcessList_new(UsersTable* usersTable); void ProcessList_delete(ProcessList* this); +void ProcessList_setPanel(ProcessList* this, Panel* panel); + void ProcessList_invertSortOrder(ProcessList* this); void ProcessList_printHeader(ProcessList* this, RichString* header); @@ -194,4 +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); + #endif |