]> xenbits.xensource.com Git - xen.git/commitdiff
libxl: make libxl_console_reader type opaque to users of libxl
authorIan Campbell <ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:05 +0000 (15:31 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:05 +0000 (15:31 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

tools/libxl/libxl.h
tools/libxl/libxl_internal.h

index 968ddeacd3bcf9858af5d5ecc03ec2e25572ac2d..bafe3fc0c020f01fc97df81a7e92b1a602824d83 100644 (file)
@@ -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);
index ffc213c82f69839054caa441be8af0070e773096..14407869da41e243fd0f8c458f71266d44638137 100644 (file)
@@ -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