mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
9063feaaab
commit
701e976171
2 files changed
+10
-8
No files matched your search
+1
-8
@@ -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);
|
||||
|
||||
@@ -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
|
||||