2009-06-02 19:28:19 +00:00
|
|
|
#ifndef HEADER_OpenFilesScreen
|
|
|
|
#define HEADER_OpenFilesScreen
|
|
|
|
/*
|
|
|
|
htop - OpenFilesScreen.h
|
|
|
|
(C) 2005-2006 Hisham H. Muhammad
|
2020-10-05 09:51:32 +02:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2009-06-02 19:28:19 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2020-09-19 13:55:23 +02:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
2016-01-12 06:00:58 -02:00
|
|
|
#include "InfoScreen.h"
|
2020-09-19 13:55:23 +02:00
|
|
|
#include "Object.h"
|
|
|
|
#include "Process.h"
|
2009-06-02 19:28:19 +00:00
|
|
|
|
|
|
|
typedef struct OpenFilesScreen_ {
|
2016-01-12 06:00:58 -02:00
|
|
|
InfoScreen super;
|
2011-03-28 17:13:28 +00:00
|
|
|
pid_t pid;
|
2009-06-02 19:28:19 +00:00
|
|
|
} OpenFilesScreen;
|
|
|
|
|
2020-10-05 13:19:50 +02:00
|
|
|
extern const InfoScreenClass OpenFilesScreen_class;
|
2016-01-12 06:00:58 -02:00
|
|
|
|
2020-10-07 19:02:23 +02:00
|
|
|
OpenFilesScreen* OpenFilesScreen_new(const Process* process);
|
2009-06-02 19:28:19 +00:00
|
|
|
|
2020-09-02 02:38:44 -05:00
|
|
|
void OpenFilesScreen_delete(Object* this);
|
2016-01-12 06:00:58 -02:00
|
|
|
|
2009-06-02 19:28:19 +00:00
|
|
|
#endif
|