/* THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY */

/*
 * schema-defined QAPI function prototypes
 *
 * Copyright IBM, Corp. 2011
 *
 * Authors:
 *  Anthony Liguori   <aliguori@us.ibm.com>
 *
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
 * See the COPYING.LIB file in the top-level directory.
 *
 */

#ifndef RHEV_QMP_COMMANDS_H
#define RHEV_QMP_COMMANDS_H

#include "rhev-qapi-types.h"
#include "error.h"

void qmp___com_redhat_block_commit(const char * device, bool has_base, const char * base, const char * top, bool has_speed, int64_t speed, Error **errp);
int qmp_marshal_input___com_redhat_block_commit(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp_transaction(BlockdevActionList * actions, Error **errp);
int qmp_marshal_input_transaction(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp_blockdev_snapshot_sync(const char * device, const char * snapshot_file, bool has_format, const char * format, bool has_mode, NewImageMode mode, Error **errp);
int qmp_marshal_input_blockdev_snapshot_sync(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp___com_redhat_drive_reopen(const char * device, const char * new_image_file, bool has_format, const char * format, bool has_witness, const char * witness, Error **errp);
int qmp_marshal_input___com_redhat_drive_reopen(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp___com_redhat_drive_mirror(const char * device, const char * target, bool has_format, const char * format, bool has_speed, int64_t speed, bool has_full, bool full, bool has_mode, NewImageMode mode, Error **errp);
int qmp_marshal_input___com_redhat_drive_mirror(Monitor *mon, const QDict *qdict, QObject **ret);
EventInfoList * qmp_query_events(Error **errp);
int qmp_marshal_input_query_events(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp_dump_guest_memory(bool paging, const char * protocol, bool has_begin, int64_t begin, bool has_length, int64_t length, Error **errp);
int qmp_marshal_input_dump_guest_memory(Monitor *mon, const QDict *qdict, QObject **ret);
ChardevReturn * qmp_chardev_add(const char * id, ChardevBackend * backend, Error **errp);
int qmp_marshal_input_chardev_add(Monitor *mon, const QDict *qdict, QObject **ret);
void qmp_chardev_remove(const char * id, Error **errp);
int qmp_marshal_input_chardev_remove(Monitor *mon, const QDict *qdict, QObject **ret);

#endif
