From 3c927fc96109ac289b7fd14f5ca3022c509a0d26 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 30 Sep 2002 20:18:52 +0000 Subject: 2002-09-29 Andrew Cagney * mi-out.c (mi_version): New function. * mi-out.h (mi_version): Declare. --- gdb/mi/mi-out.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/mi/mi-out.h') diff --git a/gdb/mi/mi-out.h b/gdb/mi/mi-out.h index 1ae693f4761..817f2eb53b9 100644 --- a/gdb/mi/mi-out.h +++ b/gdb/mi/mi-out.h @@ -30,4 +30,7 @@ extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream); extern void mi_out_rewind (struct ui_out *uiout); extern void mi_out_buffered (struct ui_out *uiout, char *string); +/* Return the version number of the current MI. */ +extern int mi_version (struct ui_out *uiout); + #endif /* MI_OUT_H */ -- cgit v1.2.1