vala r2104 - in trunk: . vapi



Author: juergbi
Date: Sun Nov 30 21:35:19 2008
New Revision: 2104
URL: http://svn.gnome.org/viewvc/vala?rev=2104&view=rev

Log:
2008-11-30  JÃrg Billeter  <j bitron ch>

	* vapi/gstreamer-rtsp-0.10.vapi:

	Regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-rtsp-0.10.vapi

Modified: trunk/vapi/gstreamer-rtsp-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-rtsp-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-rtsp-0.10.vapi	Sun Nov 30 21:35:19 2008
@@ -2,12 +2,142 @@
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
+	[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/gstrtspmessage.h")]
+	public class RTSPMessage {
+		public uchar body;
+		public uint body_size;
+		public GLib.Array hdr_fields;
+		public Gst.RTSPMsgType type;
+		public void* type_data;
+		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 (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 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 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 (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 max;
+		public int min;
+		public static Gst.RTSPResult parse (string rangestr, out Gst.RTSPTimeRange range);
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+	public class RTSPTime {
+		public double seconds;
+		public Gst.RTSPTimeType type;
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+	public class RTSPTimeRange {
+		public Gst.RTSPTime max;
+		public Gst.RTSPTime min;
+		public Gst.RTSPRangeUnit unit;
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsptransport.h")]
+	public class RTSPTransport {
+		public bool append;
+		public Gst.RTSPRange client_port;
+		public string destination;
+		public Gst.RTSPRange interleaved;
+		public uint layers;
+		public Gst.RTSPLowerTrans lower_transport;
+		public bool mode_play;
+		public bool mode_record;
+		public Gst.RTSPRange port;
+		public Gst.RTSPProfile profile;
+		public Gst.RTSPRange server_port;
+		public string source;
+		public uint ssrc;
+		public Gst.RTSPTransMode trans;
+		public uint ttl;
+		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 static Gst.RTSPResult @new (out Gst.RTSPTransport transport);
+		public static Gst.RTSPResult parse (string str, Gst.RTSPTransport transport);
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	public class RTSPUrl {
+		public string abspath;
+		public Gst.RTSPFamily family;
+		public string host;
+		public string passwd;
+		public ushort port;
+		public string query;
+		public Gst.RTSPLowerTrans transports;
+		public string user;
+		public Gst.RTSPResult get_port (ushort port);
+		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")]
+	public interface RTSPExtension {
+		public abstract Gst.RTSPResult after_send (Gst.RTSPMessage req, Gst.RTSPMessage resp);
+		public abstract Gst.RTSPResult before_send (Gst.RTSPMessage req);
+		public abstract bool configure_stream (Gst.Caps caps);
+		public abstract bool detect_server (Gst.RTSPMessage resp);
+		public abstract Gst.RTSPResult get_transports (Gst.RTSPLowerTrans protocols, string transport);
+		public abstract Gst.RTSPResult parse_sdp (Gst.SDPMessage sdp, Gst.Structure s);
+		public abstract Gst.RTSPResult setup_media (Gst.SDPMedia media);
+		public abstract Gst.RTSPResult stream_select (Gst.RTSPUrl url);
+		[HasEmitter]
+		public virtual signal Gst.RTSPResult send (void* req, void* resp);
+	}
 	[CCode (cprefix = "GST_RTSP_AUTH_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
 	public enum RTSPAuthMethod {
 		NONE,
 		BASIC,
 		DIGEST
 	}
+	[CCode (cprefix = "GST_RTSP_EV_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	[Flags]
+	public enum RTSPEvent {
+		READ,
+		WRITE
+	}
 	[CCode (cprefix = "GST_RTSP_FAM_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPFamily {
 		NONE,
@@ -78,6 +208,22 @@
 		UDP_MCAST,
 		TCP
 	}
+	[CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[Flags]
+	public enum RTSPMethod {
+		INVALID,
+		DESCRIBE,
+		ANNOUNCE,
+		GET_PARAMETER,
+		OPTIONS,
+		PAUSE,
+		PLAY,
+		RECORD,
+		REDIRECT,
+		SETUP,
+		SET_PARAMETER,
+		TEARDOWN
+	}
 	[CCode (cprefix = "GST_RTSP_MESSAGE_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspmessage.h")]
 	public enum RTSPMsgType {
 		INVALID,
@@ -192,160 +338,12 @@
 		INVALID,
 		1_0
 	}
-	[CCode (cprefix = "GST_RTSP_EV_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
-	[Flags]
-	public enum RTSPEvent {
-		READ,
-		WRITE
-	}
-	[CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
-	[Flags]
-	public enum RTSPMethod {
-		INVALID,
-		DESCRIBE,
-		ANNOUNCE,
-		GET_PARAMETER,
-		OPTIONS,
-		PAUSE,
-		PLAY,
-		RECORD,
-		REDIRECT,
-		SETUP,
-		SET_PARAMETER,
-		TEARDOWN
-	}
-	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtspmessage.h")]
-	public class RTSPMessage {
-		public Gst.RTSPMsgType type;
-		public void* type_data;
-		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 (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 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 (out uchar[] data, uint size);
-		public Gst.RTSPResult take_body (uchar[]# data, uint size);
-		public Gst.RTSPResult unset ();
-	}
-	[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 string destination;
-		public string source;
-		public uint layers;
-		public bool mode_play;
-		public bool mode_record;
-		public bool append;
-		public Gst.RTSPRange interleaved;
-		public uint ttl;
-		public Gst.RTSPRange port;
-		public Gst.RTSPRange client_port;
-		public Gst.RTSPRange server_port;
-		public uint ssrc;
-		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 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 string user;
-		public string passwd;
-		public string host;
-		public ushort port;
-		public string abspath;
-		public string query;
-		public Gst.RTSPResult get_port (ushort port);
-		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")]
-	public interface RTSPExtension {
-		public abstract Gst.RTSPResult after_send (Gst.RTSPMessage req, Gst.RTSPMessage resp);
-		public abstract Gst.RTSPResult before_send (Gst.RTSPMessage req);
-		public abstract bool configure_stream (Gst.Caps caps);
-		public abstract bool detect_server (Gst.RTSPMessage resp);
-		public abstract Gst.RTSPResult get_transports (Gst.RTSPLowerTrans protocols, string transport);
-		public abstract Gst.RTSPResult parse_sdp (Gst.SDPMessage sdp, Gst.Structure s);
-		public abstract Gst.RTSPResult setup_media (Gst.SDPMedia media);
-		public abstract Gst.RTSPResult stream_select (Gst.RTSPUrl url);
-		[HasEmitter]
-		public virtual signal Gst.RTSPResult send (void* req, void* resp);
-	}
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspurl.h")]
 	public const int RTSP_DEFAULT_PORT;
 	[CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
-	public static void rtsp_base64_decode_ip (string data, ulong len);
+	public static void rtsp_base64_decode_ip (string data, size_t len);
 	[CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
-	public static weak string rtsp_base64_encode (string data, ulong len);
+	public static weak string rtsp_base64_encode (string data, size_t len);
 	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static Gst.RTSPHeaderField rtsp_find_header_field (string header);
 	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]