From 61a86ec81a14231915b2aeb5706dca13bf897ca2 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 22 Aug 2001 00:42:13 +0000 Subject: mixguile: first version --- mixguile/mixguile.h | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'mixguile/mixguile.h') 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 +#include #include -#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 */ -- cgit v1.2.3