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.
11 #ifndef HMP_OUTPUT_VISITOR_H
12 #define HMP_OUTPUT_VISITOR_H
14 #include "qapi/visitor.h"
16 typedef struct HMPOutputVisitor HMPOutputVisitor
;
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
28 Visitor
*hmp_output_visitor_new(char **result
);