htop.h 1.04 KB
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2
3
4
5
6

#ifndef HEADER_htop
#define HEADER_htop
/*
htop - htop.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
(C) 2004-2008 Hisham H. Muhammad
Hisham Muhammad's avatar
Hisham Muhammad committed
8
9
10
11
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

Hisham Muhammad's avatar
Hisham Muhammad committed
12
13
14
15
16
17
#define _GNU_SOURCE
#include <unistd.h>
#include <math.h>
#include <sys/param.h>
#include <ctype.h>
#include <stdbool.h>
18
#include <locale.h>
Hisham Muhammad's avatar
Hisham Muhammad committed
19

Hisham Muhammad's avatar
Hisham Muhammad committed
20
21
#include "ProcessList.h"
#include "CRT.h"
22
#include "Panel.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
23
24
25
26
27
28
29
#include "UsersTable.h"
#include "SignalItem.h"
#include "RichString.h"
#include "Settings.h"
#include "ScreenManager.h"
#include "FunctionBar.h"
#include "ListItem.h"
30
31
#include "CategoriesPanel.h"
#include "SignalsPanel.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
32
#include "TraceScreen.h"
33
#include "AffinityPanel.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
34
35
36
37
38
39
40
41
42
43
44
45

#include "config.h"
#include "debug.h"

//#link m

#define INCSEARCH_MAX 40

void printVersionFlag();

void printHelpFlag();

46
void showHelp(ProcessList* pl);
Hisham Muhammad's avatar
Hisham Muhammad committed
47

Hisham Muhammad's avatar
Hisham Muhammad committed
48
void addUserToList(int key, void* userCast, void* panelCast);
Hisham Muhammad's avatar
Hisham Muhammad committed
49

Hisham Muhammad's avatar
Hisham Muhammad committed
50
void setUserOnly(const char* userName, bool* userOnly, uid_t* userId);
Hisham Muhammad's avatar
Hisham Muhammad committed
51
52
53
54

int main(int argc, char** argv);

#endif