diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2009-06-02 19:28:19 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2009-06-02 19:28:19 +0000 |
commit | 7ee264680802bd19e4a7ddd3b96c03bf55b2373d (patch) | |
tree | add7f59d375e07bcf28d33ac1062cbfe0bb0f43f /OpenFilesScreen.h | |
parent | 4488caa70acc34b0524ace6d41ce26a7cd3a9cec (diff) |
oops, add missing files
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 00000000..d3290827 --- /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 |