diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:26 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:26 +0200 |
commit | bea9b4798717b6f4e31085506dfc179eeb8dc17c (patch) | |
tree | e6b16257d9e7f8fb87b05dcdb8a0ba8bb3419eb7 /OpenFilesScreen.h | |
parent | 1767b21eb219fb9ac332aca9f7c3abecd97b6b39 (diff) | |
download | debian_htop-bea9b4798717b6f4e31085506dfc179eeb8dc17c.tar.gz debian_htop-bea9b4798717b6f4e31085506dfc179eeb8dc17c.tar.bz2 debian_htop-bea9b4798717b6f4e31085506dfc179eeb8dc17c.zip |
Imported Upstream version 0.8.3upstream/0.8.3
Diffstat (limited to 'OpenFilesScreen.h')
-rw-r--r-- | OpenFilesScreen.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h new file mode 100644 index 0000000..d329082 --- /dev/null +++ b/OpenFilesScreen.h @@ -0,0 +1,53 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_OpenFilesScreen +#define HEADER_OpenFilesScreen +/* +htop - OpenFilesScreen.h +(C) 2005-2006 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#define _GNU_SOURCE +#include <stdio.h> +#include <unistd.h> +#include <stdbool.h> +#include <unistd.h> +#include <fcntl.h> +#include <sys/types.h> +#include <sys/wait.h> + +#include "ProcessList.h" +#include "Process.h" +#include "ListItem.h" +#include "Panel.h" +#include "FunctionBar.h" + + +typedef struct OpenFiles_ProcessData_ { + char* data[256]; + struct OpenFiles_FileData_* files; + bool failed; +} OpenFiles_ProcessData; + +typedef struct OpenFiles_FileData_ { + char* data[256]; + struct OpenFiles_FileData_* next; +} OpenFiles_FileData; + +typedef struct OpenFilesScreen_ { + Process* process; + Panel* display; + FunctionBar* bar; + bool tracing; +} OpenFilesScreen; + + +OpenFilesScreen* OpenFilesScreen_new(Process* process); + +void OpenFilesScreen_delete(OpenFilesScreen* this); + +void OpenFilesScreen_run(OpenFilesScreen* this); + +#endif |