1 | /* AUTOMATICALLY GENERATED, DO NOT MODIFY */ |
2 | |
3 | /* |
4 | * Schema-defined QAPI types |
5 | * |
6 | * Copyright IBM, Corp. 2011 |
7 | * Copyright (c) 2013-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_TYPES_QDEV_H |
14 | #define QAPI_TYPES_QDEV_H |
15 | |
16 | #include "qapi/qapi-builtin-types.h" |
17 | #include "qapi-types-qom.h" |
18 | |
19 | typedef struct q_obj_device_list_properties_arg q_obj_device_list_properties_arg; |
20 | |
21 | typedef struct q_obj_device_add_arg q_obj_device_add_arg; |
22 | |
23 | typedef struct q_obj_device_del_arg q_obj_device_del_arg; |
24 | |
25 | typedef struct q_obj_DEVICE_DELETED_arg q_obj_DEVICE_DELETED_arg; |
26 | |
27 | struct q_obj_device_list_properties_arg { |
28 | char *q_typename; |
29 | }; |
30 | |
31 | struct q_obj_device_add_arg { |
32 | char *driver; |
33 | bool has_bus; |
34 | char *bus; |
35 | bool has_id; |
36 | char *id; |
37 | }; |
38 | |
39 | struct q_obj_device_del_arg { |
40 | char *id; |
41 | }; |
42 | |
43 | struct q_obj_DEVICE_DELETED_arg { |
44 | bool has_device; |
45 | char *device; |
46 | char *path; |
47 | }; |
48 | |
49 | #endif /* QAPI_TYPES_QDEV_H */ |
50 | |