aboutsummaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.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 /OpenFilesScreen.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 'OpenFilesScreen.h')
-rw-r--r--OpenFilesScreen.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h
index 248cac4..b3cdd97 100644
--- a/OpenFilesScreen.h
+++ b/OpenFilesScreen.h
@@ -13,14 +13,18 @@ in the source distribution for its full text.
#include "Panel.h"
#include "FunctionBar.h"
-typedef struct OpenFiles_ProcessData_ {
+typedef struct OpenFiles_Data_ {
char* data[256];
- struct OpenFiles_FileData_* files;
+} OpenFiles_Data;
+
+typedef struct OpenFiles_ProcessData_ {
+ OpenFiles_Data data;
int error;
+ struct OpenFiles_FileData_* files;
} OpenFiles_ProcessData;
typedef struct OpenFiles_FileData_ {
- char* data[256];
+ OpenFiles_Data data;
struct OpenFiles_FileData_* next;
} OpenFiles_FileData;
@@ -29,7 +33,6 @@ typedef struct OpenFilesScreen_ {
pid_t pid;
Panel* display;
FunctionBar* bar;
- bool tracing;
} OpenFilesScreen;

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