gio-2.0: "address" parameter of Socket.receive_message() is optional
[vala-gnome.git] / vapi / gstreamer-sdp-0.10.vapi
blob43cd4799da5225da5ddfb5e4c0d5dead229e2a6e
1 /* gstreamer-sdp-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstSdp", gir_version = "0.10", lower_case_cprefix = "gst_")]
4 [Version (deprecated = true, replacement = "gstreamer-1.0")]
5 namespace Gst {
6         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
7         [Compact]
8         public class SDPAttribute {
9                 public weak string key;
10                 public weak string value;
11         }
12         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
13         [Compact]
14         public class SDPBandwidth {
15                 public uint bandwidth;
16                 public weak string bwtype;
17         }
18         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
19         [Compact]
20         public class SDPConnection {
21                 public uint addr_number;
22                 public weak string address;
23                 public weak string addrtype;
24                 public weak string nettype;
25                 public uint ttl;
26         }
27         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
28         [Compact]
29         public class SDPKey {
30                 public weak string data;
31                 public weak string type;
32         }
33         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
34         [Compact]
35         public class SDPMedia {
36                 public weak GLib.Array<Gst.SDPAttribute> attributes;
37                 public weak GLib.Array<Gst.SDPBandwidth> bandwidths;
38                 public weak GLib.Array<Gst.SDPConnection> connections;
39                 public weak GLib.Array<string> fmts;
40                 public weak string information;
41                 public weak Gst.SDPKey key;
42                 public weak string media;
43                 public uint num_ports;
44                 public uint port;
45                 public weak string proto;
46                 [CCode (has_construct_function = false, type = "GstSDPResult")]
47                 public SDPMedia (out unowned Gst.SDPMedia media);
48                 public Gst.SDPResult add_attribute (string key, string value);
49                 public Gst.SDPResult add_bandwidth (string bwtype, uint bandwidth);
50                 public Gst.SDPResult add_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
51                 public Gst.SDPResult add_format (string format);
52                 public unowned string as_text ();
53                 public uint attributes_len ();
54                 public uint bandwidths_len ();
55                 public uint connections_len ();
56                 public uint formats_len ();
57                 public unowned Gst.SDPAttribute get_attribute (uint idx);
58                 public unowned string get_attribute_val (string key);
59                 public unowned string get_attribute_val_n (string key, uint nth);
60                 public unowned Gst.SDPBandwidth get_bandwidth (uint idx);
61                 public unowned Gst.SDPConnection get_connection (uint idx);
62                 public unowned string get_format (uint idx);
63                 public unowned string get_information ();
64                 public unowned Gst.SDPKey get_key ();
65                 public unowned string get_media ();
66                 public uint get_num_ports ();
67                 public uint get_port ();
68                 public unowned string get_proto ();
69                 public Gst.SDPResult init ();
70                 public Gst.SDPResult set_information (string information);
71                 public Gst.SDPResult set_key (string type, string data);
72                 public Gst.SDPResult set_media (string med);
73                 public Gst.SDPResult set_port_info (uint port, uint num_ports);
74                 public Gst.SDPResult set_proto (string proto);
75                 public Gst.SDPResult uninit ();
76         }
77         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
78         [Compact]
79         public class SDPMessage {
80                 public weak GLib.Array<Gst.SDPAttribute> attributes;
81                 public weak GLib.Array<Gst.SDPBandwidth> bandwidths;
82                 public weak Gst.SDPConnection connection;
83                 public weak GLib.Array<string> emails;
84                 public weak string information;
85                 public weak Gst.SDPKey key;
86                 public weak GLib.Array<Gst.SDPMedia> medias;
87                 public weak Gst.SDPOrigin origin;
88                 public weak GLib.Array<string> phones;
89                 public weak string session_name;
90                 public weak GLib.Array<Gst.SDPTime> times;
91                 public weak string uri;
92                 public weak string version;
93                 public weak GLib.Array<Gst.SDPZone> zones;
94                 [CCode (has_construct_function = false, type = "GstSDPResult")]
95                 public SDPMessage (out unowned Gst.SDPMessage msg);
96                 public Gst.SDPResult add_attribute (string key, string value);
97                 public Gst.SDPResult add_bandwidth (string bwtype, uint bandwidth);
98                 public Gst.SDPResult add_email (string email);
99                 public Gst.SDPResult add_media (Gst.SDPMedia media);
100                 public Gst.SDPResult add_phone (string phone);
101                 public Gst.SDPResult add_time (string start, string stop, string repeat);
102                 public Gst.SDPResult add_zone (string adj_time, string typed_time);
103                 public unowned string as_text ();
104                 public static unowned string as_uri (string scheme, Gst.SDPMessage msg);
105                 public uint attributes_len ();
106                 public uint bandwidths_len ();
107                 public Gst.SDPResult dump ();
108                 public uint emails_len ();
109                 public unowned Gst.SDPAttribute get_attribute (uint idx);
110                 public unowned string get_attribute_val (string key);
111                 public unowned string get_attribute_val_n (string key, uint nth);
112                 public unowned Gst.SDPBandwidth get_bandwidth (uint idx);
113                 public unowned Gst.SDPConnection get_connection ();
114                 public unowned string get_email (uint idx);
115                 public unowned string get_information ();
116                 public unowned Gst.SDPKey get_key ();
117                 public unowned Gst.SDPMedia get_media (uint idx);
118                 public unowned Gst.SDPOrigin get_origin ();
119                 public unowned string get_phone (uint idx);
120                 public unowned string get_session_name ();
121                 public unowned Gst.SDPTime get_time (uint idx);
122                 public unowned string get_uri ();
123                 public unowned string get_version ();
124                 public unowned Gst.SDPZone get_zone (uint idx);
125                 public Gst.SDPResult init ();
126                 public uint medias_len ();
127                 public static Gst.SDPResult parse_buffer (uchar data, uint size, Gst.SDPMessage msg);
128                 public static Gst.SDPResult parse_uri (string uri, Gst.SDPMessage msg);
129                 public uint phones_len ();
130                 public Gst.SDPResult set_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
131                 public Gst.SDPResult set_information (string information);
132                 public Gst.SDPResult set_key (string type, string data);
133                 public Gst.SDPResult set_origin (string username, string sess_id, string sess_version, string nettype, string addrtype, string addr);
134                 public Gst.SDPResult set_session_name (string session_name);
135                 public Gst.SDPResult set_uri (string uri);
136                 public Gst.SDPResult set_version (string version);
137                 public uint times_len ();
138                 public Gst.SDPResult uninit ();
139                 public uint zones_len ();
140         }
141         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
142         [Compact]
143         public class SDPOrigin {
144                 public weak string addr;
145                 public weak string addrtype;
146                 public weak string nettype;
147                 public weak string sess_id;
148                 public weak string sess_version;
149                 public weak string username;
150         }
151         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
152         [Compact]
153         public class SDPTime {
154                 public weak GLib.Array<Gst.SDPTime> repeat;
155                 public weak string start;
156                 public weak string stop;
157         }
158         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
159         [Compact]
160         public class SDPZone {
161                 public weak string time;
162                 public weak string typed_time;
163         }
164         [CCode (cheader_filename = "gst/sdp/gstsdp.h", cprefix = "GST_SDP_", has_type_id = false)]
165         public enum SDPResult {
166                 OK,
167                 EINVAL
168         }
169         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
170         public const string SDP_BWTYPE_AS;
171         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
172         public const string SDP_BWTYPE_CT;
173         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
174         public const string SDP_BWTYPE_EXT_PREFIX;
175         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
176         public const string SDP_BWTYPE_RR;
177         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
178         public const string SDP_BWTYPE_RS;
179         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
180         public const string SDP_BWTYPE_TIAS;
181         [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
182         public static bool sdp_address_is_multicast (string nettype, string addrtype, string addr);