diff options
author | Eugene V. Lyubimkin <jackyf@debian.org> | 2012-02-19 10:24:46 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
commit | 283008ba7667dcbd771707c7245e6d42acd72478 (patch) | |
tree | e3e2447339bd70fbeb1c211886f95e6292a6d491 /ProcessList.h | |
parent | c65eb8be811f59b55d64d9e7654c33708de79ad9 (diff) | |
parent | e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (diff) | |
download | debian_htop-283008ba7667dcbd771707c7245e6d42acd72478.tar.gz debian_htop-283008ba7667dcbd771707c7245e6d42acd72478.tar.bz2 debian_htop-283008ba7667dcbd771707c7245e6d42acd72478.zip |
Imported Debian patch 1.0.1-1debian/1.0.1-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 |