vala r921 - in trunk: . vapi vapi/packages/libsoup-2.2



Author: juergbi
Date: Tue Jan 29 08:42:17 2008
New Revision: 921
URL: http://svn.gnome.org/viewvc/vala?rev=921&view=rev

Log:
2008-01-29  Juerg Billeter  <j bitron ch>

	* vapi/packages/libsoup-2.2/: fix SoupDataBuffer binding

	* vapi/libsoup-2.2.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/libsoup-2.2.vapi
   trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata

Modified: trunk/vapi/libsoup-2.2.vapi
==============================================================================
--- trunk/vapi/libsoup-2.2.vapi	(original)
+++ trunk/vapi/libsoup-2.2.vapi	Tue Jan 29 08:42:17 2008
@@ -170,12 +170,6 @@
 		STRUCT,
 		ARRAY,
 	}
-	[CCode (cheader_filename = "libsoup/soup.h")]
-	public class DataBuffer {
-		public Soup.Ownership owner;
-		public weak string body;
-		public uint length;
-	}
 	[CCode (free_function = "soup_message_queue_destroy", cheader_filename = "libsoup/soup.h")]
 	public class MessageQueue {
 		public void append (Soup.Message msg);
@@ -341,9 +335,9 @@
 		public weak string method;
 		public uint status_code;
 		public weak string reason_phrase;
-		public weak Soup.DataBuffer request;
+		public Soup.DataBuffer request;
 		public weak GLib.HashTable request_headers;
-		public weak Soup.DataBuffer response;
+		public Soup.DataBuffer response;
 		public weak GLib.HashTable response_headers;
 		public Soup.MessageStatus status;
 		public void add_chunk (Soup.Ownership owner, string body, uint length);
@@ -368,7 +362,6 @@
 		public bool is_keepalive ();
 		public Message (string method, string uri_string);
 		public Message.from_uri (string method, Soup.Uri uri);
-		public weak Soup.DataBuffer pop_chunk ();
 		public void read_request (Soup.Socket sock);
 		public void remove_handler (Soup.HandlerPhase phase, Soup.MessageCallbackFn handler_cb, pointer user_data);
 		public static void remove_header (GLib.HashTable hash, string name);
@@ -529,6 +522,12 @@
 	public interface MessageFilter {
 		public abstract void setup_message (Soup.Message msg);
 	}
+	[CCode (cheader_filename = "libsoup/soup.h")]
+	public struct DataBuffer {
+		public Soup.Ownership owner;
+		public weak string body;
+		public uint length;
+	}
 	public static delegate void AddressCallback (Soup.Address addr, uint status, pointer data);
 	public static delegate void ConnectionCallback (Soup.Connection conn, uint status, pointer data);
 	public static delegate void MessageCallbackFn (Soup.Message req, pointer user_data);

Modified: trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata
==============================================================================
--- trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata	(original)
+++ trunk/vapi/packages/libsoup-2.2/libsoup-2.2.metadata	Tue Jan 29 08:42:17 2008
@@ -3,10 +3,12 @@
 soup_address_new_from_sockaddr hidden="1"
 SoupConnection::authenticate has_emitter="1"
 SoupConnection::reauthenticate has_emitter="1"
+SoupDataBuffer is_value_type="1"
 soup_dns_lookup_address hidden="1"
 soup_dns_ntop hidden="1"
 SoupMessage::finished has_emitter="1"
 soup_message_foreach_header hidden="1"
+soup_message_pop_chunk hidden="1"
 SoupMessage::got_body has_emitter="1"
 SoupMessage::got_chunk has_emitter="1"
 SoupMessage::got_headers has_emitter="1"



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