From: Ian Campbell Date: Mon, 16 Aug 2010 14:31:05 +0000 (+0100) Subject: libxl: make libxl_console_reader type opaque to users of libxl X-Git-Tag: 4.1.0-rc1~699 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=701e9761715fcb79e3af7ef36d35968fa700f45c;p=xen.git libxl: make libxl_console_reader type opaque to users of libxl Signed-off-by: Ian Campbell Signed-off-by: Stefano Stabellini committer: Stefano Stabellini --- diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 968ddeacd3..bafe3fc0c0 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -744,14 +744,7 @@ int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid, int libxl_send_sysrq(libxl_ctx *ctx, uint32_t domid, char sysrq); int libxl_send_debug_keys(libxl_ctx *ctx, char *keys); -typedef struct { - char *buffer; - unsigned int size; - unsigned int count; - unsigned int clear; - unsigned int incremental; - unsigned int index; -} libxl_xen_console_reader; +typedef struct libxl__xen_console_reader libxl_xen_console_reader; libxl_xen_console_reader * libxl_xen_console_read_start(libxl_ctx *ctx, int clear); diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index ffc213c82f..14407869da 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -263,4 +263,13 @@ const char *libxl_blktap_devpath(libxl_gc *gc, _hidden char *libxl_uuid2string(libxl_gc *gc, const libxl_uuid uuid); +struct libxl__xen_console_reader { + char *buffer; + unsigned int size; + unsigned int count; + unsigned int clear; + unsigned int incremental; + unsigned int index; +}; + #endif