qobject-output-visitor.h 647 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Output Visitor
  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.1 or later.
  10. * See the COPYING.LIB file in the top-level directory.
  11. *
  12. */
  13. #ifndef QOBJECT_OUTPUT_VISITOR_H
  14. #define QOBJECT_OUTPUT_VISITOR_H
  15. #include "qapi/visitor.h"
  16. #include "qapi/qmp/qobject.h"
  17. typedef struct QmpOutputVisitor QmpOutputVisitor;
  18. /*
  19. * Create a new QObject output visitor.
  20. *
  21. * If everything else succeeds, pass @result to visit_complete() to
  22. * collect the result of the visit.
  23. */
  24. Visitor *qmp_output_visitor_new(QObject **result);
  25. #endif