create new function: qemu_opt_set_number
[qemu.git] / qapi / qapi-visit-impl.h
blob0f3a1898fe1e65cab2b9bd6bc2161d92fd1c0b45
1 /*
2 * Core Definitions for QAPI Visitor implementations
4 * Copyright (C) 2012 Red Hat, Inc.
6 * Author: Paolo Bonizni <pbonzini@redhat.com>
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.
12 #ifndef QAPI_VISITOR_IMPL_H
13 #define QAPI_VISITOR_IMPL_H
15 #include "qapi/qapi-types-core.h"
16 #include "qapi/qapi-visit-core.h"
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);
23 #endif