summaryrefslogtreecommitdiffhomepage
path: root/mixguile/mixguile.h
diff options
context:
space:
mode:
Diffstat (limited to 'mixguile/mixguile.h')
-rw-r--r--mixguile/mixguile.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/mixguile/mixguile.h b/mixguile/mixguile.h
index 319eb36..8897d29 100644
--- a/mixguile/mixguile.h
+++ b/mixguile/mixguile.h
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- mixguile.h :
* Interface to the mixguile interpreter.
* ------------------------------------------------------------------
- * Last change: Time-stamp: <01/08/21 02:26:18 jao>
+ * Last change: Time-stamp: <01/08/21 23:48:15 jao>
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -26,8 +26,8 @@
#define MIXGUILE_H
#include <mixlib/mix.h>
+#include <mixlib/mix_vm_command.h>
#include <guile/gh.h>
-#include "mixguile_cmd_dispatcher.h"
/* the main function type */
typedef void (*main_func_t) (int argc, char *argv[]);
@@ -39,10 +39,24 @@ typedef void (*main_func_t) (int argc, char *argv[]);
extern void
mixguile_init (int argc, char *argv[], main_func_t main_fun);
-/* access the mixguile comand dispatcher */
-extern mixguile_cmd_dispatcher_t *
+/* set the command dispatcher */
+extern void
+mixguile_set_cmd_dispatcher (mix_vm_cmd_dispatcher_t *dis);
+
+/* enter the guile repl */
+extern void
+mixguile_enter_repl (int argc, char *argv[]);
+
+/* access the comand dispatcher */
+extern mix_vm_cmd_dispatcher_t *
mixguile_get_cmd_dispatcher (void);
+/* execute a string or file using the guile interpreter */
+extern void
+mixguile_interpret_file (const gchar *path);
+
+extern void
+mixguile_interpret_command (const gchar *command);
#endif /* MIXGUILE_H */