summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_vm.h')
-rw-r--r--mixlib/mix_vm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mixlib/mix_vm.h b/mixlib/mix_vm.h
index ac734d7..b4b408c 100644
--- a/mixlib/mix_vm.h
+++ b/mixlib/mix_vm.h
@@ -25,6 +25,7 @@
#include "mix_types.h"
#include "mix_ins.h"
+#include "mix_device.h"
#include "mix_code_file.h"
#include "mix_src_file.h"
#include "mix_symbol_table.h"
@@ -46,6 +47,10 @@ mix_vm_new(void);
extern void
mix_vm_delete(mix_vm_t * vm);
+/* connect devices to a virtual machine */
+extern mix_device_t * /* previously connected device */
+mix_vm_connect_device (mix_vm_t *vm, mix_device_t *device);
+
/* Reset a vm (set state as of a newly created one) */
extern void
mix_vm_reset(mix_vm_t * vm);