hw/core/loader: Add new function rom_ptr_for_as()
[qemu/ar7.git] / include / qapi / hmp-output-visitor.h
blob541e4002e30daebcc3c4818ffe62b8ffbcda63d5
1 /*
2 * HMP string output Visitor
4 * Copyright Yandex N.V., 2021
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
9 */
11 #ifndef HMP_OUTPUT_VISITOR_H
12 #define HMP_OUTPUT_VISITOR_H
14 #include "qapi/visitor.h"
16 typedef struct HMPOutputVisitor HMPOutputVisitor;
18 /**
19 * Create a HMP string output visitor for @obj
21 * Flattens dicts/structures, only shows arrays borders.
23 * Errors are not expected to happen.
25 * The caller is responsible for freeing the visitor with
26 * visit_free().
28 Visitor *hmp_output_visitor_new(char **result);
30 #endif