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 15 #include "error.h" 16 #include "qapi/qapi-visit-core.h" 17 18 void input_type_enum(Visitor *v, int *obj, const char *strings[], 19 const char *kind, const char *name, Error **errp); 20 void output_type_enum(Visitor *v, int *obj, const char *strings[], 21 const char *kind, const char *name, Error **errp); 22 23 #endif 24