2
0

dealloc-visitor.h 657 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Dealloc Visitor
  3. *
  4. * Copyright IBM, Corp. 2011
  5. *
  6. * Authors:
  7. * Michael Roth <mdroth@linux.vnet.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 QAPI_DEALLOC_VISITOR_H
  14. #define QAPI_DEALLOC_VISITOR_H
  15. #include "qapi/visitor.h"
  16. typedef struct QapiDeallocVisitor QapiDeallocVisitor;
  17. /*
  18. * The dealloc visitor is primarily used only by generated
  19. * qapi_free_FOO() functions, and is the only visitor designed to work
  20. * correctly in the face of a partially-constructed QAPI tree.
  21. */
  22. Visitor *qapi_dealloc_visitor_new(void);
  23. #endif