summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-21 21:48:59 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-21 21:48:59 +0100
commit07faed4f99d0c798f92de3032b9c20ca31388494 (patch)
tree01ce628c10a9e7c1c691f0424b633905ccfeb134 /src/util.h
parentb284eabdc14683e4587baf43e83cedc6698a42df (diff)
virtualization: beef virtualization code
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 80f1a38b57..7f2cc080a7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -378,7 +378,8 @@ void filter_environ(const char *prefix);
bool tty_is_vc(const char *tty);
const char *default_term_for_tty(const char *tty);
-bool running_in_vm(void);
+int detect_vm(const char **id);
+int detect_virtualization(const char **id);
void execute_directory(const char *directory, DIR *_d, char *argv[]);