debuggers.hg

changeset 22056:8687ca8ab9bd

libxl: make libxl_console_reader type opaque to users of libxl

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>
author Ian Campbell <ian.campbell@citrix.com>
date Mon Aug 16 15:31:05 2010 +0100 (2010-08-16)
parents 9c761fe23d3d
children 0593371d0c5b
files tools/libxl/libxl.h tools/libxl/libxl_internal.h
line diff
     1.1 --- a/tools/libxl/libxl.h	Mon Aug 16 15:31:04 2010 +0100
     1.2 +++ b/tools/libxl/libxl.h	Mon Aug 16 15:31:05 2010 +0100
     1.3 @@ -744,14 +744,7 @@ int libxl_send_trigger(libxl_ctx *ctx, u
     1.4  int libxl_send_sysrq(libxl_ctx *ctx, uint32_t domid, char sysrq);
     1.5  int libxl_send_debug_keys(libxl_ctx *ctx, char *keys);
     1.6  
     1.7 -typedef struct {
     1.8 -    char *buffer;
     1.9 -    unsigned int size;
    1.10 -    unsigned int count;
    1.11 -    unsigned int clear;
    1.12 -    unsigned int incremental;
    1.13 -    unsigned int index;
    1.14 -}  libxl_xen_console_reader;
    1.15 +typedef struct libxl__xen_console_reader libxl_xen_console_reader;
    1.16  
    1.17  libxl_xen_console_reader *
    1.18      libxl_xen_console_read_start(libxl_ctx *ctx, int clear);
     2.1 --- a/tools/libxl/libxl_internal.h	Mon Aug 16 15:31:04 2010 +0100
     2.2 +++ b/tools/libxl/libxl_internal.h	Mon Aug 16 15:31:05 2010 +0100
     2.3 @@ -263,4 +263,13 @@ const char *libxl_blktap_devpath(libxl_g
     2.4  
     2.5  _hidden char *libxl_uuid2string(libxl_gc *gc, const libxl_uuid uuid);
     2.6  
     2.7 +struct libxl__xen_console_reader {
     2.8 +    char *buffer;
     2.9 +    unsigned int size;
    2.10 +    unsigned int count;
    2.11 +    unsigned int clear;
    2.12 +    unsigned int incremental;
    2.13 +    unsigned int index;
    2.14 +};
    2.15 +
    2.16  #endif