1 | /* AUTOMATICALLY GENERATED, DO NOT MODIFY */ |
2 | |
3 | /* |
4 | * Schema-defined QAPI visitors |
5 | * |
6 | * Copyright IBM, Corp. 2011 |
7 | * Copyright (C) 2014-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 | #include "qemu/osdep.h" |
14 | #include "qapi/error.h" |
15 | #include "qapi/qmp/qerror.h" |
16 | #include "qapi-visit-rdma.h" |
17 | |
18 | void visit_type_q_obj_RDMA_GID_STATUS_CHANGED_arg_members(Visitor *v, q_obj_RDMA_GID_STATUS_CHANGED_arg *obj, Error **errp) |
19 | { |
20 | Error *err = NULL; |
21 | |
22 | visit_type_str(v, "netdev" , &obj->netdev, &err); |
23 | if (err) { |
24 | goto out; |
25 | } |
26 | visit_type_bool(v, "gid-status" , &obj->gid_status, &err); |
27 | if (err) { |
28 | goto out; |
29 | } |
30 | visit_type_uint64(v, "subnet-prefix" , &obj->subnet_prefix, &err); |
31 | if (err) { |
32 | goto out; |
33 | } |
34 | visit_type_uint64(v, "interface-id" , &obj->interface_id, &err); |
35 | if (err) { |
36 | goto out; |
37 | } |
38 | |
39 | out: |
40 | error_propagate(errp, err); |
41 | } |
42 | |
43 | /* Dummy declaration to prevent empty .o file */ |
44 | char qapi_dummy_qapi_visit_rdma_c; |
45 | |