1/* AUTOMATICALLY GENERATED, DO NOT MODIFY */
2
3/*
4 * Schema-defined QAPI/QMP events
5 *
6 * Copyright (c) 2014 Wenchao Xia
7 * Copyright (c) 2015-2018 Red Hat Inc.
8 *
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.
11 */
12
13#ifndef QAPI_EVENTS_BLOCK_H
14#define QAPI_EVENTS_BLOCK_H
15
16#include "qapi-events-block-core.h"
17#include "qapi/util.h"
18#include "qapi-types-block.h"
19
20void qapi_event_send_device_tray_moved(const char *device, const char *id, bool tray_open);
21
22void qapi_event_send_pr_manager_status_changed(const char *id, bool connected);
23
24void qapi_event_send_quorum_failure(const char *reference, int64_t sector_num, int64_t sectors_count);
25
26void qapi_event_send_quorum_report_bad(QuorumOpType type, bool has_error, const char *error, const char *node_name, int64_t sector_num, int64_t sectors_count);
27
28#endif /* QAPI_EVENTS_BLOCK_H */
29