[vala/0.6] gstreamer-netbuffer-0.10: Update bindings



commit efe555153dadf1722eefdd04e8eca55116516633
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Tue Apr 7 18:25:40 2009 +0200

    gstreamer-netbuffer-0.10: Update bindings
---
 vapi/gstreamer-netbuffer-0.10.vapi                 |    6 +++++
 .../gstreamer-netbuffer-0.10.gi                    |   24 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/vapi/gstreamer-netbuffer-0.10.vapi b/vapi/gstreamer-netbuffer-0.10.vapi
index 61b9315..a3d295a 100644
--- a/vapi/gstreamer-netbuffer-0.10.vapi
+++ b/vapi/gstreamer-netbuffer-0.10.vapi
@@ -20,12 +20,18 @@ namespace Gst {
 		public Gst.NetType type;
 		public void* address;
 		public uint16 port;
+		[CCode (cname = "gst_netaddress_equal")]
+		public bool equal (Gst.NetAddress naddr2);
+		[CCode (cname = "gst_netaddress_get_address_bytes")]
+		public int get_address_bytes ([CCode (array_length = false)] uchar[] address, out uint16 port);
 		[CCode (cname = "gst_netaddress_get_ip4_address")]
 		public bool get_ip4_address (out uint32 address, out uint16 port);
 		[CCode (cname = "gst_netaddress_get_ip6_address")]
 		public bool get_ip6_address ([CCode (array_length = false)] uchar[] address, out uint16 port);
 		[CCode (cname = "gst_netaddress_get_net_type")]
 		public Gst.NetType get_net_type ();
+		[CCode (cname = "gst_netaddress_set_address_bytes")]
+		public int set_address_bytes (Gst.NetType type, [CCode (array_length = false)] uchar[] address, uint16 port);
 		[CCode (cname = "gst_netaddress_set_ip4_address")]
 		public void set_ip4_address (uint32 address, uint16 port);
 		[CCode (cname = "gst_netaddress_set_ip6_address")]
diff --git a/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.gi b/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.gi
index 83f140d..9ffd3b8 100644
--- a/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.gi
+++ b/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.gi
@@ -2,6 +2,21 @@
 <api version="1.0">
 	<namespace name="Gst">
 		<struct name="GstNetAddress">
+			<method name="equal" symbol="gst_netaddress_equal">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="naddr1" type="GstNetAddress*"/>
+					<parameter name="naddr2" type="GstNetAddress*"/>
+				</parameters>
+			</method>
+			<method name="get_address_bytes" symbol="gst_netaddress_get_address_bytes">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="naddr" type="GstNetAddress*"/>
+					<parameter name="address" type="guint8[]"/>
+					<parameter name="port" type="guint16*"/>
+				</parameters>
+			</method>
 			<method name="get_ip4_address" symbol="gst_netaddress_get_ip4_address">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -24,6 +39,15 @@
 					<parameter name="naddr" type="GstNetAddress*"/>
 				</parameters>
 			</method>
+			<method name="set_address_bytes" symbol="gst_netaddress_set_address_bytes">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="naddr" type="GstNetAddress*"/>
+					<parameter name="type" type="GstNetType"/>
+					<parameter name="address" type="guint8[]"/>
+					<parameter name="port" type="guint16"/>
+				</parameters>
+			</method>
 			<method name="set_ip4_address" symbol="gst_netaddress_set_ip4_address">
 				<return-type type="void"/>
 				<parameters>



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