aboutsummaryrefslogtreecommitdiffstats
path: root/Affinity.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 /Affinity.h
parente1a8535012ab86d3e926bebfb7731dab1eb7320a (diff)
downloadandroid_external_htop-cm-14.0.tar.gz
android_external_htop-cm-14.0.tar.bz2
android_external_htop-cm-14.0.zip
Change-Id: I416c44803b3a79c2fd752e342ea113875fa533e0
Diffstat (limited to 'Affinity.h')
-rw-r--r--Affinity.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Affinity.h b/Affinity.h
new file mode 100644
index 0000000..3a19ea4
--- /dev/null
+++ b/Affinity.h
@@ -0,0 +1,27 @@
+/* Do not edit this file. It was automatically generated. */
+
+#ifndef HEADER_Affinity
+#define HEADER_Affinity
+/*
+htop - Affinity.h
+(C) 2004-2011 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
+
+
+typedef struct Affinity_ {
+ int size;
+ int used;
+ int* cpus;
+} Affinity;
+
+
+Affinity* Affinity_new();
+
+void Affinity_delete(Affinity* this);
+
+void Affinity_add(Affinity* this, int id);
+
+
+#endif