~ubuntu-branches/ubuntu/wily/qemu-kvm-spice/wily

« back to all changes in this revision

Viewing changes to qga/guest-agent-core.h

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-10-19 10:44:56 UTC
  • Revision ID: james.westby@ubuntu.com-20111019104456-xgvskumk3sxi97f4
Tags: upstream-0.15.0+noroms
ImportĀ upstreamĀ versionĀ 0.15.0+noroms

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#define QGA_READ_COUNT_DEFAULT 4 << 10
 
18
 
 
19
typedef struct GAState GAState;
 
20
typedef struct GACommandState GACommandState;
 
21
 
 
22
void ga_command_state_init(GAState *s, GACommandState *cs);
 
23
void ga_command_state_add(GACommandState *cs,
 
24
                          void (*init)(void),
 
25
                          void (*cleanup)(void));
 
26
void ga_command_state_init_all(GACommandState *cs);
 
27
void ga_command_state_cleanup_all(GACommandState *cs);
 
28
GACommandState *ga_command_state_new(void);
 
29
bool ga_logging_enabled(GAState *s);
 
30
void ga_disable_logging(GAState *s);
 
31
void ga_enable_logging(GAState *s);