2009-06-02 19:28:19 +00:00
|
|
|
/* 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.
|
|
|
|
*/
|
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
#include "InfoScreen.h"
|
2009-06-02 19:28:19 +00:00
|
|
|
|
2014-04-22 21:48:15 +00:00
|
|
|
typedef struct OpenFiles_Data_ {
|
|
|
|
char* data[256];
|
|
|
|
} OpenFiles_Data;
|
|
|
|
|
2009-06-02 19:28:19 +00:00
|
|
|
typedef struct OpenFiles_ProcessData_ {
|
2014-04-22 21:48:15 +00:00
|
|
|
OpenFiles_Data data;
|
2009-10-16 20:15:01 +00:00
|
|
|
int error;
|
2014-04-22 21:48:15 +00:00
|
|
|
struct OpenFiles_FileData_* files;
|
2009-06-02 19:28:19 +00:00
|
|
|
} OpenFiles_ProcessData;
|
|
|
|
|
|
|
|
typedef struct OpenFiles_FileData_ {
|
2014-04-22 21:48:15 +00:00
|
|
|
OpenFiles_Data data;
|
2009-06-02 19:28:19 +00:00
|
|
|
struct OpenFiles_FileData_* next;
|
|
|
|
} OpenFiles_FileData;
|
|
|
|
|
|
|
|
typedef struct OpenFilesScreen_ {
|
2016-01-12 08:00:58 +00:00
|
|
|
InfoScreen super;
|
2011-03-28 17:13:28 +00:00
|
|
|
pid_t pid;
|
2009-06-02 19:28:19 +00:00
|
|
|
} OpenFilesScreen;
|
|
|
|
|
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
extern InfoScreenClass OpenFilesScreen_class;
|
|
|
|
|
2009-06-02 19:28:19 +00:00
|
|
|
OpenFilesScreen* OpenFilesScreen_new(Process* process);
|
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
void OpenFilesScreen_delete(Object* this);
|
|
|
|
|
|
|
|
void OpenFilesScreen_draw(InfoScreen* this);
|
2009-06-02 19:28:19 +00:00
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
void OpenFilesScreen_scan(InfoScreen* this);
|
2009-06-02 19:28:19 +00:00
|
|
|
|
|
|
|
#endif
|