|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 06 of 26] libxl: make libxl_console_reader type opaqu
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969065 -3600
# Node ID 075c01bbdf4db1bf2cf3b77cd82a59430afc894b
# Parent 9c9b64a020535e99286bbb84502ec6cc30c8cc90
libxl: make libxl_console_reader type opaque to users of libxl
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 9c9b64a02053 -r 075c01bbdf4d tools/libxl/libxl.h
--- a/tools/libxl/libxl.h Mon Aug 16 15:31:04 2010 +0100
+++ b/tools/libxl/libxl.h Mon Aug 16 15:31:05 2010 +0100
@@ -744,14 +744,7 @@ int libxl_send_sysrq(libxl_ctx *ctx, uin
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 -r 9c9b64a02053 -r 075c01bbdf4d tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h Mon Aug 16 15:31:04 2010 +0100
+++ b/tools/libxl/libxl_internal.h Mon Aug 16 15:31:05 2010 +0100
@@ -244,4 +244,13 @@ _hidden char *_libxl_poolid_to_name(libx
_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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00 of 26] libxl: autogenerate type definitions and destructor functions, Ian Campbell
- [Xen-devel] [PATCH 07 of 26] lbixl: make libxl_device_model_starting type opaque to users of libxl, Ian Campbell
- [Xen-devel] [PATCH 08 of 26] libxl: ensure result of libxl_poolid_to_name is always dynamically allocated, Ian Campbell
- [Xen-devel] [PATCH 01 of 26] xl: use the regular implicit rules to build the xl .o files, Ian Campbell
- [Xen-devel] [PATCH 02 of 26] libxl: define specific types for string list and key, value list, Ian Campbell
- [Xen-devel] [PATCH 05 of 26] libxl: add specific type for hwcaps, Ian Campbell
- [Xen-devel] [PATCH 04 of 26] libxl: add specific type for cpumap, Ian Campbell
- [Xen-devel] [PATCH 06 of 26] libxl: make libxl_console_reader type opaque to users of libxl,
Ian Campbell <=
- [Xen-devel] [PATCH 10 of 26] libxl: tweak formatting/whitespace of _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 15 of 26] libxl: do not generate a destructor for data types which do not require one, Ian Campbell
- [Xen-devel] [PATCH 09 of 26] libxl: move type definitions into _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 03 of 26] libxl: move various enum and #defines above datastructure definitions, Ian Campbell
- [Xen-devel] [PATCH 12 of 26] libxl: generate destructors for each libxl defined type, Ian Campbell
- [Xen-devel] [PATCH 14 of 26] libxl: build info bootloader{, _args} are not const, Ian Campbell
- [Xen-devel] [PATCH 13 of 26] libxl: libxl_device_console.build_state is const, Ian Campbell
- [Xen-devel] [PATCH 11 of 26] libxl: autogenerate _libxl_types.h, Ian Campbell
|
|
|
|
|