File: OpenFilesScreen.h

package info (click to toggle)
htop 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,832 kB
  • sloc: ansic: 11,911; sh: 4,096; makefile: 165; python: 90
file content (45 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* 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.
*/

#include "InfoScreen.h"

typedef struct OpenFiles_Data_ {
   char* data[256];
} OpenFiles_Data;

typedef struct OpenFiles_ProcessData_ {
   OpenFiles_Data data;
   int error;
   struct OpenFiles_FileData_* files;
} OpenFiles_ProcessData;

typedef struct OpenFiles_FileData_ {
   OpenFiles_Data data;
   struct OpenFiles_FileData_* next;
} OpenFiles_FileData;

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


extern InfoScreenClass OpenFilesScreen_class;

OpenFilesScreen* OpenFilesScreen_new(Process* process);

void OpenFilesScreen_delete(Object* this);

void OpenFilesScreen_draw(InfoScreen* this);

void OpenFilesScreen_scan(InfoScreen* this);

#endif