D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / gudev-1.0 / gudev-1.0.gi
blob58e1ee149185a762ecdcdabf41e9d2677cb71cc0
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="GUdev">
4 <struct name="GUdevDeviceNumber">
5 </struct>
6 <enum name="GUdevDeviceType" type-name="GUdevDeviceType" get-type="g_udev_device_type_get_type">
7 <member name="G_UDEV_DEVICE_TYPE_NONE" value="0"/>
8 <member name="G_UDEV_DEVICE_TYPE_BLOCK" value="98"/>
9 <member name="G_UDEV_DEVICE_TYPE_CHAR" value="99"/>
10 </enum>
11 <object name="GUdevClient" parent="GObject" type-name="GUdevClient" get-type="g_udev_client_get_type">
12 <constructor name="new" symbol="g_udev_client_new">
13 <return-type type="GUdevClient*"/>
14 <parameters>
15 <parameter name="subsystems" type="gchar**"/>
16 </parameters>
17 </constructor>
18 <method name="query_by_device_file" symbol="g_udev_client_query_by_device_file">
19 <return-type type="GUdevDevice*"/>
20 <parameters>
21 <parameter name="client" type="GUdevClient*"/>
22 <parameter name="device_file" type="gchar*"/>
23 </parameters>
24 </method>
25 <method name="query_by_device_number" symbol="g_udev_client_query_by_device_number">
26 <return-type type="GUdevDevice*"/>
27 <parameters>
28 <parameter name="client" type="GUdevClient*"/>
29 <parameter name="type" type="GUdevDeviceType"/>
30 <parameter name="number" type="GUdevDeviceNumber"/>
31 </parameters>
32 </method>
33 <method name="query_by_subsystem" symbol="g_udev_client_query_by_subsystem">
34 <return-type type="GList*"/>
35 <parameters>
36 <parameter name="client" type="GUdevClient*"/>
37 <parameter name="subsystem" type="gchar*"/>
38 </parameters>
39 </method>
40 <method name="query_by_subsystem_and_name" symbol="g_udev_client_query_by_subsystem_and_name">
41 <return-type type="GUdevDevice*"/>
42 <parameters>
43 <parameter name="client" type="GUdevClient*"/>
44 <parameter name="subsystem" type="gchar*"/>
45 <parameter name="name" type="gchar*"/>
46 </parameters>
47 </method>
48 <method name="query_by_sysfs_path" symbol="g_udev_client_query_by_sysfs_path">
49 <return-type type="GUdevDevice*"/>
50 <parameters>
51 <parameter name="client" type="GUdevClient*"/>
52 <parameter name="sysfs_path" type="gchar*"/>
53 </parameters>
54 </method>
55 <property name="subsystems" type="GStrv*" readable="1" writable="1" construct="0" construct-only="1"/>
56 <signal name="uevent" when="LAST">
57 <return-type type="void"/>
58 <parameters>
59 <parameter name="client" type="GUdevClient*"/>
60 <parameter name="action" type="char*"/>
61 <parameter name="device" type="GUdevDevice*"/>
62 </parameters>
63 </signal>
64 <vfunc name="reserved1">
65 <return-type type="void"/>
66 </vfunc>
67 <vfunc name="reserved2">
68 <return-type type="void"/>
69 </vfunc>
70 <vfunc name="reserved3">
71 <return-type type="void"/>
72 </vfunc>
73 <vfunc name="reserved4">
74 <return-type type="void"/>
75 </vfunc>
76 <vfunc name="reserved5">
77 <return-type type="void"/>
78 </vfunc>
79 <vfunc name="reserved6">
80 <return-type type="void"/>
81 </vfunc>
82 <vfunc name="reserved7">
83 <return-type type="void"/>
84 </vfunc>
85 <vfunc name="reserved8">
86 <return-type type="void"/>
87 </vfunc>
88 </object>
89 <object name="GUdevDevice" parent="GObject" type-name="GUdevDevice" get-type="g_udev_device_get_type">
90 <method name="get_action" symbol="g_udev_device_get_action">
91 <return-type type="gchar*"/>
92 <parameters>
93 <parameter name="device" type="GUdevDevice*"/>
94 </parameters>
95 </method>
96 <method name="get_device_file" symbol="g_udev_device_get_device_file">
97 <return-type type="gchar*"/>
98 <parameters>
99 <parameter name="device" type="GUdevDevice*"/>
100 </parameters>
101 </method>
102 <method name="get_device_file_symlinks" symbol="g_udev_device_get_device_file_symlinks">
103 <return-type type="gchar**"/>
104 <parameters>
105 <parameter name="device" type="GUdevDevice*"/>
106 </parameters>
107 </method>
108 <method name="get_device_number" symbol="g_udev_device_get_device_number">
109 <return-type type="GUdevDeviceNumber"/>
110 <parameters>
111 <parameter name="device" type="GUdevDevice*"/>
112 </parameters>
113 </method>
114 <method name="get_device_type" symbol="g_udev_device_get_device_type">
115 <return-type type="GUdevDeviceType"/>
116 <parameters>
117 <parameter name="device" type="GUdevDevice*"/>
118 </parameters>
119 </method>
120 <method name="get_devtype" symbol="g_udev_device_get_devtype">
121 <return-type type="gchar*"/>
122 <parameters>
123 <parameter name="device" type="GUdevDevice*"/>
124 </parameters>
125 </method>
126 <method name="get_driver" symbol="g_udev_device_get_driver">
127 <return-type type="gchar*"/>
128 <parameters>
129 <parameter name="device" type="GUdevDevice*"/>
130 </parameters>
131 </method>
132 <method name="get_name" symbol="g_udev_device_get_name">
133 <return-type type="gchar*"/>
134 <parameters>
135 <parameter name="device" type="GUdevDevice*"/>
136 </parameters>
137 </method>
138 <method name="get_number" symbol="g_udev_device_get_number">
139 <return-type type="gchar*"/>
140 <parameters>
141 <parameter name="device" type="GUdevDevice*"/>
142 </parameters>
143 </method>
144 <method name="get_parent" symbol="g_udev_device_get_parent">
145 <return-type type="GUdevDevice*"/>
146 <parameters>
147 <parameter name="device" type="GUdevDevice*"/>
148 </parameters>
149 </method>
150 <method name="get_parent_with_subsystem" symbol="g_udev_device_get_parent_with_subsystem">
151 <return-type type="GUdevDevice*"/>
152 <parameters>
153 <parameter name="device" type="GUdevDevice*"/>
154 <parameter name="subsystem" type="gchar*"/>
155 <parameter name="devtype" type="gchar*"/>
156 </parameters>
157 </method>
158 <method name="get_property" symbol="g_udev_device_get_property">
159 <return-type type="gchar*"/>
160 <parameters>
161 <parameter name="device" type="GUdevDevice*"/>
162 <parameter name="key" type="gchar*"/>
163 </parameters>
164 </method>
165 <method name="get_property_as_boolean" symbol="g_udev_device_get_property_as_boolean">
166 <return-type type="gboolean"/>
167 <parameters>
168 <parameter name="device" type="GUdevDevice*"/>
169 <parameter name="key" type="gchar*"/>
170 </parameters>
171 </method>
172 <method name="get_property_as_double" symbol="g_udev_device_get_property_as_double">
173 <return-type type="gdouble"/>
174 <parameters>
175 <parameter name="device" type="GUdevDevice*"/>
176 <parameter name="key" type="gchar*"/>
177 </parameters>
178 </method>
179 <method name="get_property_as_int" symbol="g_udev_device_get_property_as_int">
180 <return-type type="gint"/>
181 <parameters>
182 <parameter name="device" type="GUdevDevice*"/>
183 <parameter name="key" type="gchar*"/>
184 </parameters>
185 </method>
186 <method name="get_property_as_strv" symbol="g_udev_device_get_property_as_strv">
187 <return-type type="gchar**"/>
188 <parameters>
189 <parameter name="device" type="GUdevDevice*"/>
190 <parameter name="key" type="gchar*"/>
191 </parameters>
192 </method>
193 <method name="get_property_as_uint64" symbol="g_udev_device_get_property_as_uint64">
194 <return-type type="guint64"/>
195 <parameters>
196 <parameter name="device" type="GUdevDevice*"/>
197 <parameter name="key" type="gchar*"/>
198 </parameters>
199 </method>
200 <method name="get_property_keys" symbol="g_udev_device_get_property_keys">
201 <return-type type="gchar**"/>
202 <parameters>
203 <parameter name="device" type="GUdevDevice*"/>
204 </parameters>
205 </method>
206 <method name="get_seqnum" symbol="g_udev_device_get_seqnum">
207 <return-type type="guint64"/>
208 <parameters>
209 <parameter name="device" type="GUdevDevice*"/>
210 </parameters>
211 </method>
212 <method name="get_subsystem" symbol="g_udev_device_get_subsystem">
213 <return-type type="gchar*"/>
214 <parameters>
215 <parameter name="device" type="GUdevDevice*"/>
216 </parameters>
217 </method>
218 <method name="get_sysfs_attr" symbol="g_udev_device_get_sysfs_attr">
219 <return-type type="gchar*"/>
220 <parameters>
221 <parameter name="device" type="GUdevDevice*"/>
222 <parameter name="name" type="gchar*"/>
223 </parameters>
224 </method>
225 <method name="get_sysfs_attr_as_boolean" symbol="g_udev_device_get_sysfs_attr_as_boolean">
226 <return-type type="gboolean"/>
227 <parameters>
228 <parameter name="device" type="GUdevDevice*"/>
229 <parameter name="name" type="gchar*"/>
230 </parameters>
231 </method>
232 <method name="get_sysfs_attr_as_double" symbol="g_udev_device_get_sysfs_attr_as_double">
233 <return-type type="gdouble"/>
234 <parameters>
235 <parameter name="device" type="GUdevDevice*"/>
236 <parameter name="name" type="gchar*"/>
237 </parameters>
238 </method>
239 <method name="get_sysfs_attr_as_int" symbol="g_udev_device_get_sysfs_attr_as_int">
240 <return-type type="gint"/>
241 <parameters>
242 <parameter name="device" type="GUdevDevice*"/>
243 <parameter name="name" type="gchar*"/>
244 </parameters>
245 </method>
246 <method name="get_sysfs_attr_as_strv" symbol="g_udev_device_get_sysfs_attr_as_strv">
247 <return-type type="gchar**"/>
248 <parameters>
249 <parameter name="device" type="GUdevDevice*"/>
250 <parameter name="name" type="gchar*"/>
251 </parameters>
252 </method>
253 <method name="get_sysfs_attr_as_uint64" symbol="g_udev_device_get_sysfs_attr_as_uint64">
254 <return-type type="guint64"/>
255 <parameters>
256 <parameter name="device" type="GUdevDevice*"/>
257 <parameter name="name" type="gchar*"/>
258 </parameters>
259 </method>
260 <method name="get_sysfs_path" symbol="g_udev_device_get_sysfs_path">
261 <return-type type="gchar*"/>
262 <parameters>
263 <parameter name="device" type="GUdevDevice*"/>
264 </parameters>
265 </method>
266 <method name="has_property" symbol="g_udev_device_has_property">
267 <return-type type="gboolean"/>
268 <parameters>
269 <parameter name="device" type="GUdevDevice*"/>
270 <parameter name="key" type="gchar*"/>
271 </parameters>
272 </method>
273 <vfunc name="reserved1">
274 <return-type type="void"/>
275 </vfunc>
276 <vfunc name="reserved2">
277 <return-type type="void"/>
278 </vfunc>
279 <vfunc name="reserved3">
280 <return-type type="void"/>
281 </vfunc>
282 <vfunc name="reserved4">
283 <return-type type="void"/>
284 </vfunc>
285 <vfunc name="reserved5">
286 <return-type type="void"/>
287 </vfunc>
288 <vfunc name="reserved6">
289 <return-type type="void"/>
290 </vfunc>
291 <vfunc name="reserved7">
292 <return-type type="void"/>
293 </vfunc>
294 <vfunc name="reserved8">
295 <return-type type="void"/>
296 </vfunc>
297 </object>
298 </namespace>
299 </api>