Various fixes, patch by Ali Sabil
authorJürg Billeter <j@bitron.ch>
Sat, 14 Jun 2008 18:01:40 +0000 (18:01 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 14 Jun 2008 18:01:40 +0000 (18:01 +0000)
2008-06-14  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-rtsp-0.10/:

Various fixes, patch by Ali Sabil

* vapi/gstreamer-rtsp-0.10.vapi: regenerated

svn path=/trunk/; revision=1581

ChangeLog
vapi/gstreamer-rtsp-0.10.vapi
vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala [new file with mode: 0644]
vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.gi
vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.metadata

index 675f176..6354b81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-06-14  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/packages/gstreamer-rtsp-0.10/:
+
+       Various fixes, patch by Ali Sabil
+
+       * vapi/gstreamer-rtsp-0.10.vapi: regenerated
+
+2008-06-14  Jürg Billeter  <j@bitron.ch>
+
        * vapi/packages/gtk+-2.0/:
 
        Fix gtk_label_new binding
index 7657b87..fd79e7d 100644 (file)
@@ -2,19 +2,19 @@
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
-       [CCode (cprefix = "GST_RTSP_AUTH_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+       [CCode (cprefix = "GST_RTSP_AUTH_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
        public enum RTSPAuthMethod {
                NONE,
                BASIC,
                DIGEST
        }
-       [CCode (cprefix = "GST_RTSP_FAM_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_FAM_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public enum RTSPFamily {
                NONE,
                INET,
                INET6
        }
-       [CCode (cprefix = "GST_RTSP_HDR_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_HDR_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public enum RTSPHeaderField {
                INVALID,
                ACCEPT,
@@ -99,7 +99,7 @@ namespace Gst {
                NPT,
                CLOCK
        }
-       [CCode (cprefix = "GST_RTSP_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+       [CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
        public enum RTSPResult {
                OK,
                ERROR,
@@ -118,7 +118,7 @@ namespace Gst {
                ETIMEOUT,
                ELAST
        }
-       [CCode (cprefix = "GST_RTSP_STATE_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_STATE_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public enum RTSPState {
                INVALID,
                INIT,
@@ -127,7 +127,7 @@ namespace Gst {
                PLAYING,
                RECORDING
        }
-       [CCode (cprefix = "GST_RTSP_STS_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_STS_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public enum RTSPStatusCode {
                INVALID,
                CONTINUE,
@@ -187,18 +187,18 @@ namespace Gst {
                RTP,
                RDT
        }
-       [CCode (cprefix = "GST_RTSP_VERSION_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_VERSION_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public enum RTSPVersion {
                INVALID,
                1_0
        }
-       [CCode (cprefix = "GST_RTSP_EV_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+       [CCode (cprefix = "GST_RTSP_EV_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
        [Flags]
        public enum RTSPEvent {
                READ,
                WRITE
        }
-       [CCode (cprefix = "GST_RTSP_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+       [CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        [Flags]
        public enum RTSPMethod {
                INVALID,
@@ -215,123 +215,116 @@ namespace Gst {
                TEARDOWN
        }
        [Compact]
-       [CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
-       public class RTSPConnection {
-               public weak Gst.RTSPUrl url;
-               public int fd;
-               [NoArrayLength]
-               public weak int[] control_sock;
-               public weak string ip;
-               public int cseq;
-               [NoArrayLength]
-               public weak char[] session_id;
-               public int timeout;
-               public weak GLib.Timer timer;
-               public Gst.RTSPAuthMethod auth_method;
-               public weak string username;
-               public weak string passwd;
-               public Gst.RTSPResult close ();
-               public Gst.RTSPResult connect (GLib.TimeVal timeout);
-               public static Gst.RTSPResult create (Gst.RTSPUrl url, out weak Gst.RTSPConnection conn);
-               public Gst.RTSPResult flush (bool flush);
-               public Gst.RTSPResult next_timeout (GLib.TimeVal timeout);
-               public Gst.RTSPResult poll (Gst.RTSPEvent events, Gst.RTSPEvent revents, GLib.TimeVal timeout);
-               public Gst.RTSPResult read (uchar data, uint size, GLib.TimeVal timeout);
-               public Gst.RTSPResult receive (Gst.RTSPMessage message, GLib.TimeVal timeout);
-               public Gst.RTSPResult reset_timeout ();
-               public Gst.RTSPResult send (Gst.RTSPMessage message, GLib.TimeVal timeout);
-               public Gst.RTSPResult set_auth (Gst.RTSPAuthMethod method, string user, string pass);
-               public Gst.RTSPResult write (uchar data, uint size, GLib.TimeVal timeout);
-       }
-       [Compact]
-       [CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspmessage.h")]
        public class RTSPMessage {
                public Gst.RTSPMsgType type;
                public void* type_data;
-               public weak GLib.Array hdr_fields;
+               public GLib.Array hdr_fields;
                public uchar body;
                public uint body_size;
+               public static Gst.RTSPResult @new (out Gst.RTSPMessage msg);
+               public static Gst.RTSPResult new_data (out Gst.RTSPMessage msg, uchar channel);
+               public static Gst.RTSPResult new_request (out Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
+               public static Gst.RTSPResult new_response (out Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
+               public RTSPMessage ();
                public Gst.RTSPResult add_header (Gst.RTSPHeaderField field, string value);
                public Gst.RTSPResult append_headers (GLib.StringBuilder str);
                public Gst.RTSPResult dump ();
-               public Gst.RTSPResult get_body (uchar data, uint size);
-               public Gst.RTSPResult get_header (Gst.RTSPHeaderField field, string value, int indx);
+               public Gst.RTSPResult get_body (out weak uchar[] data, uint size);
+               public Gst.RTSPResult get_header (Gst.RTSPHeaderField field, out weak string value, int indx);
                public Gst.RTSPResult init ();
                public Gst.RTSPResult init_data (uchar channel);
                public Gst.RTSPResult init_request (Gst.RTSPMethod method, string uri);
                public Gst.RTSPResult init_response (Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
-               public RTSPMessage (out weak Gst.RTSPMessage msg);
-               public RTSPMessage.data (out weak Gst.RTSPMessage msg, uchar channel);
-               public RTSPMessage.request (out weak Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
-               public RTSPMessage.response (out weak Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
                public Gst.RTSPResult parse_data (uchar channel);
                public Gst.RTSPResult parse_request (Gst.RTSPMethod method, string uri, Gst.RTSPVersion version);
                public Gst.RTSPResult parse_response (Gst.RTSPStatusCode code, string reason, Gst.RTSPVersion version);
                public Gst.RTSPResult remove_header (Gst.RTSPHeaderField field, int indx);
-               public Gst.RTSPResult set_body (uchar data, uint size);
-               public Gst.RTSPResult steal_body (uchar data, uint size);
-               public Gst.RTSPResult take_body (uchar data, uint size);
+               public Gst.RTSPResult set_body (uchar[] data, uint size);
+               public Gst.RTSPResult steal_body (out uchar[] data, uint size);
+               public Gst.RTSPResult take_body (uchar[]# data, uint size);
                public Gst.RTSPResult unset ();
        }
        [Compact]
-       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-       public class RTSPRange {
-               public int min;
-               public int max;
-               public static Gst.RTSPResult parse (string rangestr, out weak Gst.RTSPTimeRange range);
-       }
-       [Compact]
-       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-       public class RTSPTime {
-               public Gst.RTSPTimeType type;
-               public double seconds;
-       }
-       [Compact]
-       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-       public class RTSPTimeRange {
-               public Gst.RTSPRangeUnit unit;
-               public weak Gst.RTSPTime min;
-               public weak Gst.RTSPTime max;
-       }
-       [Compact]
        [CCode (cheader_filename = "gst/rtsp/gstrtsptransport.h")]
        public class RTSPTransport {
                public Gst.RTSPTransMode trans;
                public Gst.RTSPProfile profile;
                public Gst.RTSPLowerTrans lower_transport;
-               public weak string destination;
-               public weak string source;
+               public string destination;
+               public string source;
                public uint layers;
                public bool mode_play;
                public bool mode_record;
                public bool append;
-               public weak Gst.RTSPRange interleaved;
+               public Gst.RTSPRange interleaved;
                public uint ttl;
-               public weak Gst.RTSPRange port;
-               public weak Gst.RTSPRange client_port;
-               public weak Gst.RTSPRange server_port;
+               public Gst.RTSPRange port;
+               public Gst.RTSPRange client_port;
+               public Gst.RTSPRange server_port;
                public uint ssrc;
-               public weak string as_text ();
+               public static Gst.RTSPResult @new (out Gst.RTSPTransport transport);
+               public RTSPTransport ();
+               public string as_text ();
                public static Gst.RTSPResult get_manager (Gst.RTSPTransMode trans, string manager, uint option);
                public static Gst.RTSPResult get_mime (Gst.RTSPTransMode trans, string mime);
                public Gst.RTSPResult init ();
-               public RTSPTransport (out weak Gst.RTSPTransport transport);
                public static Gst.RTSPResult parse (string str, Gst.RTSPTransport transport);
        }
        [Compact]
        [CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+       public class RTSPConnection {
+               public void clear_auth_params ();
+               public Gst.RTSPResult close ();
+               public Gst.RTSPResult connect (GLib.TimeVal timeout);
+               public static Gst.RTSPResult create (Gst.RTSPUrl url, out Gst.RTSPConnection conn);
+               public Gst.RTSPResult flush (bool flush);
+               public weak string get_ip ();
+               public Gst.RTSPResult next_timeout (GLib.TimeVal timeout);
+               public Gst.RTSPResult poll (Gst.RTSPEvent events, Gst.RTSPEvent revents, GLib.TimeVal timeout);
+               public Gst.RTSPResult read (uchar data, uint size, GLib.TimeVal timeout);
+               public Gst.RTSPResult receive (Gst.RTSPMessage message, GLib.TimeVal timeout);
+               public Gst.RTSPResult reset_timeout ();
+               public Gst.RTSPResult send (Gst.RTSPMessage message, GLib.TimeVal timeout);
+               public Gst.RTSPResult set_auth (Gst.RTSPAuthMethod method, string user, string pass);
+               public void set_auth_param (string param, string value);
+               public Gst.RTSPResult set_qos_dscp (uint qos_dscp);
+               public Gst.RTSPResult write (uchar data, uint size, GLib.TimeVal timeout);
+       }
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+       public class RTSPRange {
+               public int min;
+               public int max;
+               public static Gst.RTSPResult parse (string rangestr, out Gst.RTSPTimeRange range);
+       }
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+       public class RTSPTime {
+               public Gst.RTSPTimeType type;
+               public double seconds;
+       }
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+       public class RTSPTimeRange {
+               public Gst.RTSPRangeUnit unit;
+               public Gst.RTSPTime min;
+               public Gst.RTSPTime max;
+       }
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
        public class RTSPUrl {
                public Gst.RTSPLowerTrans transports;
                public Gst.RTSPFamily family;
-               public weak string user;
-               public weak string passwd;
-               public weak string host;
+               public string user;
+               public string passwd;
+               public string host;
                public ushort port;
-               public weak string abspath;
-               public weak string query;
+               public string abspath;
+               public string query;
                public Gst.RTSPResult get_port (ushort port);
-               public weak string get_request_uri ();
-               public static Gst.RTSPResult parse (string urlstr, out weak Gst.RTSPUrl url);
+               public string get_request_uri ();
+               public static Gst.RTSPResult parse (string urlstr, out Gst.RTSPUrl url);
                public Gst.RTSPResult set_port (ushort port);
        }
        [CCode (cheader_filename = "gst/rtsp/gstrtspextension.h")]
@@ -349,22 +342,22 @@ namespace Gst {
        }
        [CCode (cheader_filename = "gst/gst.h")]
        public const int RTSP_DEFAULT_PORT;
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
        public static void rtsp_base64_decode_ip (string data, ulong len);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
        public static weak string rtsp_base64_encode (string data, ulong len);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static Gst.RTSPHeaderField rtsp_find_header_field (string header);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static Gst.RTSPMethod rtsp_find_method (string method);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static weak string rtsp_header_as_text (Gst.RTSPHeaderField field);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static weak string rtsp_method_as_text (Gst.RTSPMethod method);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static weak string rtsp_status_as_text (Gst.RTSPStatusCode code);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static weak string rtsp_strresult (Gst.RTSPResult _result);
-       [CCode (cheader_filename = "gst/gst.h")]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
        public static weak string rtsp_version_as_text (Gst.RTSPVersion version);
 }
diff --git a/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala b/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala
new file mode 100644 (file)
index 0000000..851d120
--- /dev/null
@@ -0,0 +1,37 @@
+/* gstreamer-rtsp-0.10-custom.vala
+ *
+ * Copyright (C) 2008  Ali Sabil
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ *
+ * Author:
+ *     Ali Sabil <ali.sabil@gmail.com>
+ */
+namespace Gst {
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtspmessage.h", free_function = "gst_rtsp_message_free")]
+       public class RTSPMessage {
+               public static Gst.RTSPResult @new (out Gst.RTSPMessage msg);
+               public static Gst.RTSPResult new_data (out Gst.RTSPMessage msg, uchar channel);
+               public static Gst.RTSPResult new_request (out Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
+               public static Gst.RTSPResult new_response (out Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
+       }
+
+       [Compact]
+       [CCode (cheader_filename = "gst/rtsp/gstrtsptransport.h", free_function = "gst_rtsp_transport_free")]
+       public class RTSPTransport {
+               public static Gst.RTSPResult @new (out Gst.RTSPTransport transport);
+       }
+}
index d02730c..2640015 100644 (file)
                        </parameters>
                </function>
                <struct name="GstRTSPConnection">
+                       <method name="clear_auth_params" symbol="gst_rtsp_connection_clear_auth_params">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="conn" type="GstRTSPConnection*"/>
+                               </parameters>
+                       </method>
                        <method name="close" symbol="gst_rtsp_connection_close">
                                <return-type type="GstRTSPResult"/>
                                <parameters>
                                        <parameter name="conn" type="GstRTSPConnection*"/>
                                </parameters>
                        </method>
+                       <method name="get_ip" symbol="gst_rtsp_connection_get_ip">
+                               <return-type type="gchar*"/>
+                               <parameters>
+                                       <parameter name="conn" type="GstRTSPConnection*"/>
+                               </parameters>
+                       </method>
                        <method name="next_timeout" symbol="gst_rtsp_connection_next_timeout">
                                <return-type type="GstRTSPResult"/>
                                <parameters>
                                        <parameter name="pass" type="gchar*"/>
                                </parameters>
                        </method>
+                       <method name="set_auth_param" symbol="gst_rtsp_connection_set_auth_param">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="conn" type="GstRTSPConnection*"/>
+                                       <parameter name="param" type="gchar*"/>
+                                       <parameter name="value" type="gchar*"/>
+                               </parameters>
+                       </method>
+                       <method name="set_qos_dscp" symbol="gst_rtsp_connection_set_qos_dscp">
+                               <return-type type="GstRTSPResult"/>
+                               <parameters>
+                                       <parameter name="conn" type="GstRTSPConnection*"/>
+                                       <parameter name="qos_dscp" type="guint"/>
+                               </parameters>
+                       </method>
                        <method name="write" symbol="gst_rtsp_connection_write">
                                <return-type type="GstRTSPResult"/>
                                <parameters>
                                        <parameter name="timeout" type="GTimeVal*"/>
                                </parameters>
                        </method>
-                       <field name="url" type="GstRTSPUrl*"/>
-                       <field name="fd" type="gint"/>
-                       <field name="control_sock" type="gint[]"/>
-                       <field name="ip" type="gchar*"/>
-                       <field name="cseq" type="gint"/>
-                       <field name="session_id" type="gchar[]"/>
-                       <field name="timeout" type="gint"/>
-                       <field name="timer" type="GTimer*"/>
-                       <field name="auth_method" type="GstRTSPAuthMethod"/>
-                       <field name="username" type="gchar*"/>
-                       <field name="passwd" type="gchar*"/>
                </struct>
                <struct name="GstRTSPMessage">
                        <method name="add_header" symbol="gst_rtsp_message_add_header">
                        <field name="abspath" type="gchar*"/>
                        <field name="query" type="gchar*"/>
                </struct>
-               <enum name="GstRTSPAuthMethod">
+               <enum name="GstRTSPAuthMethod" type-name="GstRTSPAuthMethod" get-type="gst_rtsp_auth_method_get_type">
                        <member name="GST_RTSP_AUTH_NONE" value="0"/>
                        <member name="GST_RTSP_AUTH_BASIC" value="1"/>
                        <member name="GST_RTSP_AUTH_DIGEST" value="2"/>
                </enum>
-               <enum name="GstRTSPFamily">
+               <enum name="GstRTSPFamily" type-name="GstRTSPFamily" get-type="gst_rtsp_family_get_type">
                        <member name="GST_RTSP_FAM_NONE" value="0"/>
                        <member name="GST_RTSP_FAM_INET" value="1"/>
                        <member name="GST_RTSP_FAM_INET6" value="2"/>
                </enum>
-               <enum name="GstRTSPHeaderField">
+               <enum name="GstRTSPHeaderField" type-name="GstRTSPHeaderField" get-type="gst_rtsp_header_field_get_type">
                        <member name="GST_RTSP_HDR_INVALID" value="0"/>
                        <member name="GST_RTSP_HDR_ACCEPT" value="1"/>
                        <member name="GST_RTSP_HDR_ACCEPT_ENCODING" value="2"/>
                        <member name="GST_RTSP_RANGE_NPT" value="3"/>
                        <member name="GST_RTSP_RANGE_CLOCK" value="4"/>
                </enum>
-               <enum name="GstRTSPResult">
+               <enum name="GstRTSPResult" type-name="GstRTSPResult" get-type="gst_rtsp_result_get_type">
                        <member name="GST_RTSP_OK" value="0"/>
                        <member name="GST_RTSP_ERROR" value="-1"/>
                        <member name="GST_RTSP_EINVAL" value="-2"/>
                        <member name="GST_RTSP_ETIMEOUT" value="-14"/>
                        <member name="GST_RTSP_ELAST" value="-15"/>
                </enum>
-               <enum name="GstRTSPState">
+               <enum name="GstRTSPState" type-name="GstRTSPState" get-type="gst_rtsp_state_get_type">
                        <member name="GST_RTSP_STATE_INVALID" value="0"/>
                        <member name="GST_RTSP_STATE_INIT" value="1"/>
                        <member name="GST_RTSP_STATE_READY" value="2"/>
                        <member name="GST_RTSP_STATE_PLAYING" value="4"/>
                        <member name="GST_RTSP_STATE_RECORDING" value="5"/>
                </enum>
-               <enum name="GstRTSPStatusCode">
+               <enum name="GstRTSPStatusCode" type-name="GstRTSPStatusCode" get-type="gst_rtsp_status_code_get_type">
                        <member name="GST_RTSP_STS_INVALID" value="0"/>
                        <member name="GST_RTSP_STS_CONTINUE" value="100"/>
                        <member name="GST_RTSP_STS_OK" value="200"/>
                        <member name="GST_RTSP_TRANS_RTP" value="1"/>
                        <member name="GST_RTSP_TRANS_RDT" value="2"/>
                </enum>
-               <enum name="GstRTSPVersion">
+               <enum name="GstRTSPVersion" type-name="GstRTSPVersion" get-type="gst_rtsp_version_get_type">
                        <member name="GST_RTSP_VERSION_INVALID" value="0"/>
                        <member name="GST_RTSP_VERSION_1_0" value="16"/>
                </enum>
-               <flags name="GstRTSPEvent">
+               <flags name="GstRTSPEvent" type-name="GstRTSPEvent" get-type="gst_rtsp_event_get_type">
                        <member name="GST_RTSP_EV_READ" value="1"/>
                        <member name="GST_RTSP_EV_WRITE" value="2"/>
                </flags>
-               <flags name="GstRTSPMethod">
+               <flags name="GstRTSPMethod" type-name="GstRTSPMethod" get-type="gst_rtsp_method_get_type">
                        <member name="GST_RTSP_INVALID" value="0"/>
                        <member name="GST_RTSP_DESCRIBE" value="1"/>
                        <member name="GST_RTSP_ANNOUNCE" value="2"/>
index 4c984ca..994a805 100644 (file)
@@ -16,20 +16,38 @@ GstRTSPVersion cheader_filename="gst/rtsp/gstrtspdefs.h"
 GstRTSPEvent cheader_filename="gst/rtsp/gstrtspconnection.h"
 GstRTSPMethod cheader_filename="gst/rtsp/gstrtspdefs.h"
 GstRTSPConnection cheader_filename="gst/rtsp/gstrtspconnection.h"
-GstRTSPMessage cheader_filename="gst/rtsp/gstrtspconnection.h"
+GstRTSPMessage cheader_filename="gst/rtsp/gstrtspmessage.h"
+GstRTSPMessage.hdr_fields weak="0"
 GstRTSPRange cheader_filename="gst/rtsp/gstrtsprange.h"
 GstRTSPTime cheader_filename="gst/rtsp/gstrtsprange.h"
 GstRTSPTimeRange cheader_filename="gst/rtsp/gstrtsprange.h"
-GstRTSPTransport cheader_filename="gst/rtsp/gstrtsptransport.h"
+GstRTSPTimeRange.* weak="0"
+GstRTSPTransport.* weak="0"
 GstRTSPUrl cheader_filename="gst/rtsp/gstrtspconnection.h"
+GstRTSPUrl.* weak="0"
 GstRTSPExtension cheader_filename="gst/rtsp/gstrtspextension.h"
 gst_rtsp_base64_decode_ip cheader_filename="gst/rtsp/gstrtspbase64.h"
 gst_rtsp_base64_encode cheader_filename="gst/rtsp/gstrtspbase64.h"
+gst_rtsp_connection_create.conn transfer_ownership="1"
 gst_rtsp_find_header_field cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_find_method cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_header_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_method_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
+gst_rtsp_message_new hidden="1"
+gst_rtsp_message_new_request hidden="1"
+gst_rtsp_message_new_response hidden="1"
+gst_rtsp_message_new_data hidden="1"
+gst_rtsp_message_get_body.data is_array="1" is_out="1"
+gst_rtsp_message_get_header.value is_out="1"
+gst_rtsp_message_set_body.data is_array="1"
+gst_rtsp_message_steal_body.data is_array="1" is_out="1" value_owned="1"
+gst_rtsp_message_take_body.data is_array="1" takes_ownership="1"
+gst_rtsp_range_parse.range transfer_ownership="1"
 gst_rtsp_status_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_strresult cheader_filename="gst/rtsp/gstrtspdefs.h"
+gst_rtsp_transport_new hidden="1"
+gst_rtsp_transport_as_text transfer_ownership="1"
+gst_rtsp_url_get_request_uri transfer_ownership="1"
+gst_rtsp_url_parse.url transfer_ownership="1"
 gst_rtsp_version_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 GST_RTSP_DEFAULT_PORT cheader_filename="gst/rtsp/gstrtspurl.h"