summaryrefslogtreecommitdiff
path: root/srcx/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'srcx/util.h')
-rw-r--r--srcx/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/srcx/util.h b/srcx/util.h
index af07e97..d39c1de 100644
--- a/srcx/util.h
+++ b/srcx/util.h
@@ -42,9 +42,11 @@
struct xprison;
int translate_jail_name(const char* str);
-size_t get_jail_sysctl(struct xprison** ret);
int running_in_jail();
+kvm_t open_kvm_handle(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 */
#define JAIL_RUN_STDOUT 0x00000002 /* Output to stdout */
#define JAIL_RUN_STDERR 0x00000004 /* Output to stderr */