From 4c8bc0158a6a14e2956d48ebe0caf5cc681e9dd8 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 2 Jun 2009 19:32:54 +0000 Subject: Add missing file. --- OpenFilesScreen.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 OpenFilesScreen.h 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 +#include +#include +#include +#include +#include +#include + +#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 -- cgit v1.2.3