]> git.proxmox.com Git - mirror_qemu.git/blob - qga/guest-agent-core.h
688f1205b5fe45b93a2a189b5190bd34370051ff
[mirror_qemu.git] / qga / guest-agent-core.h
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 GACommandState GACommandState;
19
20 void ga_command_state_add(GACommandState *cs,
21 void (*init)(void),
22 void (*cleanup)(void));
23 void ga_command_state_init_all(GACommandState *cs);
24 void ga_command_state_cleanup_all(GACommandState *cs);
25 GACommandState *ga_command_state_new(void);