D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / gstreamer-sdp-0.10 / gstreamer-sdp-0.10.gi
blobd27f397021b09de60672ca1ba79c8eb104e82a7e
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gst">
4 <struct name="GstSDPAttribute">
5 <field name="key" type="gchar*"/>
6 <field name="value" type="gchar*"/>
7 </struct>
8 <struct name="GstSDPBandwidth">
9 <field name="bwtype" type="gchar*"/>
10 <field name="bandwidth" type="guint"/>
11 </struct>
12 <struct name="GstSDPConnection">
13 <field name="nettype" type="gchar*"/>
14 <field name="addrtype" type="gchar*"/>
15 <field name="address" type="gchar*"/>
16 <field name="ttl" type="guint"/>
17 <field name="addr_number" type="guint"/>
18 </struct>
19 <struct name="GstSDPKey">
20 <field name="type" type="gchar*"/>
21 <field name="data" type="gchar*"/>
22 </struct>
23 <struct name="GstSDPMedia">
24 <method name="add_attribute" symbol="gst_sdp_media_add_attribute">
25 <return-type type="GstSDPResult"/>
26 <parameters>
27 <parameter name="media" type="GstSDPMedia*"/>
28 <parameter name="key" type="gchar*"/>
29 <parameter name="value" type="gchar*"/>
30 </parameters>
31 </method>
32 <method name="add_bandwidth" symbol="gst_sdp_media_add_bandwidth">
33 <return-type type="GstSDPResult"/>
34 <parameters>
35 <parameter name="media" type="GstSDPMedia*"/>
36 <parameter name="bwtype" type="gchar*"/>
37 <parameter name="bandwidth" type="guint"/>
38 </parameters>
39 </method>
40 <method name="add_connection" symbol="gst_sdp_media_add_connection">
41 <return-type type="GstSDPResult"/>
42 <parameters>
43 <parameter name="media" type="GstSDPMedia*"/>
44 <parameter name="nettype" type="gchar*"/>
45 <parameter name="addrtype" type="gchar*"/>
46 <parameter name="address" type="gchar*"/>
47 <parameter name="ttl" type="guint"/>
48 <parameter name="addr_number" type="guint"/>
49 </parameters>
50 </method>
51 <method name="add_format" symbol="gst_sdp_media_add_format">
52 <return-type type="GstSDPResult"/>
53 <parameters>
54 <parameter name="media" type="GstSDPMedia*"/>
55 <parameter name="format" type="gchar*"/>
56 </parameters>
57 </method>
58 <method name="as_text" symbol="gst_sdp_media_as_text">
59 <return-type type="gchar*"/>
60 <parameters>
61 <parameter name="media" type="GstSDPMedia*"/>
62 </parameters>
63 </method>
64 <method name="attributes_len" symbol="gst_sdp_media_attributes_len">
65 <return-type type="guint"/>
66 <parameters>
67 <parameter name="media" type="GstSDPMedia*"/>
68 </parameters>
69 </method>
70 <method name="bandwidths_len" symbol="gst_sdp_media_bandwidths_len">
71 <return-type type="guint"/>
72 <parameters>
73 <parameter name="media" type="GstSDPMedia*"/>
74 </parameters>
75 </method>
76 <method name="connections_len" symbol="gst_sdp_media_connections_len">
77 <return-type type="guint"/>
78 <parameters>
79 <parameter name="media" type="GstSDPMedia*"/>
80 </parameters>
81 </method>
82 <method name="formats_len" symbol="gst_sdp_media_formats_len">
83 <return-type type="guint"/>
84 <parameters>
85 <parameter name="media" type="GstSDPMedia*"/>
86 </parameters>
87 </method>
88 <method name="free" symbol="gst_sdp_media_free">
89 <return-type type="GstSDPResult"/>
90 <parameters>
91 <parameter name="media" type="GstSDPMedia*"/>
92 </parameters>
93 </method>
94 <method name="get_attribute" symbol="gst_sdp_media_get_attribute">
95 <return-type type="GstSDPAttribute*"/>
96 <parameters>
97 <parameter name="media" type="GstSDPMedia*"/>
98 <parameter name="idx" type="guint"/>
99 </parameters>
100 </method>
101 <method name="get_attribute_val" symbol="gst_sdp_media_get_attribute_val">
102 <return-type type="gchar*"/>
103 <parameters>
104 <parameter name="media" type="GstSDPMedia*"/>
105 <parameter name="key" type="gchar*"/>
106 </parameters>
107 </method>
108 <method name="get_attribute_val_n" symbol="gst_sdp_media_get_attribute_val_n">
109 <return-type type="gchar*"/>
110 <parameters>
111 <parameter name="media" type="GstSDPMedia*"/>
112 <parameter name="key" type="gchar*"/>
113 <parameter name="nth" type="guint"/>
114 </parameters>
115 </method>
116 <method name="get_bandwidth" symbol="gst_sdp_media_get_bandwidth">
117 <return-type type="GstSDPBandwidth*"/>
118 <parameters>
119 <parameter name="media" type="GstSDPMedia*"/>
120 <parameter name="idx" type="guint"/>
121 </parameters>
122 </method>
123 <method name="get_connection" symbol="gst_sdp_media_get_connection">
124 <return-type type="GstSDPConnection*"/>
125 <parameters>
126 <parameter name="media" type="GstSDPMedia*"/>
127 <parameter name="idx" type="guint"/>
128 </parameters>
129 </method>
130 <method name="get_format" symbol="gst_sdp_media_get_format">
131 <return-type type="gchar*"/>
132 <parameters>
133 <parameter name="media" type="GstSDPMedia*"/>
134 <parameter name="idx" type="guint"/>
135 </parameters>
136 </method>
137 <method name="get_information" symbol="gst_sdp_media_get_information">
138 <return-type type="gchar*"/>
139 <parameters>
140 <parameter name="media" type="GstSDPMedia*"/>
141 </parameters>
142 </method>
143 <method name="get_key" symbol="gst_sdp_media_get_key">
144 <return-type type="GstSDPKey*"/>
145 <parameters>
146 <parameter name="media" type="GstSDPMedia*"/>
147 </parameters>
148 </method>
149 <method name="get_media" symbol="gst_sdp_media_get_media">
150 <return-type type="gchar*"/>
151 <parameters>
152 <parameter name="media" type="GstSDPMedia*"/>
153 </parameters>
154 </method>
155 <method name="get_num_ports" symbol="gst_sdp_media_get_num_ports">
156 <return-type type="guint"/>
157 <parameters>
158 <parameter name="media" type="GstSDPMedia*"/>
159 </parameters>
160 </method>
161 <method name="get_port" symbol="gst_sdp_media_get_port">
162 <return-type type="guint"/>
163 <parameters>
164 <parameter name="media" type="GstSDPMedia*"/>
165 </parameters>
166 </method>
167 <method name="get_proto" symbol="gst_sdp_media_get_proto">
168 <return-type type="gchar*"/>
169 <parameters>
170 <parameter name="media" type="GstSDPMedia*"/>
171 </parameters>
172 </method>
173 <method name="init" symbol="gst_sdp_media_init">
174 <return-type type="GstSDPResult"/>
175 <parameters>
176 <parameter name="media" type="GstSDPMedia*"/>
177 </parameters>
178 </method>
179 <method name="new" symbol="gst_sdp_media_new">
180 <return-type type="GstSDPResult"/>
181 <parameters>
182 <parameter name="media" type="GstSDPMedia**"/>
183 </parameters>
184 </method>
185 <method name="set_information" symbol="gst_sdp_media_set_information">
186 <return-type type="GstSDPResult"/>
187 <parameters>
188 <parameter name="media" type="GstSDPMedia*"/>
189 <parameter name="information" type="gchar*"/>
190 </parameters>
191 </method>
192 <method name="set_key" symbol="gst_sdp_media_set_key">
193 <return-type type="GstSDPResult"/>
194 <parameters>
195 <parameter name="media" type="GstSDPMedia*"/>
196 <parameter name="type" type="gchar*"/>
197 <parameter name="data" type="gchar*"/>
198 </parameters>
199 </method>
200 <method name="set_media" symbol="gst_sdp_media_set_media">
201 <return-type type="GstSDPResult"/>
202 <parameters>
203 <parameter name="media" type="GstSDPMedia*"/>
204 <parameter name="med" type="gchar*"/>
205 </parameters>
206 </method>
207 <method name="set_port_info" symbol="gst_sdp_media_set_port_info">
208 <return-type type="GstSDPResult"/>
209 <parameters>
210 <parameter name="media" type="GstSDPMedia*"/>
211 <parameter name="port" type="guint"/>
212 <parameter name="num_ports" type="guint"/>
213 </parameters>
214 </method>
215 <method name="set_proto" symbol="gst_sdp_media_set_proto">
216 <return-type type="GstSDPResult"/>
217 <parameters>
218 <parameter name="media" type="GstSDPMedia*"/>
219 <parameter name="proto" type="gchar*"/>
220 </parameters>
221 </method>
222 <method name="uninit" symbol="gst_sdp_media_uninit">
223 <return-type type="GstSDPResult"/>
224 <parameters>
225 <parameter name="media" type="GstSDPMedia*"/>
226 </parameters>
227 </method>
228 <field name="media" type="gchar*"/>
229 <field name="port" type="guint"/>
230 <field name="num_ports" type="guint"/>
231 <field name="proto" type="gchar*"/>
232 <field name="fmts" type="GArray*"/>
233 <field name="information" type="gchar*"/>
234 <field name="connections" type="GArray*"/>
235 <field name="bandwidths" type="GArray*"/>
236 <field name="key" type="GstSDPKey"/>
237 <field name="attributes" type="GArray*"/>
238 </struct>
239 <struct name="GstSDPMessage">
240 <method name="add_attribute" symbol="gst_sdp_message_add_attribute">
241 <return-type type="GstSDPResult"/>
242 <parameters>
243 <parameter name="msg" type="GstSDPMessage*"/>
244 <parameter name="key" type="gchar*"/>
245 <parameter name="value" type="gchar*"/>
246 </parameters>
247 </method>
248 <method name="add_bandwidth" symbol="gst_sdp_message_add_bandwidth">
249 <return-type type="GstSDPResult"/>
250 <parameters>
251 <parameter name="msg" type="GstSDPMessage*"/>
252 <parameter name="bwtype" type="gchar*"/>
253 <parameter name="bandwidth" type="guint"/>
254 </parameters>
255 </method>
256 <method name="add_email" symbol="gst_sdp_message_add_email">
257 <return-type type="GstSDPResult"/>
258 <parameters>
259 <parameter name="msg" type="GstSDPMessage*"/>
260 <parameter name="email" type="gchar*"/>
261 </parameters>
262 </method>
263 <method name="add_media" symbol="gst_sdp_message_add_media">
264 <return-type type="GstSDPResult"/>
265 <parameters>
266 <parameter name="msg" type="GstSDPMessage*"/>
267 <parameter name="media" type="GstSDPMedia*"/>
268 </parameters>
269 </method>
270 <method name="add_phone" symbol="gst_sdp_message_add_phone">
271 <return-type type="GstSDPResult"/>
272 <parameters>
273 <parameter name="msg" type="GstSDPMessage*"/>
274 <parameter name="phone" type="gchar*"/>
275 </parameters>
276 </method>
277 <method name="add_time" symbol="gst_sdp_message_add_time">
278 <return-type type="GstSDPResult"/>
279 <parameters>
280 <parameter name="msg" type="GstSDPMessage*"/>
281 <parameter name="start" type="gchar*"/>
282 <parameter name="stop" type="gchar*"/>
283 <parameter name="repeat" type="gchar**"/>
284 </parameters>
285 </method>
286 <method name="add_zone" symbol="gst_sdp_message_add_zone">
287 <return-type type="GstSDPResult"/>
288 <parameters>
289 <parameter name="msg" type="GstSDPMessage*"/>
290 <parameter name="adj_time" type="gchar*"/>
291 <parameter name="typed_time" type="gchar*"/>
292 </parameters>
293 </method>
294 <method name="as_text" symbol="gst_sdp_message_as_text">
295 <return-type type="gchar*"/>
296 <parameters>
297 <parameter name="msg" type="GstSDPMessage*"/>
298 </parameters>
299 </method>
300 <method name="attributes_len" symbol="gst_sdp_message_attributes_len">
301 <return-type type="guint"/>
302 <parameters>
303 <parameter name="msg" type="GstSDPMessage*"/>
304 </parameters>
305 </method>
306 <method name="bandwidths_len" symbol="gst_sdp_message_bandwidths_len">
307 <return-type type="guint"/>
308 <parameters>
309 <parameter name="msg" type="GstSDPMessage*"/>
310 </parameters>
311 </method>
312 <method name="dump" symbol="gst_sdp_message_dump">
313 <return-type type="GstSDPResult"/>
314 <parameters>
315 <parameter name="msg" type="GstSDPMessage*"/>
316 </parameters>
317 </method>
318 <method name="emails_len" symbol="gst_sdp_message_emails_len">
319 <return-type type="guint"/>
320 <parameters>
321 <parameter name="msg" type="GstSDPMessage*"/>
322 </parameters>
323 </method>
324 <method name="free" symbol="gst_sdp_message_free">
325 <return-type type="GstSDPResult"/>
326 <parameters>
327 <parameter name="msg" type="GstSDPMessage*"/>
328 </parameters>
329 </method>
330 <method name="get_attribute" symbol="gst_sdp_message_get_attribute">
331 <return-type type="GstSDPAttribute*"/>
332 <parameters>
333 <parameter name="msg" type="GstSDPMessage*"/>
334 <parameter name="idx" type="guint"/>
335 </parameters>
336 </method>
337 <method name="get_attribute_val" symbol="gst_sdp_message_get_attribute_val">
338 <return-type type="gchar*"/>
339 <parameters>
340 <parameter name="msg" type="GstSDPMessage*"/>
341 <parameter name="key" type="gchar*"/>
342 </parameters>
343 </method>
344 <method name="get_attribute_val_n" symbol="gst_sdp_message_get_attribute_val_n">
345 <return-type type="gchar*"/>
346 <parameters>
347 <parameter name="msg" type="GstSDPMessage*"/>
348 <parameter name="key" type="gchar*"/>
349 <parameter name="nth" type="guint"/>
350 </parameters>
351 </method>
352 <method name="get_bandwidth" symbol="gst_sdp_message_get_bandwidth">
353 <return-type type="GstSDPBandwidth*"/>
354 <parameters>
355 <parameter name="msg" type="GstSDPMessage*"/>
356 <parameter name="idx" type="guint"/>
357 </parameters>
358 </method>
359 <method name="get_connection" symbol="gst_sdp_message_get_connection">
360 <return-type type="GstSDPConnection*"/>
361 <parameters>
362 <parameter name="msg" type="GstSDPMessage*"/>
363 </parameters>
364 </method>
365 <method name="get_email" symbol="gst_sdp_message_get_email">
366 <return-type type="gchar*"/>
367 <parameters>
368 <parameter name="msg" type="GstSDPMessage*"/>
369 <parameter name="idx" type="guint"/>
370 </parameters>
371 </method>
372 <method name="get_information" symbol="gst_sdp_message_get_information">
373 <return-type type="gchar*"/>
374 <parameters>
375 <parameter name="msg" type="GstSDPMessage*"/>
376 </parameters>
377 </method>
378 <method name="get_key" symbol="gst_sdp_message_get_key">
379 <return-type type="GstSDPKey*"/>
380 <parameters>
381 <parameter name="msg" type="GstSDPMessage*"/>
382 </parameters>
383 </method>
384 <method name="get_media" symbol="gst_sdp_message_get_media">
385 <return-type type="GstSDPMedia*"/>
386 <parameters>
387 <parameter name="msg" type="GstSDPMessage*"/>
388 <parameter name="idx" type="guint"/>
389 </parameters>
390 </method>
391 <method name="get_origin" symbol="gst_sdp_message_get_origin">
392 <return-type type="GstSDPOrigin*"/>
393 <parameters>
394 <parameter name="msg" type="GstSDPMessage*"/>
395 </parameters>
396 </method>
397 <method name="get_phone" symbol="gst_sdp_message_get_phone">
398 <return-type type="gchar*"/>
399 <parameters>
400 <parameter name="msg" type="GstSDPMessage*"/>
401 <parameter name="idx" type="guint"/>
402 </parameters>
403 </method>
404 <method name="get_session_name" symbol="gst_sdp_message_get_session_name">
405 <return-type type="gchar*"/>
406 <parameters>
407 <parameter name="msg" type="GstSDPMessage*"/>
408 </parameters>
409 </method>
410 <method name="get_time" symbol="gst_sdp_message_get_time">
411 <return-type type="GstSDPTime*"/>
412 <parameters>
413 <parameter name="msg" type="GstSDPMessage*"/>
414 <parameter name="idx" type="guint"/>
415 </parameters>
416 </method>
417 <method name="get_uri" symbol="gst_sdp_message_get_uri">
418 <return-type type="gchar*"/>
419 <parameters>
420 <parameter name="msg" type="GstSDPMessage*"/>
421 </parameters>
422 </method>
423 <method name="get_version" symbol="gst_sdp_message_get_version">
424 <return-type type="gchar*"/>
425 <parameters>
426 <parameter name="msg" type="GstSDPMessage*"/>
427 </parameters>
428 </method>
429 <method name="get_zone" symbol="gst_sdp_message_get_zone">
430 <return-type type="GstSDPZone*"/>
431 <parameters>
432 <parameter name="msg" type="GstSDPMessage*"/>
433 <parameter name="idx" type="guint"/>
434 </parameters>
435 </method>
436 <method name="init" symbol="gst_sdp_message_init">
437 <return-type type="GstSDPResult"/>
438 <parameters>
439 <parameter name="msg" type="GstSDPMessage*"/>
440 </parameters>
441 </method>
442 <method name="medias_len" symbol="gst_sdp_message_medias_len">
443 <return-type type="guint"/>
444 <parameters>
445 <parameter name="msg" type="GstSDPMessage*"/>
446 </parameters>
447 </method>
448 <method name="new" symbol="gst_sdp_message_new">
449 <return-type type="GstSDPResult"/>
450 <parameters>
451 <parameter name="msg" type="GstSDPMessage**"/>
452 </parameters>
453 </method>
454 <method name="parse_buffer" symbol="gst_sdp_message_parse_buffer">
455 <return-type type="GstSDPResult"/>
456 <parameters>
457 <parameter name="data" type="guint8*"/>
458 <parameter name="size" type="guint"/>
459 <parameter name="msg" type="GstSDPMessage*"/>
460 </parameters>
461 </method>
462 <method name="phones_len" symbol="gst_sdp_message_phones_len">
463 <return-type type="guint"/>
464 <parameters>
465 <parameter name="msg" type="GstSDPMessage*"/>
466 </parameters>
467 </method>
468 <method name="set_connection" symbol="gst_sdp_message_set_connection">
469 <return-type type="GstSDPResult"/>
470 <parameters>
471 <parameter name="msg" type="GstSDPMessage*"/>
472 <parameter name="nettype" type="gchar*"/>
473 <parameter name="addrtype" type="gchar*"/>
474 <parameter name="address" type="gchar*"/>
475 <parameter name="ttl" type="guint"/>
476 <parameter name="addr_number" type="guint"/>
477 </parameters>
478 </method>
479 <method name="set_information" symbol="gst_sdp_message_set_information">
480 <return-type type="GstSDPResult"/>
481 <parameters>
482 <parameter name="msg" type="GstSDPMessage*"/>
483 <parameter name="information" type="gchar*"/>
484 </parameters>
485 </method>
486 <method name="set_key" symbol="gst_sdp_message_set_key">
487 <return-type type="GstSDPResult"/>
488 <parameters>
489 <parameter name="msg" type="GstSDPMessage*"/>
490 <parameter name="type" type="gchar*"/>
491 <parameter name="data" type="gchar*"/>
492 </parameters>
493 </method>
494 <method name="set_origin" symbol="gst_sdp_message_set_origin">
495 <return-type type="GstSDPResult"/>
496 <parameters>
497 <parameter name="msg" type="GstSDPMessage*"/>
498 <parameter name="username" type="gchar*"/>
499 <parameter name="sess_id" type="gchar*"/>
500 <parameter name="sess_version" type="gchar*"/>
501 <parameter name="nettype" type="gchar*"/>
502 <parameter name="addrtype" type="gchar*"/>
503 <parameter name="addr" type="gchar*"/>
504 </parameters>
505 </method>
506 <method name="set_session_name" symbol="gst_sdp_message_set_session_name">
507 <return-type type="GstSDPResult"/>
508 <parameters>
509 <parameter name="msg" type="GstSDPMessage*"/>
510 <parameter name="session_name" type="gchar*"/>
511 </parameters>
512 </method>
513 <method name="set_uri" symbol="gst_sdp_message_set_uri">
514 <return-type type="GstSDPResult"/>
515 <parameters>
516 <parameter name="msg" type="GstSDPMessage*"/>
517 <parameter name="uri" type="gchar*"/>
518 </parameters>
519 </method>
520 <method name="set_version" symbol="gst_sdp_message_set_version">
521 <return-type type="GstSDPResult"/>
522 <parameters>
523 <parameter name="msg" type="GstSDPMessage*"/>
524 <parameter name="version" type="gchar*"/>
525 </parameters>
526 </method>
527 <method name="times_len" symbol="gst_sdp_message_times_len">
528 <return-type type="guint"/>
529 <parameters>
530 <parameter name="msg" type="GstSDPMessage*"/>
531 </parameters>
532 </method>
533 <method name="uninit" symbol="gst_sdp_message_uninit">
534 <return-type type="GstSDPResult"/>
535 <parameters>
536 <parameter name="msg" type="GstSDPMessage*"/>
537 </parameters>
538 </method>
539 <method name="zones_len" symbol="gst_sdp_message_zones_len">
540 <return-type type="guint"/>
541 <parameters>
542 <parameter name="msg" type="GstSDPMessage*"/>
543 </parameters>
544 </method>
545 <field name="version" type="gchar*"/>
546 <field name="origin" type="GstSDPOrigin"/>
547 <field name="session_name" type="gchar*"/>
548 <field name="information" type="gchar*"/>
549 <field name="uri" type="gchar*"/>
550 <field name="emails" type="GArray*"/>
551 <field name="phones" type="GArray*"/>
552 <field name="connection" type="GstSDPConnection"/>
553 <field name="bandwidths" type="GArray*"/>
554 <field name="times" type="GArray*"/>
555 <field name="zones" type="GArray*"/>
556 <field name="key" type="GstSDPKey"/>
557 <field name="attributes" type="GArray*"/>
558 <field name="medias" type="GArray*"/>
559 </struct>
560 <struct name="GstSDPOrigin">
561 <field name="username" type="gchar*"/>
562 <field name="sess_id" type="gchar*"/>
563 <field name="sess_version" type="gchar*"/>
564 <field name="nettype" type="gchar*"/>
565 <field name="addrtype" type="gchar*"/>
566 <field name="addr" type="gchar*"/>
567 </struct>
568 <struct name="GstSDPTime">
569 <field name="start" type="gchar*"/>
570 <field name="stop" type="gchar*"/>
571 <field name="repeat" type="GArray*"/>
572 </struct>
573 <struct name="GstSDPZone">
574 <field name="time" type="gchar*"/>
575 <field name="typed_time" type="gchar*"/>
576 </struct>
577 <enum name="GstSDPResult">
578 <member name="GST_SDP_OK" value="0"/>
579 <member name="GST_SDP_EINVAL" value="-1"/>
580 </enum>
581 <constant name="GST_SDP_BWTYPE_AS" type="char*" value="AS"/>
582 <constant name="GST_SDP_BWTYPE_CT" type="char*" value="CT"/>
583 <constant name="GST_SDP_BWTYPE_EXT_PREFIX" type="char*" value="X-"/>
584 <constant name="GST_SDP_BWTYPE_RR" type="char*" value="RR"/>
585 <constant name="GST_SDP_BWTYPE_RS" type="char*" value="RS"/>
586 </namespace>
587 </api>