Fix a compilation error in xen-mapcache.c
[qemu/agraf.git] / error_int.h
blob5e3942405a77e4cd700def0a31a8fc4bb563354d
1 /*
2 * QEMU Error Objects
4 * Copyright IBM, Corp. 2011
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2. See
10 * the COPYING.LIB file in the top-level directory.
12 #ifndef QEMU_ERROR_INT_H
13 #define QEMU_ERROR_INT_H
15 #include "qemu-common.h"
16 #include "qobject.h"
17 #include "qdict.h"
18 #include "error.h"
20 /**
21 * Internal QEMU functions for working with Error.
23 * These are used to convert QErrors to Errors
25 QDict *error_get_data(Error *err);
26 QObject *error_get_qobject(Error *err);
27 void error_set_qobject(Error **errp, QObject *obj);
29 #endif