]> git.proxmox.com Git - mirror_qemu.git/blame - include/qapi/string-input-visitor.h
Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into...
[mirror_qemu.git] / include / qapi / string-input-visitor.h
CommitLineData
a020f980
PB
1/*
2 * String parsing Visitor
3 *
4 * Copyright Red Hat, Inc. 2012
5 *
6 * Author: Paolo Bonzini <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
13#ifndef STRING_INPUT_VISITOR_H
14#define STRING_INPUT_VISITOR_H
15
7b1b5d19 16#include "qapi/visitor.h"
a020f980
PB
17
18typedef struct StringInputVisitor StringInputVisitor;
19
adfb264c
EB
20/*
21 * The string input visitor does not implement support for visiting
c9fba9de
DH
22 * QAPI structs, alternates, null, or arbitrary QTypes. Only flat lists
23 * of integers (except type "size") are supported.
adfb264c 24 */
7a0525c7 25Visitor *string_input_visitor_new(const char *str);
a020f980
PB
26
27#endif