From 7768e04c34c60d99de57ddcc37fcbbe736185430 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 22 Jul 2009 09:11:41 +0100 Subject: Add monitor_get_fd() command for fetching named fds Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- monitor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 13e8cc764..f6a43c018 100644 --- a/monitor.h +++ b/monitor.h @@ -20,6 +20,8 @@ void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, BlockDriverCompletionFunc *completion_cb, void *opaque); +int monitor_get_fd(Monitor *mon, const char *fdname); + void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap); void monitor_printf(Monitor *mon, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); -- cgit v1.2.3