root / qga / guest-agent-core.h @ 48ff7a62
History | View | Annotate | Download (886 Bytes)
1 |
/*
|
---|---|
2 |
* QEMU Guest Agent core declarations
|
3 |
*
|
4 |
* Copyright IBM Corp. 2011
|
5 |
*
|
6 |
* Authors:
|
7 |
* Adam Litke <aglitke@linux.vnet.ibm.com>
|
8 |
* Michael Roth <mdroth@linux.vnet.ibm.com>
|
9 |
*
|
10 |
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
11 |
* See the COPYING file in the top-level directory.
|
12 |
*/
|
13 |
#include "qapi/qmp-core.h" |
14 |
#include "qemu-common.h" |
15 |
|
16 |
#define QGA_VERSION "1.0" |
17 |
|
18 |
typedef struct GAState GAState; |
19 |
typedef struct GACommandState GACommandState; |
20 |
|
21 |
void ga_command_state_add(GACommandState *cs,
|
22 |
void (*init)(void), |
23 |
void (*cleanup)(void)); |
24 |
void ga_command_state_init_all(GACommandState *cs);
|
25 |
void ga_command_state_cleanup_all(GACommandState *cs);
|
26 |
GACommandState *ga_command_state_new(void);
|
27 |
bool ga_logging_enabled(GAState *s);
|
28 |
void ga_disable_logging(GAState *s);
|
29 |
void ga_enable_logging(GAState *s);
|