monitor: New monitor_cur_is_qmp()
diff --git a/monitor.h b/monitor.h
index dbb7bec..bd4ae34 100644
--- a/monitor.h
+++ b/monitor.h
@@ -31,6 +31,8 @@
     QEVENT_MAX,
 } MonitorEvent;
 
+int monitor_cur_is_qmp(void);
+
 void monitor_protocol_event(MonitorEvent event, QObject *data);
 void monitor_init(CharDriverState *chr, int flags);