From 99b7796f601cd275b16b3e7122874953ed1a0b1f Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 24 Oct 2011 10:53:44 -0200 Subject: Monitor: Introduce monitor_get_cpu_index() Returns 'cur_mons's CPU index. A future commit will use it. Signed-off-by: Luiz Capitulino --- monitor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 9b723b2ddd..e76795f1f3 100644 --- a/monitor.h +++ b/monitor.h @@ -58,6 +58,7 @@ void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); void monitor_print_filename(Monitor *mon, const char *filename); void monitor_flush(Monitor *mon); int monitor_set_cpu(int cpu_index); +int monitor_get_cpu_index(void); typedef void (MonitorCompletion)(void *opaque, QObject *ret_data); -- cgit v1.2.3