mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
f882126024
This file holds some functions that do not need to be generated. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
28 lines
600 B
C
28 lines
600 B
C
/*
|
|
* QMP Event related
|
|
*
|
|
* Copyright (c) 2014 Wenchao Xia
|
|
*
|
|
* Authors:
|
|
* Wenchao Xia <wenchaoqemu@gmail.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 QMP_EVENT_H
|
|
#define QMP_EVENT_H
|
|
|
|
#include "qapi/error.h"
|
|
#include "qapi/qmp/qdict.h"
|
|
|
|
typedef void (*QMPEventFuncEmit)(unsigned event, QDict *dict, Error **errp);
|
|
|
|
void qmp_event_set_func_emit(QMPEventFuncEmit emit);
|
|
|
|
QMPEventFuncEmit qmp_event_get_func_emit(void);
|
|
|
|
QDict *qmp_event_build_dict(const char *event_name);
|
|
#endif
|