summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 17:44:55 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 17:44:55 -0200
commit28712f22b1a832018915f7721b394fb693569132 (patch)
tree8a23f627dff7718d31abca1203874f99ba7e717c /freebsd/FreeBSDProcessList.h
parent8a2e235a48320a413602f6096b35a353ea61ef64 (diff)
Reading first bits of data!
Diffstat (limited to 'freebsd/FreeBSDProcessList.h')
-rw-r--r--freebsd/FreeBSDProcessList.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/freebsd/FreeBSDProcessList.h b/freebsd/FreeBSDProcessList.h
index ed9a7a36..9389e3aa 100644
--- a/freebsd/FreeBSDProcessList.h
+++ b/freebsd/FreeBSDProcessList.h
@@ -3,13 +3,21 @@
#ifndef HEADER_FreeBSDProcessList
#define HEADER_FreeBSDProcessList
/*
-htop - UnsupportedProcessList.h
+htop - FreeBSDProcessList.h
(C) 2014 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#include <kvm.h>
+
+typedef struct FreeBSDProcessList_ {
+ ProcessList super;
+ kvm_t* kd;
+} FreeBSDProcessList;
+
+
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList);

© 2014-2024 Faster IT GmbH | imprint | privacy policy