summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-10-19 17:22:54 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-10-19 17:22:54 -0200
commit78f2933e2b166f709bfa339c4834ff9610f842b4 (patch)
treeb1f0929c0510e7c3c32a302425808769a959b2e9 /freebsd/FreeBSDProcessList.h
parente906c0dddb051ca7e1960691ab783b7e9e6212cf (diff)
Regenerate platform-dependent headers.
Closes #293.
Diffstat (limited to 'freebsd/FreeBSDProcessList.h')
-rw-r--r--freebsd/FreeBSDProcessList.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/freebsd/FreeBSDProcessList.h b/freebsd/FreeBSDProcessList.h
index 9889f7c2..d3ccfc3a 100644
--- a/freebsd/FreeBSDProcessList.h
+++ b/freebsd/FreeBSDProcessList.h
@@ -11,6 +11,12 @@ in the source distribution for its full text.
#include <kvm.h>
+#include <sys/param.h>
+#include <sys/jail.h>
+#include <sys/uio.h>
+
+#define JAIL_ERRMSGLEN 1024
+char jail_errmsg[JAIL_ERRMSGLEN];
typedef struct CPUData_ {
unsigned long long int totalTime;
@@ -32,6 +38,8 @@ void ProcessList_delete(ProcessList* this);
char* FreeBSDProcessList_readProcessName(kvm_t* kd, struct kinfo_proc* kproc, int* basenameEnd);
+char* FreeBSDProcessList_readJailName(struct kinfo_proc* kproc);
+
void ProcessList_goThroughEntries(ProcessList* this);
#endif

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