2
0

error_int.h 631 B

1234567891011121314151617181920212223242526272829
  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. #include "qemu-common.h"
  15. #include "qobject.h"
  16. #include "qdict.h"
  17. #include "error.h"
  18. /**
  19. * Internal QEMU functions for working with Error.
  20. *
  21. * These are used to convert QErrors to Errors
  22. */
  23. QDict *error_get_data(Error *err);
  24. QObject *error_get_qobject(Error *err);
  25. void error_set_qobject(Error **errp, QObject *obj);
  26. #endif