1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
| /*
| * BlueALSA - bluez-iface.c
| * Copyright (c) 2016 Arkadiusz Bokowy
| *
| * This file is a part of bluez-alsa.
| *
| * This project is licensed under the terms of the MIT license.
| *
| */
|
| #include "bluez-iface.h"
|
|
| static const GDBusArgInfo arg_device = {
| -1, "device", "o", NULL
| };
|
| static const GDBusArgInfo arg_transport = {
| -1, "transport", "o", NULL
| };
|
| static const GDBusArgInfo arg_fd = {
| -1, "fd", "h", NULL
| };
|
| static const GDBusArgInfo arg_capabilities = {
| -1, "capabilities", "ay", NULL
| };
|
| static const GDBusArgInfo arg_properties = {
| -1, "properties", "a{sv}", NULL
| };
|
| static const GDBusArgInfo arg_fd_properties = {
| -1, "fd_properties", "a{sv}", NULL
| };
|
| static const GDBusArgInfo *in_SelectConfiguration[] = {
| &arg_capabilities,
| NULL,
| };
|
| static const GDBusArgInfo *out_SelectConfiguration[] = {
| &arg_capabilities,
| NULL,
| };
|
| static const GDBusArgInfo *in_SetConfiguration[] = {
| &arg_transport,
| &arg_properties,
| NULL,
| };
|
| static const GDBusArgInfo *in_ClearConfiguration[] = {
| &arg_transport,
| NULL,
| };
|
| static const GDBusArgInfo *in_NewConnection[] = {
| &arg_device,
| &arg_fd,
| &arg_fd_properties,
| NULL,
| };
|
| static const GDBusArgInfo *in_RequestDisconnection[] = {
| &arg_device,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_endpoint_SelectConfiguration = {
| -1, "SelectConfiguration",
| (GDBusArgInfo **)in_SelectConfiguration,
| (GDBusArgInfo **)out_SelectConfiguration,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_endpoint_SetConfiguration = {
| -1, "SetConfiguration",
| (GDBusArgInfo **)in_SetConfiguration,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_endpoint_ClearConfiguration = {
| -1, "ClearConfiguration",
| (GDBusArgInfo **)in_ClearConfiguration,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_endpoint_Release = {
| -1, "Release",
| NULL,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_profile_NewConnection = {
| -1, "NewConnection",
| (GDBusArgInfo **)in_NewConnection,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_profile_RequestDisconnection = {
| -1, "RequestDisconnection",
| (GDBusArgInfo **)in_RequestDisconnection,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo bluez_iface_profile_Release = {
| -1, "Release",
| NULL,
| NULL,
| NULL,
| };
|
| static const GDBusMethodInfo *bluez_iface_endpoint_methods[] = {
| &bluez_iface_endpoint_SelectConfiguration,
| &bluez_iface_endpoint_SetConfiguration,
| &bluez_iface_endpoint_ClearConfiguration,
| &bluez_iface_endpoint_Release,
| NULL,
| };
|
| static const GDBusMethodInfo *bluez_iface_profile_methods[] = {
| &bluez_iface_profile_NewConnection,
| &bluez_iface_profile_RequestDisconnection,
| &bluez_iface_profile_Release,
| NULL,
| };
|
| const GDBusInterfaceInfo bluez_iface_endpoint = {
| -1, "org.bluez.MediaEndpoint1",
| (GDBusMethodInfo **)bluez_iface_endpoint_methods,
| NULL,
| NULL,
| NULL,
| };
|
| const GDBusInterfaceInfo bluez_iface_profile = {
| -1, "org.bluez.Profile1",
| (GDBusMethodInfo **)bluez_iface_profile_methods,
| NULL,
| NULL,
| NULL,
| };
|
|