aboutsummaryrefslogtreecommitdiff
path: root/android-console.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-17 12:28:43 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-23 16:20:42 +0100
commit8d3447debbb77837eaff500242216faeb27e4711 (patch)
treea393d046cf761ead550340acd5ef8e5ce89a4cda /android-console.h
parent4e9cc7dda298b9292b722d7a42900825e1307b8a (diff)
downloadqemu-arm-8d3447debbb77837eaff500242216faeb27e4711.tar.gz
android-console: Add KO: prefix to parser syntax error messages
Indirect all the syntax error messages from the command parser through a function pointer, so the Android console can override it to put the KO: prefix on them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'android-console.h')
-rw-r--r--android-console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/android-console.h b/android-console.h
index 2ad08793c5..2786b64e03 100644
--- a/android-console.h
+++ b/android-console.h
@@ -28,4 +28,6 @@ void android_console_redir_list(Monitor *mon, const QDict *qdict);
void android_console_redir_add(Monitor *mon, const QDict *qdict);
void android_console_redir_del(Monitor *mon, const QDict *qdict);
+void android_monitor_print_error(Monitor *mon, const char *fmt, ...);
+
#endif