[vala/0.10] gio-2.0: Update to 2.26 branch
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gio-2.0: Update to 2.26 branch
- Date: Fri, 17 Sep 2010 21:45:31 +0000 (UTC)
commit de6e43135e7b1970b63fda03341d672f8d1fcbfa
Author: Jürg Billeter <j bitron ch>
Date: Fri Sep 17 23:41:00 2010 +0200
gio-2.0: Update to 2.26 branch
vapi/gio-2.0.vapi | 176 ++++++--
vapi/packages/gio-2.0/gio-2.0-custom.vala | 6 -
vapi/packages/gio-2.0/gio-2.0.gi | 687 +++++++++++++++++++++--------
vapi/packages/gio-2.0/gio-2.0.metadata | 7 -
4 files changed, 637 insertions(+), 239 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 6476dc5..7e8a698 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -32,40 +32,6 @@ namespace GLib {
public virtual void launch_failed (string startup_notify_id);
}
[CCode (cheader_filename = "gio/gio.h")]
- public class Application : GLib.Object, GLib.Initable {
- [CCode (has_construct_function = false)]
- public Application (string appid, [CCode (array_length_pos = 1.9)] ref unowned string[]? argv = null);
- public void add_action (string name, string description);
- public unowned string get_action_description (string name);
- public bool get_action_enabled (string name);
- public unowned string get_id ();
- public static unowned GLib.Application get_instance ();
- public void invoke_action (string name, GLib.Variant platform_data);
- public unowned string list_actions ();
- [CCode (cname = "g_application_quit_with_data")]
- public bool quit (GLib.Variant? platform_data = null);
- public bool register ();
- public void remove_action (string name);
- public virtual void run ();
- public void set_action_enabled (string name, bool enabled);
- public static unowned GLib.Application try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
- public static unowned GLib.Application unregistered_try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
- [NoAccessorMethod]
- public string application_id { owned get; construct; }
- [NoAccessorMethod]
- public GLib.Variant argv { owned get; construct; }
- [NoAccessorMethod]
- public bool default_quit { get; construct; }
- [NoAccessorMethod]
- public bool is_remote { get; }
- [NoAccessorMethod]
- public GLib.Variant platform_data { owned get; construct; }
- public virtual signal void action_with_data (string action_name, GLib.Variant platform_data);
- public virtual signal void prepare_activation (GLib.Variant arguments, GLib.Variant platform_data);
- [HasEmitter]
- public virtual signal bool quit_with_data (GLib.Variant? platform_data);
- }
- [CCode (cheader_filename = "gio/gio.h")]
public class BufferedInputStream : GLib.FilterInputStream {
[CCode (type = "GInputStream*", has_construct_function = false)]
public BufferedInputStream (GLib.InputStream base_stream);
@@ -143,14 +109,18 @@ namespace GLib {
public class Credentials : GLib.Object {
[CCode (has_construct_function = false)]
public Credentials ();
- public void* get_native ();
+ public void* get_native (GLib.CredentialsType native_type);
public uint get_unix_user () throws GLib.Error;
public bool is_same_user (GLib.Credentials other_credentials) throws GLib.Error;
- public void set_native (void* native);
+ public void set_native (GLib.CredentialsType native_type, void* native);
public bool set_unix_user (uint uid) throws GLib.Error;
public unowned string to_string ();
}
[Compact]
+ [CCode (cheader_filename = "gio/gio.h")]
+ public class CredentialsClass {
+ }
+ [Compact]
[CCode (ref_function = "g_dbus_annotation_info_ref", unref_function = "g_dbus_annotation_info_unref", type_id = "G_TYPE_DBUS_ANNOTATION_INFO", cheader_filename = "gio/gio.h")]
public class DBusAnnotationInfo {
public weak GLib.DBusAnnotationInfo annotations;
@@ -181,7 +151,9 @@ namespace GLib {
public uint add_filter (GLib.DBusMessageFilterFunction filter_function, GLib.DestroyNotify user_data_free_func);
public async GLib.Variant call (string bus_name, string object_path, string interface_name, string method_name, GLib.Variant parameters, GLib.VariantType reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string bus_name, string object_path, string interface_name, string method_name, GLib.Variant parameters, GLib.VariantType reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public void close ();
+ public void close (GLib.Cancellable? cancellable = null, GLib.AsyncReadyCallback callback);
+ public bool close_finish (GLib.AsyncResult res) throws GLib.Error;
+ public bool close_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public bool emit_signal (string? destination_bus_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters) throws GLib.Error;
public void flush (GLib.Cancellable? cancellable = null, GLib.AsyncReadyCallback callback);
public bool flush_finish (GLib.AsyncResult res) throws GLib.Error;
@@ -200,11 +172,11 @@ namespace GLib {
public uint register_object<T> (string object_path, T object) throws GLib.IOError;
public uint register_subtree (string object_path, GLib.DBusSubtreeVTable vtable, GLib.DBusSubtreeFlags flags, GLib.DestroyNotify user_data_free_func) throws GLib.Error;
public void remove_filter (uint filter_id);
- public bool send_message (GLib.DBusMessage message, uint32 out_serial) throws GLib.Error;
- public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public GLib.DBusMessage send_message_with_reply_sync (GLib.DBusMessage message, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public bool send_message (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, uint32 out_serial) throws GLib.Error;
+ public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GLib.DBusMessage send_message_with_reply_sync (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_exit_on_close (bool exit_on_close);
- public uint signal_subscribe (string sender, string interface_name, string member, string object_path, string arg0, GLib.DBusSignalCallback callback, GLib.DestroyNotify user_data_free_func);
+ public uint signal_subscribe (string sender, string interface_name, string member, string object_path, string arg0, GLib.DBusSignalFlags flags, GLib.DBusSignalCallback callback, GLib.DestroyNotify user_data_free_func);
public void signal_unsubscribe (uint subscription_id);
public void start_message_processing ();
[CCode (has_construct_function = false)]
@@ -254,16 +226,19 @@ namespace GLib {
[CCode (has_construct_function = false)]
public DBusMessage ();
public static ssize_t bytes_needed (uchar[] blob, size_t blob_len) throws GLib.Error;
+ public unowned GLib.DBusMessage copy () throws GLib.Error;
[CCode (has_construct_function = false)]
public DBusMessage.from_blob (uchar[] blob, size_t blob_len, GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
public unowned string get_arg0 ();
public unowned GLib.Variant get_body ();
+ public GLib.DBusMessageByteOrder get_byte_order ();
public unowned string get_destination ();
public unowned string get_error_name ();
public GLib.DBusMessageFlags get_flags ();
public unowned GLib.Variant get_header (GLib.DBusMessageHeaderField header_field);
public unowned uchar[] get_header_fields ();
public unowned string get_interface ();
+ public bool get_locked ();
public unowned string get_member ();
public GLib.DBusMessageType get_message_type ();
public uint32 get_num_unix_fds ();
@@ -273,6 +248,7 @@ namespace GLib {
public uint32 get_serial ();
public unowned string get_signature ();
public unowned GLib.UnixFDList get_unix_fd_list ();
+ public void @lock ();
[CCode (has_construct_function = false)]
public DBusMessage.method_call (string name, string path, string interface_, string method);
[CCode (has_construct_function = false)]
@@ -285,6 +261,7 @@ namespace GLib {
public DBusMessage.method_reply (GLib.DBusMessage method_call_message);
public unowned string print (uint indent);
public void set_body (GLib.Variant body);
+ public void set_byte_order (GLib.DBusMessageByteOrder byte_order);
public void set_destination (string value);
public void set_error_name (string value);
public void set_flags (GLib.DBusMessageFlags flags);
@@ -303,6 +280,7 @@ namespace GLib {
public DBusMessage signal (string path, string interface_, string @signal);
public unowned uchar[] to_blob (size_t out_size, GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
public bool to_gerror () throws GLib.Error;
+ public bool locked { get; }
}
[Compact]
[CCode (ref_function = "g_dbus_method_info_ref", unref_function = "g_dbus_method_info_unref", type_id = "G_TYPE_DBUS_METHOD_INFO", cheader_filename = "gio/gio.h")]
@@ -316,7 +294,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public class DBusMethodInvocation : GLib.Object {
[CCode (has_construct_function = false)]
- public DBusMethodInvocation (string sender, string object_path, string interface_name, string method_name, GLib.DBusMethodInfo method_info, GLib.DBusConnection connection, GLib.DBusMessage message, GLib.Variant parameters);
+ protected DBusMethodInvocation ();
public unowned GLib.DBusConnection get_connection ();
public unowned string get_interface_name ();
public unowned GLib.DBusMessage get_message ();
@@ -413,7 +391,7 @@ namespace GLib {
[CCode (has_construct_function = false)]
public DBusServer.sync (string address, GLib.DBusServerFlags flags, string guid, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoAccessorMethod]
- public string active { owned get; }
+ public bool active { get; }
[NoAccessorMethod]
public string address { owned get; construct; }
[NoAccessorMethod]
@@ -421,7 +399,7 @@ namespace GLib {
public string client_address { get; }
public GLib.DBusServerFlags flags { get; construct; }
public string guid { get; construct; }
- public virtual signal void new_connection (GLib.DBusConnection p0);
+ public virtual signal bool new_connection (GLib.DBusConnection p0);
}
[Compact]
[CCode (ref_function = "g_dbus_signal_info_ref", unref_function = "g_dbus_signal_info_unref", type_id = "G_TYPE_DBUS_SIGNAL_INFO", cheader_filename = "gio/gio.h")]
@@ -437,6 +415,7 @@ namespace GLib {
public weak GLib.DBusSubtreeDispatchFunc dispatch;
public weak GLib.DBusSubtreeEnumerateFunc enumerate;
public weak GLib.DBusSubtreeIntrospectFunc introspect;
+ public void* padding;
}
[CCode (cheader_filename = "gio/gio.h")]
public class DataInputStream : GLib.BufferedInputStream {
@@ -455,6 +434,8 @@ namespace GLib {
public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.Error;
public string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async string? read_until_async (string stop_chars, int io_priority, GLib.Cancellable? cancellable = null, out size_t? length = null) throws GLib.Error;
+ public unowned string read_upto (string stop_chars, ssize_t stop_chars_len, size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async unowned string read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_byte_order (GLib.DataStreamByteOrder order);
public void set_newline_type (GLib.DataStreamNewlineType type);
public GLib.DataStreamByteOrder byte_order { get; set; }
@@ -865,6 +846,7 @@ namespace GLib {
public void* get_data ();
public size_t get_data_size ();
public size_t get_size ();
+ public void* steal_data ();
public void* data { get; construct; }
public ulong data_size { get; }
[NoAccessorMethod]
@@ -915,9 +897,12 @@ namespace GLib {
public NetworkAddress (string hostname, uint16 port);
public unowned string get_hostname ();
public uint16 get_port ();
+ public unowned string get_scheme ();
public static unowned GLib.SocketConnectable parse (string host_and_port, uint16 default_port) throws GLib.Error;
+ public static unowned GLib.SocketConnectable parse_uri (string uri, uint16 default_port) throws GLib.Error;
public string hostname { get; construct; }
public uint port { get; construct; }
+ public string scheme { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h")]
public class NetworkService : GLib.Object, GLib.SocketConnectable {
@@ -925,9 +910,12 @@ namespace GLib {
public NetworkService (string service, string protocol, string domain);
public unowned string get_domain ();
public unowned string get_protocol ();
+ public unowned string get_scheme ();
public unowned string get_service ();
+ public void set_scheme (string scheme);
public string domain { get; construct; }
public string protocol { get; construct; }
+ public string scheme { get; set; }
public string service { get; construct; }
}
[CCode (cheader_filename = "gio/gio.h")]
@@ -976,6 +964,30 @@ namespace GLib {
public bool can_release { get; }
}
[CCode (cheader_filename = "gio/gio.h")]
+ public class ProxyAddress : GLib.InetSocketAddress, GLib.SocketConnectable {
+ [CCode (type = "GSocketAddress*", has_construct_function = false)]
+ public ProxyAddress (GLib.InetAddress inetaddr, uint16 port, string protocol, string dest_hostname, uint16 dest_port, string username, string password);
+ public unowned string get_destination_hostname ();
+ public uint16 get_destination_port ();
+ public unowned string get_password ();
+ public unowned string get_protocol ();
+ public unowned string get_username ();
+ public string destination_hostname { get; construct; }
+ public uint destination_port { get; construct; }
+ public string password { get; construct; }
+ public string protocol { get; construct; }
+ public string username { get; construct; }
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
+ public class ProxyAddressEnumerator : GLib.SocketAddressEnumerator {
+ [CCode (has_construct_function = false)]
+ protected ProxyAddressEnumerator ();
+ [NoAccessorMethod]
+ public GLib.SocketConnectable connectable { owned get; construct; }
+ [NoAccessorMethod]
+ public string uri { owned get; construct; }
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
public class Resolver : GLib.Object {
[CCode (has_construct_function = false)]
protected Resolver ();
@@ -1014,8 +1026,10 @@ namespace GLib {
public string[] get_strv (string key);
public GLib.Variant get_value (string key);
public bool is_writable (string name);
- public unowned string list_items ();
+ public unowned string list_children ();
+ public unowned string list_keys ();
public static unowned string list_schemas ();
+ public void reset (string key);
public void revert ();
[CCode (sentinel = "")]
public bool @set (string key, string format, ...);
@@ -1099,6 +1113,7 @@ namespace GLib {
[CCode (has_construct_function = false)]
public Socket.from_fd (int fd) throws GLib.Error;
public bool get_blocking ();
+ public unowned GLib.Credentials get_credentials () throws GLib.Error;
public GLib.SocketFamily get_family ();
public int get_fd ();
public bool get_keepalive ();
@@ -1114,9 +1129,11 @@ namespace GLib {
public ssize_t receive (string buffer, size_t size, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t receive_from (out unowned GLib.SocketAddress address, string buffer, size_t size, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t receive_message (out unowned GLib.SocketAddress address, GLib.InputVector vectors, int num_vectors, out unowned GLib.SocketControlMessage messages, int num_messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public ssize_t receive_with_blocking (string buffer, size_t size, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send (string buffer, size_t size, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send_message (GLib.SocketAddress address, GLib.OutputVector vectors, int num_vectors, out unowned GLib.SocketControlMessage messages, int num_messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t send_to (GLib.SocketAddress address, string buffer, size_t size, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public ssize_t send_with_blocking (string buffer, size_t size, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_blocking (bool blocking);
public void set_keepalive (bool keepalive);
public void set_listen_backlog (int backlog);
@@ -1157,23 +1174,32 @@ namespace GLib {
public class SocketClient : GLib.Object {
[CCode (has_construct_function = false)]
public SocketClient ();
+ public void add_application_proxy (string protocol);
public unowned GLib.SocketConnection connect (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async unowned GLib.SocketConnection connect_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
public unowned GLib.SocketConnection connect_to_host (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async unowned GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
public unowned GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async unowned GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public unowned GLib.SocketConnection connect_to_uri (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async unowned GLib.SocketConnection connect_to_uri_async (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public bool get_enable_proxy ();
public GLib.SocketFamily get_family ();
public unowned GLib.SocketAddress get_local_address ();
public GLib.SocketProtocol get_protocol ();
public GLib.SocketType get_socket_type ();
+ public uint get_timeout ();
+ public void set_enable_proxy (bool enable);
public void set_family (GLib.SocketFamily family);
public void set_local_address (GLib.SocketAddress address);
public void set_protocol (GLib.SocketProtocol protocol);
public void set_socket_type (GLib.SocketType type);
+ public void set_timeout (uint timeout);
+ public bool enable_proxy { get; set construct; }
public GLib.SocketFamily family { get; set construct; }
public GLib.SocketAddress local_address { get; set construct; }
public GLib.SocketProtocol protocol { get; set construct; }
+ public uint timeout { get; set construct; }
[NoAccessorMethod]
public GLib.SocketType type { get; set construct; }
}
@@ -1345,6 +1371,9 @@ namespace GLib {
public class ZlibCompressor : GLib.Object, GLib.Converter {
[CCode (has_construct_function = false)]
public ZlibCompressor (GLib.ZlibCompressorFormat format, int level = -1);
+ public unowned GLib.FileInfo get_file_info ();
+ public void set_file_info (GLib.FileInfo file_info);
+ public GLib.FileInfo file_info { get; set; }
[NoAccessorMethod]
public GLib.ZlibCompressorFormat format { get; construct; }
[NoAccessorMethod]
@@ -1354,6 +1383,8 @@ namespace GLib {
public class ZlibDecompressor : GLib.Object, GLib.Converter {
[CCode (has_construct_function = false)]
public ZlibDecompressor (GLib.ZlibCompressorFormat format);
+ public unowned GLib.FileInfo get_file_info ();
+ public GLib.FileInfo file_info { get; }
[NoAccessorMethod]
public GLib.ZlibCompressorFormat format { get; construct; }
}
@@ -1579,6 +1610,20 @@ namespace GLib {
public signal void unmounted ();
}
[CCode (cheader_filename = "gio/gio.h")]
+ public interface Proxy : GLib.Object {
+ public abstract unowned GLib.IOStream connect (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public abstract async unowned GLib.IOStream connect_async (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public static unowned GLib.Proxy get_default_for_protocol (string protocol);
+ public abstract bool supports_hostname ();
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
+ public interface ProxyResolver : GLib.Object {
+ public static unowned GLib.ProxyResolver get_default ();
+ public abstract bool is_supported ();
+ public abstract unowned string lookup (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public abstract async unowned string lookup_async (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "gio/gio.h")]
public interface Seekable : GLib.Object {
public abstract bool can_seek ();
public abstract bool can_truncate ();
@@ -1590,6 +1635,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public interface SocketConnectable : GLib.Object {
public abstract unowned GLib.SocketAddressEnumerator enumerate ();
+ public abstract unowned GLib.SocketAddressEnumerator proxy_enumerate ();
}
[CCode (cheader_filename = "gio/gio.h")]
public interface Volume : GLib.Object {
@@ -1663,6 +1709,12 @@ namespace GLib {
FINISHED,
FLUSHED
}
+ [CCode (cprefix = "G_CREDENTIALS_TYPE_", cheader_filename = "gio/gio.h")]
+ public enum CredentialsType {
+ INVALID,
+ LINUX_UCRED,
+ FREEBSD_CMSGCRED
+ }
[CCode (cprefix = "G_DBUS_CALL_FLAGS_", cheader_filename = "gio/gio.h")]
[Flags]
public enum DBusCallFlags {
@@ -1729,6 +1781,11 @@ namespace GLib {
ADT_AUDIT_DATA_UNKNOWN,
OBJECT_PATH_IN_USE
}
+ [CCode (cprefix = "G_DBUS_MESSAGE_BYTE_ORDER_", cheader_filename = "gio/gio.h")]
+ public enum DBusMessageByteOrder {
+ BIG_ENDIAN,
+ LITTLE_ENDIAN
+ }
[CCode (cprefix = "G_DBUS_MESSAGE_FLAGS_", cheader_filename = "gio/gio.h")]
[Flags]
public enum DBusMessageFlags {
@@ -1772,6 +1829,12 @@ namespace GLib {
DO_NOT_CONNECT_SIGNALS,
DO_NOT_AUTO_START
}
+ [CCode (cprefix = "G_DBUS_SEND_MESSAGE_FLAGS_", cheader_filename = "gio/gio.h")]
+ [Flags]
+ public enum DBusSendMessageFlags {
+ NONE,
+ PRESERVE_SERIAL
+ }
[CCode (cprefix = "G_DBUS_SERVER_FLAGS_", cheader_filename = "gio/gio.h")]
[Flags]
public enum DBusServerFlags {
@@ -1779,6 +1842,11 @@ namespace GLib {
RUN_IN_THREAD,
AUTHENTICATION_ALLOW_ANONYMOUS
}
+ [CCode (cprefix = "G_DBUS_SIGNAL_FLAGS_", cheader_filename = "gio/gio.h")]
+ [Flags]
+ public enum DBusSignalFlags {
+ NONE
+ }
[CCode (cprefix = "G_DBUS_SUBTREE_FLAGS_", cheader_filename = "gio/gio.h")]
[Flags]
public enum DBusSubtreeFlags {
@@ -1943,7 +2011,8 @@ namespace GLib {
GET,
SET,
NO_SENSITIVITY,
- GET_NO_CHANGES
+ GET_NO_CHANGES,
+ INVERT_BOOLEAN
}
[CCode (cprefix = "G_SOCKET_FAMILY_", cheader_filename = "gio/gio.h")]
public enum SocketFamily {
@@ -2027,6 +2096,13 @@ namespace GLib {
PARTIAL_INPUT,
INVALID_DATA,
DBUS_ERROR,
+ HOST_UNREACHABLE,
+ NETWORK_UNREACHABLE,
+ CONNECTION_REFUSED,
+ PROXY_FAILED,
+ PROXY_AUTH_FAILED,
+ PROXY_NEED_AUTH,
+ PROXY_NOT_ALLOWED,
}
[CCode (cheader_filename = "gio/gio.h")]
public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
@@ -2047,7 +2123,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value, GLib.Error error);
[CCode (cheader_filename = "gio/gio.h")]
- public delegate bool DBusMessageFilterFunction (GLib.DBusConnection connection, GLib.DBusMessage message, bool incoming);
+ public delegate unowned GLib.DBusMessage DBusMessageFilterFunction (GLib.DBusConnection connection, GLib.DBusMessage message, bool incoming);
[CCode (cheader_filename = "gio/gio.h")]
public delegate void DBusSignalCallback (GLib.DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters);
[CCode (cheader_filename = "gio/gio.h")]
@@ -2055,7 +2131,7 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public delegate unowned string DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
[CCode (cheader_filename = "gio/gio.h")]
- public delegate unowned GLib.GenericArray DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
+ public delegate unowned GLib.DBusInterfaceInfo DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
[CCode (cheader_filename = "gio/gio.h")]
public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
[CCode (cheader_filename = "gio/gio.h", has_target = false)]
@@ -2231,6 +2307,10 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
+ public const string PROXY_EXTENSION_POINT_NAME;
+ [CCode (cheader_filename = "gio/gio.h")]
+ public const string PROXY_RESOLVER_EXTENSION_POINT_NAME;
+ [CCode (cheader_filename = "gio/gio.h")]
public const string VFS_EXTENSION_POINT_NAME;
[CCode (cheader_filename = "gio/gio.h")]
public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
diff --git a/vapi/packages/gio-2.0/gio-2.0-custom.vala b/vapi/packages/gio-2.0/gio-2.0-custom.vala
index 3739102..cafd6bd 100644
--- a/vapi/packages/gio-2.0/gio-2.0-custom.vala
+++ b/vapi/packages/gio-2.0/gio-2.0-custom.vala
@@ -46,12 +46,6 @@ namespace GLib {
[CCode (cname = "g_file_equal", cheader_filename = "gio/gio.h")]
public static GLib.EqualFunc file_equal;
- [CCode (cname = "GApplication")]
- public class Application {
- [CCode (cname = "g_application_quit_with_data")]
- public bool quit (GLib.Variant? platform_data = null);
- }
-
[CCode (cheader_filename = "gio/gio.h")]
namespace Bus {
public async GLib.DBusConnection get (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
diff --git a/vapi/packages/gio-2.0/gio-2.0.gi b/vapi/packages/gio-2.0/gio-2.0.gi
index 33adcfa..0afec6d 100644
--- a/vapi/packages/gio-2.0/gio-2.0.gi
+++ b/vapi/packages/gio-2.0/gio-2.0.gi
@@ -495,7 +495,7 @@
</parameters>
</callback>
<callback name="GDBusMessageFilterFunction">
- <return-type type="gboolean"/>
+ <return-type type="GDBusMessage*"/>
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
<parameter name="message" type="GDBusMessage*"/>
@@ -537,7 +537,7 @@
</parameters>
</callback>
<callback name="GDBusSubtreeIntrospectFunc">
- <return-type type="GPtrArray*"/>
+ <return-type type="GDBusInterfaceInfo**"/>
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
<parameter name="sender" type="gchar*"/>
@@ -617,6 +617,8 @@
<parameter name="user_data" type="gpointer"/>
</parameters>
</callback>
+ <struct name="GCredentialsClass">
+ </struct>
<struct name="GDBusErrorEntry">
<field name="error_code" type="gint"/>
<field name="dbus_error_name" type="gchar*"/>
@@ -631,14 +633,7 @@
<field name="enumerate" type="GDBusSubtreeEnumerateFunc"/>
<field name="introspect" type="GDBusSubtreeIntrospectFunc"/>
<field name="dispatch" type="GDBusSubtreeDispatchFunc"/>
- <field name="_g_reserved1" type="GCallback"/>
- <field name="_g_reserved2" type="GCallback"/>
- <field name="_g_reserved3" type="GCallback"/>
- <field name="_g_reserved4" type="GCallback"/>
- <field name="_g_reserved5" type="GCallback"/>
- <field name="_g_reserved6" type="GCallback"/>
- <field name="_g_reserved7" type="GCallback"/>
- <field name="_g_reserved8" type="GCallback"/>
+ <field name="padding" type="gpointer[]"/>
</struct>
<struct name="GEmblemClass">
</struct>
@@ -1106,6 +1101,11 @@
<member name="G_CONVERTER_FINISHED" value="2"/>
<member name="G_CONVERTER_FLUSHED" value="3"/>
</enum>
+ <enum name="GCredentialsType" type-name="GCredentialsType" get-type="g_credentials_type_get_type">
+ <member name="G_CREDENTIALS_TYPE_INVALID" value="0"/>
+ <member name="G_CREDENTIALS_TYPE_LINUX_UCRED" value="1"/>
+ <member name="G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED" value="2"/>
+ </enum>
<enum name="GDBusError" type-name="GDBusError" get-type="g_dbus_error_get_type">
<member name="G_DBUS_ERROR_FAILED" value="0"/>
<member name="G_DBUS_ERROR_NO_MEMORY" value="1"/>
@@ -1149,6 +1149,10 @@
<member name="G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN" value="39"/>
<member name="G_DBUS_ERROR_OBJECT_PATH_IN_USE" value="40"/>
</enum>
+ <enum name="GDBusMessageByteOrder" type-name="GDBusMessageByteOrder" get-type="g_dbus_message_byte_order_get_type">
+ <member name="G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN" value="66"/>
+ <member name="G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN" value="108"/>
+ </enum>
<enum name="GDBusMessageHeaderField" type-name="GDBusMessageHeaderField" get-type="g_dbus_message_header_field_get_type">
<member name="G_DBUS_MESSAGE_HEADER_FIELD_INVALID" value="0"/>
<member name="G_DBUS_MESSAGE_HEADER_FIELD_PATH" value="1"/>
@@ -1274,6 +1278,13 @@
<member name="G_IO_ERROR_PARTIAL_INPUT" value="34"/>
<member name="G_IO_ERROR_INVALID_DATA" value="35"/>
<member name="G_IO_ERROR_DBUS_ERROR" value="36"/>
+ <member name="G_IO_ERROR_HOST_UNREACHABLE" value="37"/>
+ <member name="G_IO_ERROR_NETWORK_UNREACHABLE" value="38"/>
+ <member name="G_IO_ERROR_CONNECTION_REFUSED" value="39"/>
+ <member name="G_IO_ERROR_PROXY_FAILED" value="40"/>
+ <member name="G_IO_ERROR_PROXY_AUTH_FAILED" value="41"/>
+ <member name="G_IO_ERROR_PROXY_NEED_AUTH" value="42"/>
+ <member name="G_IO_ERROR_PROXY_NOT_ALLOWED" value="43"/>
</enum>
<enum name="GMountMountFlags" type-name="GMountMountFlags" get-type="g_mount_mount_flags_get_type">
<member name="G_MOUNT_MOUNT_NONE" value="0"/>
@@ -1389,11 +1400,18 @@
<member name="G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS" value="2"/>
<member name="G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START" value="4"/>
</flags>
+ <flags name="GDBusSendMessageFlags" type-name="GDBusSendMessageFlags" get-type="g_dbus_send_message_flags_get_type">
+ <member name="G_DBUS_SEND_MESSAGE_FLAGS_NONE" value="0"/>
+ <member name="G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL" value="1"/>
+ </flags>
<flags name="GDBusServerFlags" type-name="GDBusServerFlags" get-type="g_dbus_server_flags_get_type">
<member name="G_DBUS_SERVER_FLAGS_NONE" value="0"/>
<member name="G_DBUS_SERVER_FLAGS_RUN_IN_THREAD" value="1"/>
<member name="G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS" value="2"/>
</flags>
+ <flags name="GDBusSignalFlags" type-name="GDBusSignalFlags" get-type="g_dbus_signal_flags_get_type">
+ <member name="G_DBUS_SIGNAL_FLAGS_NONE" value="0"/>
+ </flags>
<flags name="GDBusSubtreeFlags" type-name="GDBusSubtreeFlags" get-type="g_dbus_subtree_flags_get_type">
<member name="G_DBUS_SUBTREE_FLAGS_NONE" value="0"/>
<member name="G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES" value="1"/>
@@ -1441,6 +1459,7 @@
<member name="G_SETTINGS_BIND_SET" value="2"/>
<member name="G_SETTINGS_BIND_NO_SENSITIVITY" value="4"/>
<member name="G_SETTINGS_BIND_GET_NO_CHANGES" value="8"/>
+ <member name="G_SETTINGS_BIND_INVERT_BOOLEAN" value="16"/>
</flags>
<object name="GAppLaunchContext" parent="GObject" type-name="GAppLaunchContext" get-type="g_app_launch_context_get_type">
<method name="get_display" symbol="g_app_launch_context_get_display">
@@ -1493,157 +1512,6 @@
</parameters>
</vfunc>
</object>
- <object name="GApplication" parent="GObject" type-name="GApplication" get-type="g_application_get_type">
- <implements>
- <interface name="GInitable"/>
- </implements>
- <method name="add_action" symbol="g_application_add_action">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- <parameter name="description" type="gchar*"/>
- </parameters>
- </method>
- <method name="get_action_description" symbol="g_application_get_action_description">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- </parameters>
- </method>
- <method name="get_action_enabled" symbol="g_application_get_action_enabled">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- </parameters>
- </method>
- <method name="get_id" symbol="g_application_get_id">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </method>
- <method name="get_instance" symbol="g_application_get_instance">
- <return-type type="GApplication*"/>
- </method>
- <method name="invoke_action" symbol="g_application_invoke_action">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- <parameter name="platform_data" type="GVariant*"/>
- </parameters>
- </method>
- <method name="is_remote" symbol="g_application_is_remote">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </method>
- <method name="list_actions" symbol="g_application_list_actions">
- <return-type type="gchar**"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </method>
- <constructor name="new" symbol="g_application_new">
- <return-type type="GApplication*"/>
- <parameters>
- <parameter name="appid" type="gchar*"/>
- <parameter name="argc" type="int"/>
- <parameter name="argv" type="char**"/>
- </parameters>
- </constructor>
- <method name="quit_with_data" symbol="g_application_quit_with_data">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="platform_data" type="GVariant*"/>
- </parameters>
- </method>
- <method name="register" symbol="g_application_register">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </method>
- <method name="remove_action" symbol="g_application_remove_action">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- </parameters>
- </method>
- <method name="run" symbol="g_application_run">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </method>
- <method name="set_action_enabled" symbol="g_application_set_action_enabled">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="name" type="gchar*"/>
- <parameter name="enabled" type="gboolean"/>
- </parameters>
- </method>
- <method name="try_new" symbol="g_application_try_new">
- <return-type type="GApplication*"/>
- <parameters>
- <parameter name="appid" type="gchar*"/>
- <parameter name="argc" type="int"/>
- <parameter name="argv" type="char**"/>
- <parameter name="error" type="GError**"/>
- </parameters>
- </method>
- <method name="unregistered_try_new" symbol="g_application_unregistered_try_new">
- <return-type type="GApplication*"/>
- <parameters>
- <parameter name="appid" type="gchar*"/>
- <parameter name="argc" type="int"/>
- <parameter name="argv" type="char**"/>
- <parameter name="error" type="GError**"/>
- </parameters>
- </method>
- <property name="application-id" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
- <property name="argv" type="GVariant" readable="1" writable="1" construct="0" construct-only="1"/>
- <property name="default-quit" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
- <property name="is-remote" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
- <property name="platform-data" type="GVariant" readable="1" writable="1" construct="0" construct-only="1"/>
- <property name="register" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
- <signal name="action-with-data" when="FIRST">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="action_name" type="char*"/>
- <parameter name="platform_data" type="GVariant"/>
- </parameters>
- </signal>
- <signal name="prepare-activation" when="LAST">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="arguments" type="GVariant"/>
- <parameter name="platform_data" type="GVariant"/>
- </parameters>
- </signal>
- <signal name="quit-with-data" when="LAST">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- <parameter name="platform_data" type="GVariant"/>
- </parameters>
- </signal>
- <vfunc name="run">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GApplication*"/>
- </parameters>
- </vfunc>
- </object>
<object name="GBufferedInputStream" parent="GFilterInputStream" type-name="GBufferedInputStream" get-type="g_buffered_input_stream_get_type">
<method name="fill" symbol="g_buffered_input_stream_fill">
<return-type type="gssize"/>
@@ -1961,6 +1829,7 @@
<return-type type="gpointer"/>
<parameters>
<parameter name="credentials" type="GCredentials*"/>
+ <parameter name="native_type" type="GCredentialsType"/>
</parameters>
</method>
<method name="get_unix_user" symbol="g_credentials_get_unix_user">
@@ -1985,6 +1854,7 @@
<return-type type="void"/>
<parameters>
<parameter name="credentials" type="GCredentials*"/>
+ <parameter name="native_type" type="GCredentialsType"/>
<parameter name="native" type="gpointer"/>
</parameters>
</method>
@@ -2083,6 +1953,25 @@
<return-type type="void"/>
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="close_finish" symbol="g_dbus_connection_close_finish">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="connection" type="GDBusConnection*"/>
+ <parameter name="res" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="close_sync" symbol="g_dbus_connection_close_sync">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="connection" type="GDBusConnection*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
</parameters>
</method>
<method name="emit_signal" symbol="g_dbus_connection_emit_signal">
@@ -2258,6 +2147,7 @@
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
<parameter name="message" type="GDBusMessage*"/>
+ <parameter name="flags" type="GDBusSendMessageFlags"/>
<parameter name="out_serial" type="guint32*"/>
<parameter name="error" type="GError**"/>
</parameters>
@@ -2267,6 +2157,7 @@
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
<parameter name="message" type="GDBusMessage*"/>
+ <parameter name="flags" type="GDBusSendMessageFlags"/>
<parameter name="timeout_msec" type="gint"/>
<parameter name="out_serial" type="guint32*"/>
<parameter name="cancellable" type="GCancellable*"/>
@@ -2287,6 +2178,7 @@
<parameters>
<parameter name="connection" type="GDBusConnection*"/>
<parameter name="message" type="GDBusMessage*"/>
+ <parameter name="flags" type="GDBusSendMessageFlags"/>
<parameter name="timeout_msec" type="gint"/>
<parameter name="out_serial" type="guint32*"/>
<parameter name="cancellable" type="GCancellable*"/>
@@ -2309,6 +2201,7 @@
<parameter name="member" type="gchar*"/>
<parameter name="object_path" type="gchar*"/>
<parameter name="arg0" type="gchar*"/>
+ <parameter name="flags" type="GDBusSignalFlags"/>
<parameter name="callback" type="GDBusSignalCallback"/>
<parameter name="user_data" type="gpointer"/>
<parameter name="user_data_free_func" type="GDestroyNotify"/>
@@ -2368,6 +2261,13 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="copy" symbol="g_dbus_message_copy">
+ <return-type type="GDBusMessage*"/>
+ <parameters>
+ <parameter name="message" type="GDBusMessage*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="get_arg0" symbol="g_dbus_message_get_arg0">
<return-type type="gchar*"/>
<parameters>
@@ -2380,6 +2280,12 @@
<parameter name="message" type="GDBusMessage*"/>
</parameters>
</method>
+ <method name="get_byte_order" symbol="g_dbus_message_get_byte_order">
+ <return-type type="GDBusMessageByteOrder"/>
+ <parameters>
+ <parameter name="message" type="GDBusMessage*"/>
+ </parameters>
+ </method>
<method name="get_destination" symbol="g_dbus_message_get_destination">
<return-type type="gchar*"/>
<parameters>
@@ -2417,6 +2323,12 @@
<parameter name="message" type="GDBusMessage*"/>
</parameters>
</method>
+ <method name="get_locked" symbol="g_dbus_message_get_locked">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="message" type="GDBusMessage*"/>
+ </parameters>
+ </method>
<method name="get_member" symbol="g_dbus_message_get_member">
<return-type type="gchar*"/>
<parameters>
@@ -2471,6 +2383,12 @@
<parameter name="message" type="GDBusMessage*"/>
</parameters>
</method>
+ <method name="lock" symbol="g_dbus_message_lock">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="message" type="GDBusMessage*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="g_dbus_message_new">
<return-type type="GDBusMessage*"/>
</constructor>
@@ -2545,6 +2463,13 @@
<parameter name="body" type="GVariant*"/>
</parameters>
</method>
+ <method name="set_byte_order" symbol="g_dbus_message_set_byte_order">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="message" type="GDBusMessage*"/>
+ <parameter name="byte_order" type="GDBusMessageByteOrder"/>
+ </parameters>
+ </method>
<method name="set_destination" symbol="g_dbus_message_set_destination">
<return-type type="void"/>
<parameters>
@@ -2660,6 +2585,7 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <property name="locked" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
</object>
<object name="GDBusMethodInvocation" parent="GObject" type-name="GDBusMethodInvocation" get-type="g_dbus_method_invocation_get_type">
<method name="get_connection" symbol="g_dbus_method_invocation_get_connection">
@@ -2716,20 +2642,6 @@
<parameter name="invocation" type="GDBusMethodInvocation*"/>
</parameters>
</method>
- <constructor name="new" symbol="g_dbus_method_invocation_new">
- <return-type type="GDBusMethodInvocation*"/>
- <parameters>
- <parameter name="sender" type="gchar*"/>
- <parameter name="object_path" type="gchar*"/>
- <parameter name="interface_name" type="gchar*"/>
- <parameter name="method_name" type="gchar*"/>
- <parameter name="method_info" type="GDBusMethodInfo*"/>
- <parameter name="connection" type="GDBusConnection*"/>
- <parameter name="message" type="GDBusMessage*"/>
- <parameter name="parameters" type="GVariant*"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </constructor>
<method name="return_dbus_error" symbol="g_dbus_method_invocation_return_dbus_error">
<return-type type="void"/>
<parameters>
@@ -3048,14 +2960,14 @@
<parameter name="server" type="GDBusServer*"/>
</parameters>
</method>
- <property name="active" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="active" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="address" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="authentication-observer" type="GDBusAuthObserver*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="client-address" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="flags" type="GDBusServerFlags" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="guid" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<signal name="new-connection" when="LAST">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="object" type="GDBusServer*"/>
<parameter name="p0" type="GDBusConnection*"/>
@@ -3195,6 +3107,38 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="read_upto" symbol="g_data_input_stream_read_upto">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="stream" type="GDataInputStream*"/>
+ <parameter name="stop_chars" type="gchar*"/>
+ <parameter name="stop_chars_len" type="gssize"/>
+ <parameter name="length" type="gsize*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="read_upto_async" symbol="g_data_input_stream_read_upto_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="stream" type="GDataInputStream*"/>
+ <parameter name="stop_chars" type="gchar*"/>
+ <parameter name="stop_chars_len" type="gssize"/>
+ <parameter name="io_priority" type="gint"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="read_upto_finish" symbol="g_data_input_stream_read_upto_finish">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="stream" type="GDataInputStream*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="length" type="gsize*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="set_byte_order" symbol="g_data_input_stream_set_byte_order">
<return-type type="void"/>
<parameters>
@@ -4942,6 +4886,12 @@
<parameter name="destroy_function" type="GDestroyNotify"/>
</parameters>
</constructor>
+ <method name="steal_data" symbol="g_memory_output_stream_steal_data">
+ <return-type type="gpointer"/>
+ <parameters>
+ <parameter name="ostream" type="GMemoryOutputStream*"/>
+ </parameters>
+ </method>
<property name="data" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="data-size" type="gulong" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="destroy-function" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
@@ -5109,6 +5059,12 @@
<parameter name="addr" type="GNetworkAddress*"/>
</parameters>
</method>
+ <method name="get_scheme" symbol="g_network_address_get_scheme">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="addr" type="GNetworkAddress*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="g_network_address_new">
<return-type type="GSocketConnectable*"/>
<parameters>
@@ -5124,8 +5080,17 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="parse_uri" symbol="g_network_address_parse_uri">
+ <return-type type="GSocketConnectable*"/>
+ <parameters>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="default_port" type="guint16"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<property name="hostname" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="port" type="guint" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="scheme" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
</object>
<object name="GNetworkService" parent="GObject" type-name="GNetworkService" get-type="g_network_service_get_type">
<implements>
@@ -5143,6 +5108,12 @@
<parameter name="srv" type="GNetworkService*"/>
</parameters>
</method>
+ <method name="get_scheme" symbol="g_network_service_get_scheme">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="srv" type="GNetworkService*"/>
+ </parameters>
+ </method>
<method name="get_service" symbol="g_network_service_get_service">
<return-type type="gchar*"/>
<parameters>
@@ -5157,8 +5128,16 @@
<parameter name="domain" type="gchar*"/>
</parameters>
</constructor>
+ <method name="set_scheme" symbol="g_network_service_set_scheme">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="srv" type="GNetworkService*"/>
+ <parameter name="scheme" type="gchar*"/>
+ </parameters>
+ </method>
<property name="domain" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="protocol" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="scheme" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="service" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
</object>
<object name="GOutputStream" parent="GObject" type-name="GOutputStream" get-type="g_output_stream_get_type">
@@ -5561,6 +5540,62 @@
</parameters>
</vfunc>
</object>
+ <object name="GProxyAddress" parent="GInetSocketAddress" type-name="GProxyAddress" get-type="g_proxy_address_get_type">
+ <implements>
+ <interface name="GSocketConnectable"/>
+ </implements>
+ <method name="get_destination_hostname" symbol="g_proxy_address_get_destination_hostname">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxyAddress*"/>
+ </parameters>
+ </method>
+ <method name="get_destination_port" symbol="g_proxy_address_get_destination_port">
+ <return-type type="guint16"/>
+ <parameters>
+ <parameter name="proxy" type="GProxyAddress*"/>
+ </parameters>
+ </method>
+ <method name="get_password" symbol="g_proxy_address_get_password">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxyAddress*"/>
+ </parameters>
+ </method>
+ <method name="get_protocol" symbol="g_proxy_address_get_protocol">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxyAddress*"/>
+ </parameters>
+ </method>
+ <method name="get_username" symbol="g_proxy_address_get_username">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxyAddress*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="g_proxy_address_new">
+ <return-type type="GSocketAddress*"/>
+ <parameters>
+ <parameter name="inetaddr" type="GInetAddress*"/>
+ <parameter name="port" type="guint16"/>
+ <parameter name="protocol" type="gchar*"/>
+ <parameter name="dest_hostname" type="gchar*"/>
+ <parameter name="dest_port" type="guint16"/>
+ <parameter name="username" type="gchar*"/>
+ <parameter name="password" type="gchar*"/>
+ </parameters>
+ </constructor>
+ <property name="destination-hostname" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="destination-port" type="guint" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="password" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="protocol" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="username" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ </object>
+ <object name="GProxyAddressEnumerator" parent="GSocketAddressEnumerator" type-name="GProxyAddressEnumerator" get-type="g_proxy_address_enumerator_get_type">
+ <property name="connectable" type="GSocketConnectable*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="uri" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+ </object>
<object name="GResolver" parent="GObject" type-name="GResolver" get-type="g_resolver_get_type">
<method name="error_quark" symbol="g_resolver_error_quark">
<return-type type="GQuark"/>
@@ -5899,7 +5934,13 @@
<parameter name="name" type="gchar*"/>
</parameters>
</method>
- <method name="list_items" symbol="g_settings_list_items">
+ <method name="list_children" symbol="g_settings_list_children">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="settings" type="GSettings*"/>
+ </parameters>
+ </method>
+ <method name="list_keys" symbol="g_settings_list_keys">
<return-type type="gchar**"/>
<parameters>
<parameter name="settings" type="GSettings*"/>
@@ -5936,6 +5977,13 @@
<parameter name="path" type="gchar*"/>
</parameters>
</constructor>
+ <method name="reset" symbol="g_settings_reset">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GSettings*"/>
+ <parameter name="key" type="gchar*"/>
+ </parameters>
+ </method>
<method name="revert" symbol="g_settings_revert">
<return-type type="void"/>
<parameters>
@@ -6289,6 +6337,13 @@
<parameter name="socket" type="GSocket*"/>
</parameters>
</method>
+ <method name="get_credentials" symbol="g_socket_get_credentials">
+ <return-type type="GCredentials*"/>
+ <parameters>
+ <parameter name="socket" type="GSocket*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="get_family" symbol="g_socket_get_family">
<return-type type="GSocketFamily"/>
<parameters>
@@ -6415,6 +6470,17 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="receive_with_blocking" symbol="g_socket_receive_with_blocking">
+ <return-type type="gssize"/>
+ <parameters>
+ <parameter name="socket" type="GSocket*"/>
+ <parameter name="buffer" type="gchar*"/>
+ <parameter name="size" type="gsize"/>
+ <parameter name="blocking" type="gboolean"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="send" symbol="g_socket_send">
<return-type type="gssize"/>
<parameters>
@@ -6450,6 +6516,17 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="send_with_blocking" symbol="g_socket_send_with_blocking">
+ <return-type type="gssize"/>
+ <parameters>
+ <parameter name="socket" type="GSocket*"/>
+ <parameter name="buffer" type="gchar*"/>
+ <parameter name="size" type="gsize"/>
+ <parameter name="blocking" type="gboolean"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="set_blocking" symbol="g_socket_set_blocking">
<return-type type="void"/>
<parameters>
@@ -6612,6 +6689,13 @@
</vfunc>
</object>
<object name="GSocketClient" parent="GObject" type-name="GSocketClient" get-type="g_socket_client_get_type">
+ <method name="add_application_proxy" symbol="g_socket_client_add_application_proxy">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="protocol" type="gchar*"/>
+ </parameters>
+ </method>
<method name="connect" symbol="g_socket_client_connect">
<return-type type="GSocketConnection*"/>
<parameters>
@@ -6697,6 +6781,41 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="connect_to_uri" symbol="g_socket_client_connect_to_uri">
+ <return-type type="GSocketConnection*"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="default_port" type="guint16"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="connect_to_uri_async" symbol="g_socket_client_connect_to_uri_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="default_port" type="guint16"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="connect_to_uri_finish" symbol="g_socket_client_connect_to_uri_finish">
+ <return-type type="GSocketConnection*"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="get_enable_proxy" symbol="g_socket_client_get_enable_proxy">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ </parameters>
+ </method>
<method name="get_family" symbol="g_socket_client_get_family">
<return-type type="GSocketFamily"/>
<parameters>
@@ -6721,9 +6840,22 @@
<parameter name="client" type="GSocketClient*"/>
</parameters>
</method>
+ <method name="get_timeout" symbol="g_socket_client_get_timeout">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="g_socket_client_new">
<return-type type="GSocketClient*"/>
</constructor>
+ <method name="set_enable_proxy" symbol="g_socket_client_set_enable_proxy">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="enable" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_family" symbol="g_socket_client_set_family">
<return-type type="void"/>
<parameters>
@@ -6752,9 +6884,18 @@
<parameter name="type" type="GSocketType"/>
</parameters>
</method>
+ <method name="set_timeout" symbol="g_socket_client_set_timeout">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="client" type="GSocketClient*"/>
+ <parameter name="timeout" type="guint"/>
+ </parameters>
+ </method>
+ <property name="enable-proxy" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="family" type="GSocketFamily" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="local-address" type="GSocketAddress*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="protocol" type="GSocketProtocol" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="timeout" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="type" type="GSocketType" readable="1" writable="1" construct="1" construct-only="0"/>
</object>
<object name="GSocketConnection" parent="GIOStream" type-name="GSocketConnection" get-type="g_socket_connection_get_type">
@@ -7394,6 +7535,12 @@
<implements>
<interface name="GConverter"/>
</implements>
+ <method name="get_file_info" symbol="g_zlib_compressor_get_file_info">
+ <return-type type="GFileInfo*"/>
+ <parameters>
+ <parameter name="compressor" type="GZlibCompressor*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="g_zlib_compressor_new">
<return-type type="GZlibCompressor*"/>
<parameters>
@@ -7401,6 +7548,14 @@
<parameter name="level" type="int"/>
</parameters>
</constructor>
+ <method name="set_file_info" symbol="g_zlib_compressor_set_file_info">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="compressor" type="GZlibCompressor*"/>
+ <parameter name="file_info" type="GFileInfo*"/>
+ </parameters>
+ </method>
+ <property name="file-info" type="GFileInfo*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="format" type="GZlibCompressorFormat" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="level" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
</object>
@@ -7408,12 +7563,19 @@
<implements>
<interface name="GConverter"/>
</implements>
+ <method name="get_file_info" symbol="g_zlib_decompressor_get_file_info">
+ <return-type type="GFileInfo*"/>
+ <parameters>
+ <parameter name="decompressor" type="GZlibDecompressor*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="g_zlib_decompressor_new">
<return-type type="GZlibDecompressor*"/>
<parameters>
<parameter name="format" type="GZlibCompressorFormat"/>
</parameters>
</constructor>
+ <property name="file-info" type="GFileInfo*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="format" type="GZlibCompressorFormat" readable="1" writable="1" construct="0" construct-only="1"/>
</object>
<interface name="GAppInfo" type-name="GAppInfo" get-type="g_app_info_get_type">
@@ -10625,6 +10787,161 @@
</parameters>
</vfunc>
</interface>
+ <interface name="GProxy" type-name="GProxy" get-type="g_proxy_get_type">
+ <requires>
+ <interface name="GObject"/>
+ </requires>
+ <method name="connect" symbol="g_proxy_connect">
+ <return-type type="GIOStream*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="connection" type="GIOStream*"/>
+ <parameter name="proxy_address" type="GProxyAddress*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="connect_async" symbol="g_proxy_connect_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="connection" type="GIOStream*"/>
+ <parameter name="proxy_address" type="GProxyAddress*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="connect_finish" symbol="g_proxy_connect_finish">
+ <return-type type="GIOStream*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="get_default_for_protocol" symbol="g_proxy_get_default_for_protocol">
+ <return-type type="GProxy*"/>
+ <parameters>
+ <parameter name="protocol" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="supports_hostname" symbol="g_proxy_supports_hostname">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ </parameters>
+ </method>
+ <vfunc name="connect">
+ <return-type type="GIOStream*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="connection" type="GIOStream*"/>
+ <parameter name="proxy_address" type="GProxyAddress*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="connect_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="connection" type="GIOStream*"/>
+ <parameter name="proxy_address" type="GProxyAddress*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="connect_finish">
+ <return-type type="GIOStream*"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="supports_hostname">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="proxy" type="GProxy*"/>
+ </parameters>
+ </vfunc>
+ </interface>
+ <interface name="GProxyResolver" type-name="GProxyResolver" get-type="g_proxy_resolver_get_type">
+ <requires>
+ <interface name="GObject"/>
+ </requires>
+ <method name="get_default" symbol="g_proxy_resolver_get_default">
+ <return-type type="GProxyResolver*"/>
+ </method>
+ <method name="is_supported" symbol="g_proxy_resolver_is_supported">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ </parameters>
+ </method>
+ <method name="lookup" symbol="g_proxy_resolver_lookup">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="lookup_async" symbol="g_proxy_resolver_lookup_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="lookup_finish" symbol="g_proxy_resolver_lookup_finish">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <vfunc name="is_supported">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="lookup">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="lookup_async">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="uri" type="gchar*"/>
+ <parameter name="cancellable" type="GCancellable*"/>
+ <parameter name="callback" type="GAsyncReadyCallback"/>
+ <parameter name="user_data" type="gpointer"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="lookup_finish">
+ <return-type type="gchar**"/>
+ <parameters>
+ <parameter name="resolver" type="GProxyResolver*"/>
+ <parameter name="result" type="GAsyncResult*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </vfunc>
+ </interface>
<interface name="GSeekable" type-name="GSeekable" get-type="g_seekable_get_type">
<requires>
<interface name="GObject"/>
@@ -10714,12 +11031,24 @@
<parameter name="connectable" type="GSocketConnectable*"/>
</parameters>
</method>
+ <method name="proxy_enumerate" symbol="g_socket_connectable_proxy_enumerate">
+ <return-type type="GSocketAddressEnumerator*"/>
+ <parameters>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ </parameters>
+ </method>
<vfunc name="enumerate">
<return-type type="GSocketAddressEnumerator*"/>
<parameters>
<parameter name="connectable" type="GSocketConnectable*"/>
</parameters>
</vfunc>
+ <vfunc name="proxy_enumerate">
+ <return-type type="GSocketAddressEnumerator*"/>
+ <parameters>
+ <parameter name="connectable" type="GSocketConnectable*"/>
+ </parameters>
+ </vfunc>
</interface>
<interface name="GVolume" type-name="GVolume" get-type="g_volume_get_type">
<requires>
@@ -11060,6 +11389,8 @@
<constant name="G_FILE_ATTRIBUTE_UNIX_RDEV" type="char*" value="unix::rdev"/>
<constant name="G_FILE_ATTRIBUTE_UNIX_UID" type="char*" value="unix::uid"/>
<constant name="G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME" type="char*" value="gio-native-volume-monitor"/>
+ <constant name="G_PROXY_EXTENSION_POINT_NAME" type="char*" value="gio-proxy"/>
+ <constant name="G_PROXY_RESOLVER_EXTENSION_POINT_NAME" type="char*" value="gio-proxy-resolver"/>
<constant name="G_VFS_EXTENSION_POINT_NAME" type="char*" value="gio-vfs"/>
<constant name="G_VOLUME_IDENTIFIER_KIND_HAL_UDI" type="char*" value="hal-udi"/>
<constant name="G_VOLUME_IDENTIFIER_KIND_LABEL" type="char*" value="label"/>
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 8e12941..fa13281 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -165,13 +165,6 @@ g_io_scheduler_*.notify nullable="1"
g_memory_input_stream_*.destroy nullable="1"
g_memory_output_stream_*.destroy_function nullable="1"
-g_application_new.argc hidden="1"
-g_application_new.argv is_array="1" is_ref="1" array_length_pos="1.9" nullable="1" default_value="null"
-g_application_is_remote hidden="1"
-GApplication::quit_with_data has_emitter="1"
-GApplication::quit_with_data.platform_data nullable="1" default_value="null"
-GApplication:register hidden="1"
-
GDBusAuthObserver::authorize_authenticated_peer has_emitter="1"
GDBusConnection:closed hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]