typedef int (interp_suspend_ftype) (void *data);
typedef int (interp_prompt_p_ftype) (void *data);
typedef int (interp_exec_ftype) (void *data, const char *command);
-typedef int (interp_command_loop_ftype) (void *data);
+typedef void (interp_command_loop_ftype) (void *data);
struct interp_procs
{
extern int current_interp_display_prompt_p (void);
extern void current_interp_command_loop (void);
-extern void clear_interpreter_hooks ();
+extern void clear_interpreter_hooks (void);
/* well-known interpreters */
#define INTERP_CONSOLE "console"
#define INTERP_MI1 "mi1"
+#define INTERP_MI2 "mi2"
+#define INTERP_MI3 "mi3"
#define INTERP_MI "mi"
+#define INTERP_TUI "tui"
#endif