]> git.proxmox.com Git - qemu.git/blame - error_int.h
Version 1.0.1
[qemu.git] / error_int.h
CommitLineData
d5ec4f27
LC
1/*
2 * QEMU Error Objects
3 *
4 * Copyright IBM, Corp. 2011
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
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.
11 */
12#ifndef QEMU_ERROR_INT_H
13#define QEMU_ERROR_INT_H
14
15#include "qemu-common.h"
16#include "qobject.h"
17#include "qdict.h"
18#include "error.h"
19
20/**
21 * Internal QEMU functions for working with Error.
22 *
23 * These are used to convert QErrors to Errors
24 */
25QDict *error_get_data(Error *err);
26QObject *error_get_qobject(Error *err);
27void error_set_qobject(Error **errp, QObject *obj);
28
29#endif