aboutsummaryrefslogtreecommitdiffstats
path: root/htop.h
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2015-01-14 11:13:52 +0000
committerDiogo Ferreira <defer@cyngn.com>2015-01-14 11:38:57 +0000
commit841159c272ac08b1cd5bdef5167a8ce11383fbb5 (patch)
treed7272ef150e58eaa1acc9ab62cf9e6c0aecbc2da /htop.h
parente1a8535012ab86d3e926bebfb7731dab1eb7320a (diff)
downloadandroid_external_htop-stable/cm-12.1-YOG3C.tar.gz
android_external_htop-stable/cm-12.1-YOG3C.tar.bz2
android_external_htop-stable/cm-12.1-YOG3C.zip
Change-Id: I416c44803b3a79c2fd752e342ea113875fa533e0
Diffstat (limited to 'htop.h')
-rw-r--r--htop.h36
1 files changed, 5 insertions, 31 deletions
diff --git a/htop.h b/htop.h
index 86533e5..354a2f9 100644
--- a/htop.h
+++ b/htop.h
@@ -4,44 +4,18 @@
#define HEADER_htop
/*
htop - htop.h
-(C) 2004-2010 Hisham H. Muhammad
+(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-#define _GNU_SOURCE
-#include <unistd.h>
-#include <math.h>
-#include <sys/param.h>
-#include <ctype.h>
-#include <stdbool.h>
-#include <locale.h>
-#include <getopt.h>
-
-#include "ProcessList.h"
-#include "CRT.h"
-#include "Panel.h"
-#include "UsersTable.h"
-#include "SignalItem.h"
-#include "RichString.h"
-#include "Settings.h"
-#include "ScreenManager.h"
-#include "FunctionBar.h"
-#include "ListItem.h"
-#include "CategoriesPanel.h"
-#include "SignalsPanel.h"
-#include "TraceScreen.h"
-#include "OpenFilesScreen.h"
-#include "AffinityPanel.h"
-
-#include "config.h"
-#include "debug.h"
-
//#link m
-#define INCSEARCH_MAX 40
+#define COPYRIGHT "(C) 2004-2012 Hisham Muhammad"
+
+typedef bool(*ForeachProcessFn)(Process*, size_t);
-#define COPYRIGHT "(C) 2004-2010 Hisham Muhammad"
+void sortBy(Panel* panel, ProcessList* pl, Settings* settings, int headerHeight, FunctionBar* defaultBar, Header* header);
int main(int argc, char** argv);