qapi: add QemuFileInputVisitor
[qemu/mdroth.git] / qapi / qemu-file-input-visitor.h
blob67b5554c92864d10f2bd6e76788562c2838b607c
1 /*
2 * QEMUFile Visitor
4 * Copyright IBM, Corp. 2011
6 * Authors:
7 * Michael Roth <mdroth@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
14 #ifndef QEMU_FILE_INPUT_VISITOR_H
15 #define QEMU_FILE_INPUT_VISITOR_H
17 #include "qapi-visit-core.h"
19 typedef struct QemuFileInputVisitor QemuFileInputVisitor;
21 QemuFileInputVisitor *qemu_file_input_visitor_new(QEMUFile *f);
22 void qemu_file_input_visitor_cleanup(QemuFileInputVisitor *d);
24 Visitor *qemu_file_input_get_visitor(QemuFileInputVisitor *v);
26 #endif