aboutsummaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-12-07 10:26:02 +0100
committerDaniel Lange <DLange@git.local>2020-12-07 10:26:02 +0100
commitd67ee86091f9e07f8d85c1fb77c7c58989e676bb (patch)
tree900f5e62bfd8e8c082be75a94f5348dea819beba /OpenFilesScreen.h
parent3cbc50cde37fee19ce98ee8260b0a6095b829c4c (diff)
parent65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff)
downloaddebian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.gz
debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.bz2
debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.zip
Update upstream source from tag 'upstream/3.0.3'
Update to upstream version '3.0.3' with Debian dir 8a3a733dc80e45b1cde220f88fcfd815869742f0
Diffstat (limited to 'OpenFilesScreen.h')
-rw-r--r--OpenFilesScreen.h29
1 files changed, 7 insertions, 22 deletions
diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h
index 2c83cf1..0fbafe0 100644
--- a/OpenFilesScreen.h
+++ b/OpenFilesScreen.h
@@ -3,40 +3,25 @@
/*
htop - OpenFilesScreen.h
(C) 2005-2006 Hisham H. Muhammad
-Released under the GNU GPL, see the COPYING file
+Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-#include "InfoScreen.h"
-
-typedef struct OpenFiles_Data_ {
- char* data[256];
-} OpenFiles_Data;
-
-typedef struct OpenFiles_ProcessData_ {
- OpenFiles_Data data;
- int error;
- struct OpenFiles_FileData_* files;
-} OpenFiles_ProcessData;
+#include <sys/types.h>
-typedef struct OpenFiles_FileData_ {
- OpenFiles_Data data;
- struct OpenFiles_FileData_* next;
-} OpenFiles_FileData;
+#include "InfoScreen.h"
+#include "Object.h"
+#include "Process.h"
typedef struct OpenFilesScreen_ {
InfoScreen super;
pid_t pid;
} OpenFilesScreen;
-extern InfoScreenClass OpenFilesScreen_class;
+extern const InfoScreenClass OpenFilesScreen_class;
-OpenFilesScreen* OpenFilesScreen_new(Process* process);
+OpenFilesScreen* OpenFilesScreen_new(const Process* process);
void OpenFilesScreen_delete(Object* this);
-void OpenFilesScreen_draw(InfoScreen* this);
-
-void OpenFilesScreen_scan(InfoScreen* this);
-
#endif

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