summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.h
blob: 43f95ea3fa2f9c0ba1bb4834745dff3b988416da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef HEADER_OpenFilesScreen
#define HEADER_OpenFilesScreen
/*
htop - OpenFilesScreen.h
(C) 2005-2006 Hisham H. Muhammad
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include <sys/types.h>

#include "InfoScreen.h"
#include "Object.h"
#include "Process.h"


typedef struct OpenFilesScreen_ {
   InfoScreen super;
   pid_t pid;
} OpenFilesScreen;

extern const InfoScreenClass OpenFilesScreen_class;

OpenFilesScreen* OpenFilesScreen_new(const Process* process);

void OpenFilesScreen_delete(Object* this);

#endif