acpi: convert linker from GArray to BIOSLinker structure
[qemu/ar7.git] / include / qapi / string-input-visitor.h
blob7b76c2b9e3346e5697c38072cd0a3063ff6ad155
1 /*
2 * String parsing Visitor
4 * Copyright Red Hat, Inc. 2012
6 * Author: Paolo Bonzini <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.
13 #ifndef STRING_INPUT_VISITOR_H
14 #define STRING_INPUT_VISITOR_H
16 #include "qapi/visitor.h"
18 typedef struct StringInputVisitor StringInputVisitor;
21 * The string input visitor does not implement support for visiting
22 * QAPI structs, alternates, null, or arbitrary QTypes. It also
23 * requires a non-null list argument to visit_start_list().
25 StringInputVisitor *string_input_visitor_new(const char *str);
26 void string_input_visitor_cleanup(StringInputVisitor *v);
28 Visitor *string_input_get_visitor(StringInputVisitor *v);
30 #endif