17b1b5d19SPaolo Bonzini /*
27b1b5d19SPaolo Bonzini  * String parsing Visitor
37b1b5d19SPaolo Bonzini  *
47b1b5d19SPaolo Bonzini  * Copyright Red Hat, Inc. 2012
57b1b5d19SPaolo Bonzini  *
67b1b5d19SPaolo Bonzini  * Author: Paolo Bonzini <pbonzini@redhat.com>
77b1b5d19SPaolo Bonzini  *
87b1b5d19SPaolo Bonzini  * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
97b1b5d19SPaolo Bonzini  * See the COPYING.LIB file in the top-level directory.
107b1b5d19SPaolo Bonzini  *
117b1b5d19SPaolo Bonzini  */
127b1b5d19SPaolo Bonzini 
137b1b5d19SPaolo Bonzini #ifndef STRING_INPUT_VISITOR_H
147b1b5d19SPaolo Bonzini #define STRING_INPUT_VISITOR_H
157b1b5d19SPaolo Bonzini 
167b1b5d19SPaolo Bonzini #include "qapi/visitor.h"
177b1b5d19SPaolo Bonzini 
187b1b5d19SPaolo Bonzini typedef struct StringInputVisitor StringInputVisitor;
197b1b5d19SPaolo Bonzini 
20adfb264cSEric Blake /*
21adfb264cSEric Blake  * The string input visitor does not implement support for visiting
22d9f62ddeSEric Blake  * QAPI structs, alternates, null, or arbitrary QTypes.  It also
23d9f62ddeSEric Blake  * requires a non-null list argument to visit_start_list().
24adfb264cSEric Blake  */
25*7a0525c7SEric Blake Visitor *string_input_visitor_new(const char *str);
267b1b5d19SPaolo Bonzini 
277b1b5d19SPaolo Bonzini #endif
28