2 * QEMU Guest Agent core declarations
4 * Copyright IBM Corp. 2011
7 * Adam Litke <aglitke@linux.vnet.ibm.com>
8 * Michael Roth <mdroth@linux.vnet.ibm.com>
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.
13 #include "qapi/qmp-core.h"
14 #include "qemu-common.h"
16 #define QGA_VERSION "1.0"
18 typedef struct GAState GAState
;
19 typedef struct GACommandState GACommandState
;
21 void ga_command_state_add(GACommandState
*cs
,
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
);