2006-06-06 20:28:42 +00:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#ifndef HEADER_htop
|
|
|
|
#define HEADER_htop
|
|
|
|
/*
|
|
|
|
htop - htop.h
|
|
|
|
(C) 2004-2006 Hisham H. Muhammad
|
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2006-06-06 20:28:42 +00:00
|
|
|
#define _GNU_SOURCE
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
#include "ProcessList.h"
|
|
|
|
#include "CRT.h"
|
2006-05-30 13:47:28 +00:00
|
|
|
#include "Panel.h"
|
2006-03-04 18:16:49 +00:00
|
|
|
#include "UsersTable.h"
|
|
|
|
#include "SignalItem.h"
|
|
|
|
#include "RichString.h"
|
|
|
|
#include "Settings.h"
|
|
|
|
#include "ScreenManager.h"
|
|
|
|
#include "FunctionBar.h"
|
|
|
|
#include "ListItem.h"
|
2006-05-30 13:47:28 +00:00
|
|
|
#include "CategoriesPanel.h"
|
|
|
|
#include "SignalsPanel.h"
|
2006-06-06 20:28:42 +00:00
|
|
|
#include "TraceScreen.h"
|
2007-11-08 23:23:01 +00:00
|
|
|
#include "AffinityPanel.h"
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
//#link m
|
|
|
|
|
|
|
|
#define INCSEARCH_MAX 40
|
|
|
|
|
|
|
|
void printVersionFlag();
|
|
|
|
|
|
|
|
void printHelpFlag();
|
|
|
|
|
2007-08-10 06:13:13 +00:00
|
|
|
void showHelp(ProcessList* pl);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2006-06-06 20:28:42 +00:00
|
|
|
void addUserToList(int key, void* userCast, void* panelCast);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2006-06-06 20:28:42 +00:00
|
|
|
void setUserOnly(const char* userName, bool* userOnly, uid_t* userId);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
int main(int argc, char** argv);
|
|
|
|
|
|
|
|
#endif
|