blob: 921f3875b988c8ce9d64be7563f2e6d99ff22e97 [file] [log] [blame]
Paolo Bonzinia020f982012-02-09 09:36:37 +01001/*
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
Paolo Bonzini7b1b5d12012-12-17 18:19:43 +010016#include "qapi/visitor.h"
Paolo Bonzinia020f982012-02-09 09:36:37 +010017
18typedef struct StringInputVisitor StringInputVisitor;
19
Eric Blakeadfb2642016-04-28 15:45:20 -060020/*
21 * The string input visitor does not implement support for visiting
David Hildenbrandc9fba9d2018-11-21 17:44:18 +010022 * QAPI structs, alternates, null, or arbitrary QTypes. Only flat lists
23 * of integers (except type "size") are supported.
Eric Blakeadfb2642016-04-28 15:45:20 -060024 */
Eric Blake7a0525c2016-06-09 10:48:37 -060025Visitor *string_input_visitor_new(const char *str);
Paolo Bonzinia020f982012-02-09 09:36:37 +010026
27#endif