diff options
Diffstat (limited to 'srcx/util.h')
-rw-r--r-- | srcx/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/srcx/util.h b/srcx/util.h index d39c1de..fed9261 100644 --- a/srcx/util.h +++ b/srcx/util.h @@ -39,12 +39,13 @@ #ifndef __UTIL_H__ #define __UTIL_H__ -struct xprison; +#include <sys/jail.h> +#include <kvm.h> int translate_jail_name(const char* str); int running_in_jail(); -kvm_t open_kvm_handle(char* jail, char* errbuf); +kvm_t* open_kvm_handle(const char* jail, char* errbuf); size_t get_jail_sysctl(struct xprison** ret); #define JAIL_RUN_CONSOLE 0x00000001 /* Output stuff to the jail console if available */ |