qapi-visit-impl.h 703 B

1234567891011121314151617181920212223
  1. /*
  2. * Core Definitions for QAPI Visitor implementations
  3. *
  4. * Copyright (C) 2012 Red Hat, Inc.
  5. *
  6. * Author: Paolo Bonizni <pbonzini@redhat.com>
  7. *
  8. * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
  9. * See the COPYING.LIB file in the top-level directory.
  10. *
  11. */
  12. #ifndef QAPI_VISITOR_IMPL_H
  13. #define QAPI_VISITOR_IMPL_H
  14. #include "qapi/qapi-types-core.h"
  15. #include "qapi/qapi-visit-core.h"
  16. void input_type_enum(Visitor *v, int *obj, const char *strings[],
  17. const char *kind, const char *name, Error **errp);
  18. void output_type_enum(Visitor *v, int *obj, const char *strings[],
  19. const char *kind, const char *name, Error **errp);
  20. #endif