From: Evan Nemerson Date: Thu, 25 Feb 2010 07:19:20 +0000 (-0800) Subject: gio-unix-2.0: update to 2.22.4 X-Git-Tag: 0.8.0~248 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4631ac5c89e34a3ac34568ca7faf6b4d91e9abb1;p=thirdparty%2Fvala.git gio-unix-2.0: update to 2.22.4 Fixes bug 610074. --- diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi index 8823c7412..818895a31 100644 --- a/vapi/gio-unix-2.0.vapi +++ b/vapi/gio-unix-2.0.vapi @@ -13,6 +13,18 @@ namespace GLib { public bool get_is_hidden (); public static void set_desktop_env (string desktop_env); } + [CCode (cheader_filename = "gio/gunixmounts.h")] + public class UnixConnection : GLib.SocketConnection { + public int receive_fd (GLib.Cancellable cancellable) throws GLib.Error; + public bool send_fd (int fd, GLib.Cancellable cancellable) throws GLib.Error; + } + [CCode (cheader_filename = "gio/gunixmounts.h")] + public class UnixFDMessage : GLib.SocketControlMessage { + [CCode (type = "GSocketControlMessage*", has_construct_function = false)] + public UnixFDMessage (); + public bool append_fd (int fd) throws GLib.Error; + public int steal_fds (int length); + } [CCode (cheader_filename = "gio/gunixinputstream.h")] public class UnixInputStream : GLib.InputStream { [CCode (type = "GInputStream*", has_construct_function = false)] @@ -91,8 +103,17 @@ namespace GLib { public class UnixSocketAddress : GLib.SocketAddress, GLib.SocketConnectable { [CCode (type = "GSocketAddress*", has_construct_function = false)] public UnixSocketAddress (string path); + public static bool abstract_names_supported (); + [CCode (cname = "g_unix_socket_address_new_abstract", type = "GSocketAddress*", has_construct_function = false)] + public UnixSocketAddress.as_abstract (string path, int path_len); + public bool get_is_abstract (); + public unowned string get_path (); + public size_t get_path_len (); + [NoAccessorMethod] + public bool @abstract { get; construct; } + public string path { get; construct; } [NoAccessorMethod] - public string path { owned get; construct; } + public GLib.ByteArray path_as_array { owned get; construct; } } [CCode (cheader_filename = "gio/gunixmounts.h")] public interface DesktopAppInfoLookup : GLib.Object { diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi index 7166e2c38..f73578719 100644 --- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.gi @@ -213,6 +213,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -301,13 +340,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata index 535891e7c..8f5048ea7 100644 --- a/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata +++ b/vapi/packages/gio-unix-2.0/gio-unix-2.0.metadata @@ -20,4 +20,4 @@ g_unix_mount_is_system_internal hidden="1" g_unix_mount_points_changed_since name="mount_points_changed_since" g_unix_mount_points_get hidden="1" GUnixOutputStream cheader_filename="gio/gunixoutputstream.h" - +g_unix_socket_address_new_abstract name="as_abstract"