diff options
author | Michael Roth <mdroth@linux.vnet.ibm.com> | 2011-07-19 14:50:32 -0500 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@gmail.com> | 2011-07-21 16:48:13 -0300 |
commit | 2345c77c6d383bd804527720551b79b1d0400693 (patch) | |
tree | 8cdc00f85b53bc327364df5b8dbc705215c3a767 /qapi/qapi-types-core.h | |
parent | c7aa841e9f75f0ff77fec9f918779b1951ab6b9d (diff) |
qapi: add QAPI visitor core
Base definitions/includes for Visiter interface used by generated
visiter/marshalling code.
Includes a GenericList type. Our lists require an embedded element.
Since these types are generated, if you want to use them in a different
type of data structure, there's no easy way to add another embedded
element. The solution is to have non-embedded lists and that what this is.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Diffstat (limited to 'qapi/qapi-types-core.h')
-rw-r--r-- | qapi/qapi-types-core.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qapi/qapi-types-core.h b/qapi/qapi-types-core.h new file mode 100644 index 000000000..a79bc2b3c --- /dev/null +++ b/qapi/qapi-types-core.h @@ -0,0 +1,20 @@ +/* + * Core Definitions for QAPI-generated Types + * + * Copyright IBM, Corp. 2011 + * + * Authors: + * Anthony Liguori <aliguori@us.ibm.com> + * + * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. + * See the COPYING.LIB file in the top-level directory. + * + */ + +#ifndef QAPI_TYPES_CORE_H +#define QAPI_TYPES_CORE_H + +#include "qemu-common.h" +#include "error.h" + +#endif |