]>
Commit | Line | Data |
---|---|---|
a020f980 PB |
1 | /* |
2 | * String printing Visitor | |
3 | * | |
4 | * Copyright Red Hat, Inc. 2012 | |
5 | * | |
6 | * Author: Paolo Bonzini <[email protected]> | |
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_OUTPUT_VISITOR_H | |
14 | #define STRING_OUTPUT_VISITOR_H | |
15 | ||
16 | #include "qapi-visit-core.h" | |
17 | ||
18 | typedef struct StringOutputVisitor StringOutputVisitor; | |
19 | ||
20 | StringOutputVisitor *string_output_visitor_new(void); | |
21 | void string_output_visitor_cleanup(StringOutputVisitor *v); | |
22 | ||
23 | char *string_output_get_string(StringOutputVisitor *v); | |
24 | Visitor *string_output_get_visitor(StringOutputVisitor *v); | |
25 | ||
26 | #endif |