2008-02-08 Jürg Billeter <j@bitron.ch>
+ * vapi/packages/libsoup-2.2/: fix message ownership issues
+
+ * vapi/libsoup-2.2.vapi: regenerated
+
+2008-02-08 Jürg Billeter <j@bitron.ch>
+
* vapi/glib-2.0.vapi: add missing attributes to GType binidng for
use as property or signal parameter
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);
+ public void add_chunk (Soup.Ownership owner, string# body, uint length);
public void add_final_chunk ();
public void add_handler (Soup.HandlerPhase phase, Soup.MessageCallbackFn handler_cb, pointer user_data);
public static void add_header (GLib.HashTable hash, string name, string value);
public void send_request (Soup.Socket sock, bool is_via_proxy);
public void set_flags (uint flags);
public void set_http_version (Soup.HttpVersion version);
- public void set_request (string content_type, Soup.Ownership req_owner, string req_body, ulong req_length);
- public void set_response (string content_type, Soup.Ownership resp_owner, string resp_body, ulong resp_length);
+ public void set_request (string content_type, Soup.Ownership req_owner, string# req_body, ulong req_length);
+ public void set_response (string content_type, Soup.Ownership resp_owner, string# resp_body, ulong resp_length);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
public void set_uri (Soup.Uri uri);
[CCode (cheader_filename = "libsoup/soup.h")]
public struct DataBuffer {
public Soup.Ownership owner;
- public weak string body;
+ public string body;
public uint length;
}
public static delegate void AddressCallback (Soup.Address addr, uint status, pointer data);
SoupConnection::authenticate has_emitter="1"
SoupConnection::reauthenticate has_emitter="1"
SoupDataBuffer is_value_type="1"
+SoupDataBuffer.body weak="0"
soup_dns_lookup_address hidden="1"
soup_dns_ntop hidden="1"
SoupMessage::finished has_emitter="1"
+soup_message_add_chunk.body transfer_ownership="1"
soup_message_foreach_header hidden="1"
soup_message_pop_chunk hidden="1"
+soup_message_set_request.req_body transfer_ownership="1"
+soup_message_set_response.resp_body transfer_ownership="1"
SoupMessage::got_body has_emitter="1"
SoupMessage::got_chunk has_emitter="1"
SoupMessage::got_headers has_emitter="1"