/* gio-2.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "G", gir_namespace = "Gio", gir_version = "2.0", lower_case_cprefix = "g_")]
namespace GLib {
	namespace Bus {
		[CCode (cheader_filename = "gio/gio.h")]
		public static async GLib.DBusConnection @get (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cheader_filename = "gio/gio.h")]
		public static async T get_proxy<T> (GLib.BusType bus_type, string name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cheader_filename = "gio/gio.h")]
		public static T get_proxy_sync<T> (GLib.BusType bus_type, string name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cheader_filename = "gio/gio.h")]
		public static GLib.DBusConnection get_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_with_closures")]
		[Version (since = "2.26")]
		public static uint own_name (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, [CCode (type = "GClosure*")] owned GLib.BusAcquiredCallback? bus_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameAcquiredCallback? name_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameLostCallback? name_lost_closure = null);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_on_connection_with_closures")]
		[Version (since = "2.26")]
		public static uint own_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAcquiredCallback? name_acquired_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameLostCallback? name_lost_closure = null);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static void unown_name (uint owner_id);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static void unwatch_name (uint watcher_id);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_with_closures")]
		[Version (since = "2.26")]
		public static uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_closure = null);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_on_connection_with_closures")]
		[Version (since = "2.26")]
		public static uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_closure = null, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_closure = null);
	}
	namespace ContentType {
		[CCode (cheader_filename = "gio/gio.h")]
		public static bool can_be_executable (string type);
		[CCode (cheader_filename = "gio/gio.h")]
		public static bool equals (string type1, string type2);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.18")]
		public static string? from_mime_type (string mime_type);
		[CCode (cheader_filename = "gio/gio.h")]
		public static string get_description (string type);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.34")]
		public static string? get_generic_icon_name (string type);
		[CCode (cheader_filename = "gio/gio.h")]
		public static GLib.Icon get_icon (string type);
		[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
		[Version (since = "2.60")]
		public static unowned string[] get_mime_dirs ();
		[CCode (cheader_filename = "gio/gio.h")]
		public static string? get_mime_type (string type);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.34")]
		public static GLib.Icon get_symbolic_icon (string type);
		[CCode (cheader_filename = "gio/gio.h")]
		public static string guess (string? filename, [CCode (array_length_cname = "data_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[]? data, out bool result_uncertain);
		[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
		[Version (since = "2.18")]
		public static string[] guess_for_tree (GLib.File root);
		[CCode (cheader_filename = "gio/gio.h")]
		public static bool is_a (string type, string supertype);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.52")]
		public static bool is_mime_type (string type, string mime_type);
		[CCode (cheader_filename = "gio/gio.h")]
		public static bool is_unknown (string type);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_content_types_get_registered")]
		public static GLib.List<string> list_registered ();
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.60")]
		public static void set_mime_dirs ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
	}
	namespace DBus {
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.36")]
		public static string address_escape_value (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static async GLib.IOStream address_get_stream (string address, GLib.Cancellable? cancellable = null, out string? out_guid) throws GLib.Error;
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static GLib.IOStream address_get_stream_sync (string address, out string? out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusAnnotationInfo.lookup", since = "2.26")]
		public static unowned string? annotation_info_lookup ([CCode (array_length = false, array_null_terminated = true)] GLib.DBusAnnotationInfo[]? annotations, string name);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.encode_gerror", since = "2.26")]
		public static string error_encode_gerror (GLib.Error error);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.get_remote_error", since = "2.26")]
		public static string? error_get_remote_error (GLib.Error error);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.is_remote_error", since = "2.26")]
		public static bool error_is_remote_error (GLib.Error error);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.new_for_dbus_error", since = "2.26")]
		public static GLib.Error error_new_for_dbus_error (string dbus_error_name, string dbus_error_message);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.quark")]
		public static GLib.Quark error_quark ();
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.register_error", since = "2.26")]
		public static bool error_register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.register_error_domain", since = "2.26")]
		public static void error_register_error_domain (string error_domain_quark_name, size_t quark_volatile, [CCode (array_length_cname = "num_entries", array_length_pos = 3.1, array_length_type = "guint")] GLib.DBusErrorEntry[] entries);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.strip_remote_error", since = "2.26")]
		public static bool error_strip_remote_error (GLib.Error error);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "DBusError.unregister_error", since = "2.26")]
		public static bool error_unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.68")]
		public static string escape_object_path (string s);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.68")]
		public static string escape_object_path_bytestring ([CCode (array_length = false, array_null_terminated = true)] uint8[] bytes);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static string generate_guid ();
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.30")]
		public static GLib.Variant gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.30")]
		public static GLib.Value gvariant_to_gvalue (GLib.Variant value);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_address (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.70")]
		public static bool is_error_name (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_guid (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_interface_name (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_member_name (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_name (string string);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_supported_address (string string) throws GLib.Error;
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.26")]
		public static bool is_unique_name (string string);
		[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
		[Version (since = "2.68")]
		public static unowned uint8[]? unescape_object_path (string s);
	}
	namespace FileAttribute {
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE")]
		public const string ACCESS_CAN_DELETE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE")]
		public const string ACCESS_CAN_EXECUTE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_READ")]
		public const string ACCESS_CAN_READ;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME")]
		public const string ACCESS_CAN_RENAME;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH")]
		public const string ACCESS_CAN_TRASH;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE")]
		public const string ACCESS_CAN_WRITE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE")]
		public const string DOS_IS_ARCHIVE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT")]
		[Version (since = "2.60")]
		public const string DOS_IS_MOUNTPOINT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_IS_SYSTEM")]
		public const string DOS_IS_SYSTEM;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG")]
		[Version (since = "2.60")]
		public const string DOS_REPARSE_POINT_TAG;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ETAG_VALUE")]
		public const string ETAG_VALUE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_FREE")]
		public const string FILESYSTEM_FREE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_READONLY")]
		public const string FILESYSTEM_READONLY;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE")]
		public const string FILESYSTEM_REMOTE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_SIZE")]
		public const string FILESYSTEM_SIZE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_TYPE")]
		public const string FILESYSTEM_TYPE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USED")]
		[Version (since = "2.32")]
		public const string FILESYSTEM_USED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW")]
		public const string FILESYSTEM_USE_PREVIEW;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_GVFS_BACKEND")]
		public const string GVFS_BACKEND;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ID_FILE")]
		public const string ID_FILE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ID_FILESYSTEM")]
		public const string ID_FILESYSTEM;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT")]
		public const string MOUNTABLE_CAN_EJECT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT")]
		public const string MOUNTABLE_CAN_MOUNT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_CAN_POLL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_CAN_START;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_CAN_START_DEGRADED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_CAN_STOP;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT")]
		public const string MOUNTABLE_CAN_UNMOUNT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI")]
		public const string MOUNTABLE_HAL_UDI;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_START_STOP_TYPE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE")]
		public const string MOUNTABLE_UNIX_DEVICE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE")]
		[Version (since = "2.22")]
		public const string MOUNTABLE_UNIX_DEVICE_FILE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_GROUP")]
		public const string OWNER_GROUP;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_USER")]
		public const string OWNER_USER;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_USER_REAL")]
		public const string OWNER_USER_REAL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_PREVIEW_ICON")]
		[Version (since = "2.20")]
		public const string PREVIEW_ICON;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_RECENT_MODIFIED")]
		[Version (since = "2.52")]
		public const string RECENT_MODIFIED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_SELINUX_CONTEXT")]
		public const string SELINUX_CONTEXT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE")]
		[Version (since = "2.20")]
		public const string STANDARD_ALLOCATED_SIZE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE")]
		public const string STANDARD_CONTENT_TYPE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_COPY_NAME")]
		public const string STANDARD_COPY_NAME;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION")]
		public const string STANDARD_DESCRIPTION;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME")]
		public const string STANDARD_DISPLAY_NAME;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME")]
		public const string STANDARD_EDIT_NAME;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE")]
		public const string STANDARD_FAST_CONTENT_TYPE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_ICON")]
		public const string STANDARD_ICON;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP")]
		public const string STANDARD_IS_BACKUP;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN")]
		public const string STANDARD_IS_HIDDEN;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK")]
		public const string STANDARD_IS_SYMLINK;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL")]
		public const string STANDARD_IS_VIRTUAL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE")]
		[Version (since = "2.46")]
		public const string STANDARD_IS_VOLATILE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_NAME")]
		public const string STANDARD_NAME;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SIZE")]
		public const string STANDARD_SIZE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
		public const string STANDARD_SORT_ORDER;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
		[Version (since = "2.34")]
		public const string STANDARD_SYMBOLIC_ICON;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
		public const string STANDARD_SYMLINK_TARGET;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_TARGET_URI")]
		public const string STANDARD_TARGET_URI;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_TYPE")]
		public const string STANDARD_TYPE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED")]
		public const string THUMBNAILING_FAILED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAILING_FAILED_LARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL")]
		[Version (since = "2.76")]
		public const string THUMBNAILING_FAILED_NORMAL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAILING_FAILED_XLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAILING_FAILED_XXLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID")]
		[Version (since = "2.40")]
		public const string THUMBNAIL_IS_VALID;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_IS_VALID_LARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_IS_VALID_NORMAL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_IS_VALID_XLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_IS_VALID_XXLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH")]
		public const string THUMBNAIL_PATH;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_PATH_LARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_PATH_NORMAL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_PATH_XLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE")]
		[Version (since = "2.76")]
		public const string THUMBNAIL_PATH_XXLARGE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_ACCESS")]
		public const string TIME_ACCESS;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC")]
		[Version (since = "2.74")]
		public const string TIME_ACCESS_NSEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_ACCESS_USEC")]
		public const string TIME_ACCESS_USEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CHANGED")]
		public const string TIME_CHANGED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC")]
		[Version (since = "2.74")]
		public const string TIME_CHANGED_NSEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CHANGED_USEC")]
		public const string TIME_CHANGED_USEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CREATED")]
		public const string TIME_CREATED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CREATED_NSEC")]
		[Version (since = "2.74")]
		public const string TIME_CREATED_NSEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CREATED_USEC")]
		public const string TIME_CREATED_USEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED")]
		public const string TIME_MODIFIED;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC")]
		[Version (since = "2.74")]
		public const string TIME_MODIFIED_NSEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC")]
		public const string TIME_MODIFIED_USEC;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_DELETION_DATE")]
		[Version (since = "2.24")]
		public const string TRASH_DELETION_DATE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT")]
		public const string TRASH_ITEM_COUNT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ORIG_PATH")]
		[Version (since = "2.24")]
		public const string TRASH_ORIG_PATH;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_BLOCKS")]
		public const string UNIX_BLOCKS;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE")]
		public const string UNIX_BLOCK_SIZE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_DEVICE")]
		public const string UNIX_DEVICE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_GID")]
		public const string UNIX_GID;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_INODE")]
		public const string UNIX_INODE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT")]
		public const string UNIX_IS_MOUNTPOINT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_MODE")]
		public const string UNIX_MODE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_NLINK")]
		public const string UNIX_NLINK;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_RDEV")]
		public const string UNIX_RDEV;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_UID")]
		public const string UNIX_UID;
	}
	namespace VolumeIdentifier {
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_CLASS")]
		public const string CLASS;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_HAL_UDI")]
		[Version (deprecated = true, deprecated_since = "2.58")]
		public const string HAL_UDI;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_LABEL")]
		public const string LABEL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT")]
		public const string NFS_MOUNT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE")]
		public const string UNIX_DEVICE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_UUID")]
		public const string UUID;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_monitor_get_type ()")]
	[Version (since = "2.40")]
	public class AppInfoMonitor : GLib.Object {
		[CCode (has_construct_function = false)]
		protected AppInfoMonitor ();
		public static GLib.AppInfoMonitor @get ();
		public signal void changed ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_app_launch_context_get_type ()")]
	public class AppLaunchContext : GLib.Object {
		[CCode (has_construct_function = false)]
		public AppLaunchContext ();
		public virtual string? get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.32")]
		public string[] get_environment ();
		public virtual string? get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
		[Version (since = "2.32")]
		public void setenv (string variable, string value);
		[Version (since = "2.32")]
		public void unsetenv (string variable);
		[HasEmitter]
		[Version (since = "2.36")]
		public virtual signal void launch_failed (string startup_notify_id);
		[Version (since = "2.72")]
		public virtual signal void launch_started (GLib.AppInfo info, GLib.Variant? platform_data);
		[Version (since = "2.36")]
		public virtual signal void launched (GLib.AppInfo info, GLib.Variant platform_data);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_application_get_type ()")]
	[Version (since = "2.28")]
	public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
		[CCode (has_construct_function = false)]
		public Application (string? application_id, GLib.ApplicationFlags flags);
		[Version (since = "2.42")]
		public void add_main_option (string long_name, char short_name, GLib.OptionFlags flags, GLib.OptionArg arg, string description, string? arg_description);
		[Version (since = "2.40")]
		public void add_main_option_entries ([CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries);
		[Version (since = "2.40")]
		public void add_option_group (owned GLib.OptionGroup group);
		[NoWrapper]
		public virtual void add_platform_data (GLib.VariantBuilder builder);
		[NoWrapper]
		public virtual void after_emit (GLib.Variant platform_data);
		[NoWrapper]
		public virtual void before_emit (GLib.Variant platform_data);
		[Version (since = "2.44")]
		public void bind_busy_property (GLib.Object object, string property);
		[NoWrapper]
		public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws GLib.Error;
		[NoWrapper]
		public virtual void dbus_unregister (GLib.DBusConnection connection, string object_path);
		public unowned string? get_application_id ();
		[Version (since = "2.34")]
		public unowned GLib.DBusConnection? get_dbus_connection ();
		[Version (since = "2.34")]
		public unowned string? get_dbus_object_path ();
		[Version (since = "2.32")]
		public static unowned GLib.Application? get_default ();
		public GLib.ApplicationFlags get_flags ();
		public uint get_inactivity_timeout ();
		[Version (since = "2.44")]
		public bool get_is_busy ();
		public bool get_is_registered ();
		public bool get_is_remote ();
		[Version (since = "2.42")]
		public unowned string? get_resource_base_path ();
		[Version (since = "2.80")]
		public unowned string? get_version ();
		public void hold ();
		public static bool id_is_valid (string application_id);
		[NoWrapper]
		public virtual bool local_command_line ([CCode (array_length = false, array_null_terminated = true)] ref unowned string[] arguments, out int exit_status);
		[Version (since = "2.38")]
		public void mark_busy ();
		[Version (since = "2.32")]
		public void quit ();
		[NoWrapper]
		public virtual void quit_mainloop ();
		public bool register (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void release ();
		public int run ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv = null);
		[NoWrapper]
		public virtual void run_mainloop ();
		[Version (since = "2.40")]
		public void send_notification (string? id, GLib.Notification notification);
		[Version (deprecated = true, deprecated_since = "2.32", since = "2.28")]
		public void set_action_group (GLib.ActionGroup? action_group);
		public void set_application_id (string? application_id);
		[Version (since = "2.32")]
		public static void set_default (GLib.Application? application);
		public void set_flags (GLib.ApplicationFlags flags);
		public void set_inactivity_timeout (uint inactivity_timeout);
		[Version (since = "2.56")]
		public void set_option_context_description (string? description);
		[Version (since = "2.56")]
		public void set_option_context_parameter_string (string? parameter_string);
		[Version (since = "2.56")]
		public void set_option_context_summary (string? summary);
		[Version (since = "2.42")]
		public void set_resource_base_path (string? resource_path);
		[Version (since = "2.80")]
		public void set_version (string version);
		[Version (since = "2.44")]
		public void unbind_busy_property (GLib.Object object, string property);
		[Version (since = "2.38")]
		public void unmark_busy ();
		[Version (since = "2.40")]
		public void withdraw_notification (string id);
		public GLib.ActionGroup action_group { set; }
		public string application_id { get; set construct; }
		public GLib.ApplicationFlags flags { get; set; }
		public uint inactivity_timeout { get; set; }
		[Version (since = "2.44")]
		public bool is_busy { get; }
		public bool is_registered { get; }
		public bool is_remote { get; }
		public string resource_base_path { get; set; }
		[Version (since = "2.80")]
		public string version { get; set; }
		[HasEmitter]
		public virtual signal void activate ();
		public virtual signal int command_line (GLib.ApplicationCommandLine command_line);
		[Version (since = "2.40")]
		public virtual signal int handle_local_options (GLib.VariantDict options);
		[Version (since = "2.60")]
		public virtual signal bool name_lost ();
		[HasEmitter]
		public virtual signal void open ([CCode (array_length_cname = "n_files", array_length_pos = 1.5)] GLib.File[] files, string hint);
		public virtual signal void shutdown ();
		public virtual signal void startup ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_application_command_line_get_type ()")]
	public class ApplicationCommandLine : GLib.Object {
		[CCode (has_construct_function = false)]
		protected ApplicationCommandLine ();
		[Version (since = "2.36")]
		public GLib.File create_file_for_arg (string arg);
		[Version (since = "2.80")]
		public virtual void done ();
		[CCode (array_length_pos = 0.1)]
		[Version (since = "2.28")]
		public string[] get_arguments ();
		[Version (since = "2.28")]
		public unowned string? get_cwd ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.28")]
		public unowned string[] get_environ ();
		[Version (since = "2.28")]
		public int get_exit_status ();
		[Version (since = "2.28")]
		public bool get_is_remote ();
		[Version (since = "2.40")]
		public unowned GLib.VariantDict get_options_dict ();
		[Version (since = "2.28")]
		public GLib.Variant? get_platform_data ();
		[Version (since = "2.34")]
		public virtual GLib.InputStream? get_stdin ();
		[Version (since = "2.28")]
		public unowned string? getenv (string name);
		[PrintfFormat]
		[Version (since = "2.28")]
		public void print (string format, ...);
		[NoWrapper]
		public virtual void print_literal (string message);
		[PrintfFormat]
		[Version (since = "2.28")]
		public void printerr (string format, ...);
		[NoWrapper]
		public virtual void printerr_literal (string message);
		[Version (since = "2.28")]
		public void set_exit_status (int exit_status);
		[NoAccessorMethod]
		[Version (since = "2.28")]
		public GLib.Variant arguments { construct; }
		[Version (since = "2.28")]
		public bool is_remote { get; }
		[NoAccessorMethod]
		[Version (since = "2.28")]
		public GLib.Variant options { construct; }
		[NoAccessorMethod]
		[Version (since = "2.28")]
		public GLib.Variant platform_data { construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_input_stream_get_type ()")]
	public class BufferedInputStream : GLib.FilterInputStream, GLib.Seekable {
		[CCode (has_construct_function = false, type = "GInputStream*")]
		public BufferedInputStream (GLib.InputStream base_stream);
		public virtual ssize_t fill (ssize_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async ssize_t fill_async (ssize_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public size_t get_available ();
		public size_t get_buffer_size ();
		public size_t peek ([CCode (array_length_cname = "count", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] buffer, size_t offset = 0);
		[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
		public unowned uint8[] peek_buffer ();
		public int read_byte (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void set_buffer_size (size_t size);
		[CCode (has_construct_function = false, type = "GInputStream*")]
		public BufferedInputStream.sized (GLib.InputStream base_stream, size_t size);
		public uint buffer_size { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_output_stream_get_type ()")]
	public class BufferedOutputStream : GLib.FilterOutputStream, GLib.Seekable {
		[CCode (has_construct_function = false, type = "GOutputStream*")]
		public BufferedOutputStream (GLib.OutputStream base_stream);
		public bool get_auto_grow ();
		public size_t get_buffer_size ();
		public void set_auto_grow (bool auto_grow);
		public void set_buffer_size (size_t size);
		[CCode (has_construct_function = false, type = "GOutputStream*")]
		public BufferedOutputStream.sized (GLib.OutputStream base_stream, size_t size);
		public bool auto_grow { get; set; }
		public uint buffer_size { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_bytes_icon_get_type ()")]
	[Version (since = "2.38")]
	public class BytesIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
		[CCode (has_construct_function = false, type = "GIcon*")]
		public BytesIcon (GLib.Bytes bytes);
		public unowned GLib.Bytes get_bytes ();
		public GLib.Bytes bytes { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_cancellable_get_type ()")]
	public class Cancellable : GLib.Object {
		[CCode (has_construct_function = false)]
		public Cancellable ();
		public void cancel ();
		[Version (since = "2.22")]
		public ulong connect ([CCode (type = "GCallback")] owned GLib.Func<GLib.Cancellable> callback);
		[Version (since = "2.22")]
		public void disconnect (ulong handler_id);
		public static unowned GLib.Cancellable? get_current ();
		public int get_fd ();
		public bool is_cancelled ();
		[Version (since = "2.22")]
		public bool make_pollfd (GLib.PollFD pollfd);
		public void pop_current ();
		public void push_current ();
		[Version (since = "2.22")]
		public void release_fd ();
		public void reset ();
		public bool set_error_if_cancelled () throws GLib.IOError;
		[Version (deprecated_since = "vala-0.44", replacement = "CancellableSource", since = "2.28")]
		public GLib.CancellableSource source_new ();
		public virtual signal void cancelled ();
	}
	[CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
	[Compact]
	public class CancellableSource : GLib.Source {
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public CancellableSource (GLib.Cancellable? cancellable);
		[CCode (cname = "g_source_set_callback")]
		public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.CancellableSourceFunc func);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_charset_converter_get_type ()")]
	public class CharsetConverter : GLib.Object, GLib.Converter, GLib.Initable {
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public CharsetConverter (string to_charset, string from_charset) throws GLib.Error;
		[Version (since = "2.24")]
		public uint get_num_fallbacks ();
		[Version (since = "2.24")]
		public bool get_use_fallback ();
		[Version (since = "2.24")]
		public void set_use_fallback (bool use_fallback);
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public string from_charset { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public string to_charset { owned get; construct; }
		[Version (since = "2.24")]
		public bool use_fallback { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_input_stream_get_type ()")]
	public class ConverterInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
		[CCode (has_construct_function = false, type = "GInputStream*")]
		public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
		[Version (since = "2.24")]
		public unowned GLib.Converter get_converter ();
		public GLib.Converter converter { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_output_stream_get_type ()")]
	public class ConverterOutputStream : GLib.FilterOutputStream, GLib.PollableOutputStream {
		[CCode (has_construct_function = false, type = "GOutputStream*")]
		public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
		[Version (since = "2.24")]
		public unowned GLib.Converter get_converter ();
		public GLib.Converter converter { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_credentials_get_type ()")]
	[Version (since = "2.26")]
	public class Credentials : GLib.Object {
		[CCode (has_construct_function = false)]
		public Credentials ();
		public void* get_native (GLib.CredentialsType native_type);
		[Version (since = "2.36")]
		public int get_unix_pid () throws GLib.Error;
		public uint get_unix_user () throws GLib.Error;
		public bool is_same_user (GLib.Credentials other_credentials) throws GLib.Error;
		public void set_native (GLib.CredentialsType native_type, void* native);
		public bool set_unix_user (uint uid) throws GLib.Error;
		public string to_string ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_action_group_get_type ()")]
	public class DBusActionGroup : GLib.Object, GLib.ActionGroup, GLib.RemoteActionGroup {
		[CCode (has_construct_function = false)]
		protected DBusActionGroup ();
		[Version (since = "2.32")]
		public static GLib.DBusActionGroup @get (GLib.DBusConnection connection, string? bus_name, string object_path);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_annotation_info_ref", type_id = "g_dbus_annotation_info_get_type ()", unref_function = "g_dbus_annotation_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusAnnotationInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		public string key;
		public int ref_count;
		public string value;
		public static unowned string? lookup ([CCode (array_length = false, array_null_terminated = true)] GLib.DBusAnnotationInfo[]? annotations, string name);
		public unowned GLib.DBusAnnotationInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_arg_info_ref", type_id = "g_dbus_arg_info_get_type ()", unref_function = "g_dbus_arg_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusArgInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		public string name;
		public int ref_count;
		public string signature;
		public unowned GLib.DBusArgInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_auth_observer_get_type ()")]
	[Version (since = "2.26")]
	public class DBusAuthObserver : GLib.Object {
		[CCode (has_construct_function = false)]
		public DBusAuthObserver ();
		[HasEmitter]
		[Version (since = "2.34")]
		public signal bool allow_mechanism (string mechanism);
		public virtual signal bool authorize_authenticated_peer (GLib.IOStream stream, GLib.Credentials? credentials);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_connection_get_type ()")]
	[Version (since = "2.26")]
	public class DBusConnection : GLib.Object, GLib.AsyncInitable, GLib.Initable {
		[CCode (cname = "g_dbus_connection_new", has_construct_function = false)]
		public async DBusConnection (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public uint add_filter (owned GLib.DBusMessageFilterFunction filter_function);
		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;
		[CCode (async_result_pos = 2.1)]
		[Version (since = "2.30")]
		public async GLib.Variant call_with_unix_fd_list (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.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
		[Version (since = "2.30")]
		public GLib.Variant call_with_unix_fd_list_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.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool close (GLib.Cancellable? cancellable = null) 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;
		[Version (since = "2.32")]
		public uint export_action_group (string object_path, GLib.ActionGroup action_group) throws GLib.Error;
		[Version (since = "2.32")]
		public uint export_menu_model (string object_path, GLib.MenuModel menu) throws GLib.Error;
		public async bool flush (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool flush_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "g_dbus_connection_new_for_address", has_construct_function = false)]
		public async DBusConnection.for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public DBusConnection.for_address_sync (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.DBusCapabilityFlags get_capabilities ();
		public bool get_exit_on_close ();
		[Version (since = "2.60")]
		public GLib.DBusConnectionFlags get_flags ();
		public unowned string get_guid ();
		[Version (since = "2.34")]
		public uint32 get_last_serial ();
		public unowned GLib.Credentials? get_peer_credentials ();
		public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public T get_proxy_sync<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public unowned GLib.IOStream get_stream ();
		public unowned string? get_unique_name ();
		public bool is_closed ();
		[CCode (cname = "g_dbus_connection_new", finish_name = "g_dbus_connection_new_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection")]
		public static async GLib.DBusConnection @new (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "g_dbus_connection_new_for_address", finish_name = "g_dbus_connection_new_for_address_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusConnection.for_address")]
		public static async GLib.DBusConnection new_for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public uint register_object<T> (string object_path, T object) throws GLib.IOError;
		[Version (since = "2.46")]
		public uint register_object_with_closures (string object_path, GLib.DBusInterfaceInfo interface_info, GLib.Closure? method_call_closure, GLib.Closure? get_property_closure, GLib.Closure? set_property_closure) throws GLib.Error;
		public uint register_subtree (string object_path, GLib.DBusSubtreeVTable vtable, GLib.DBusSubtreeFlags flags, void* user_data, GLib.DestroyNotify user_data_free_func) throws GLib.Error;
		public void remove_filter (uint filter_id);
		public bool send_message (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, out 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 = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public GLib.DBusMessage send_message_with_reply_sync (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, out uint32 out_serial = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		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.DBusSignalFlags flags, owned GLib.DBusSignalCallback callback);
		public void signal_unsubscribe (uint subscription_id);
		public void start_message_processing ();
		[CCode (has_construct_function = false)]
		public DBusConnection.sync (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.32")]
		public void unexport_action_group (uint export_id);
		[Version (since = "2.32")]
		public void unexport_menu_model (uint export_id);
		public bool unregister_object (uint registration_id);
		public bool unregister_subtree (uint registration_id);
		[NoAccessorMethod]
		public string address { construct; }
		[NoAccessorMethod]
		public GLib.DBusAuthObserver authentication_observer { construct; }
		public GLib.DBusCapabilityFlags capabilities { get; }
		[NoAccessorMethod]
		public bool closed { get; }
		public bool exit_on_close { get; set; }
		public GLib.DBusConnectionFlags flags { get; construct; }
		public string guid { get; construct; }
		public GLib.IOStream stream { get; construct; }
		public string unique_name { get; }
		[CCode (cname = "closed")]
		public signal void on_closed (bool remote_peer_vanished, GLib.Error? error);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_interface_info_ref", type_id = "g_dbus_interface_info_get_type ()", unref_function = "g_dbus_interface_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusInterfaceInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusMethodInfo[] methods;
		public string name;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusPropertyInfo[] properties;
		public int ref_count;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusSignalInfo[] signals;
		[Version (since = "2.30")]
		public void cache_build ();
		[Version (since = "2.30")]
		public void cache_release ();
		public void generate_xml (uint indent, GLib.StringBuilder string_builder);
		public unowned GLib.DBusMethodInfo? lookup_method (string name);
		public unowned GLib.DBusPropertyInfo? lookup_property (string name);
		public unowned GLib.DBusSignalInfo? lookup_signal (string name);
		public unowned GLib.DBusInterfaceInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_skeleton_get_type ()")]
	[Version (since = "2.30")]
	public abstract class DBusInterfaceSkeleton : GLib.Object, GLib.DBusInterface {
		[CCode (has_construct_function = false)]
		protected DBusInterfaceSkeleton ();
		public bool export (GLib.DBusConnection connection, string object_path) throws GLib.Error;
		public virtual void flush ();
		public unowned GLib.DBusConnection? get_connection ();
		[Version (since = "2.32")]
		public GLib.List<GLib.DBusConnection> get_connections ();
		public GLib.DBusInterfaceSkeletonFlags get_flags ();
		public virtual unowned GLib.DBusInterfaceInfo get_info ();
		public unowned string? get_object_path ();
		public virtual GLib.Variant get_properties ();
		public virtual GLib.DBusInterfaceVTable? get_vtable ();
		[Version (since = "2.32")]
		public bool has_connection (GLib.DBusConnection connection);
		public void set_flags (GLib.DBusInterfaceSkeletonFlags flags);
		public void unexport ();
		[Version (since = "2.32")]
		public void unexport_from_connection (GLib.DBusConnection connection);
		[NoAccessorMethod]
		public GLib.DBusInterfaceSkeletonFlags g_flags { get; set; }
		public virtual signal bool g_authorize_method (GLib.DBusMethodInvocation invocation);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_menu_model_get_type ()")]
	public class DBusMenuModel : GLib.MenuModel {
		[CCode (has_construct_function = false)]
		protected DBusMenuModel ();
		[Version (since = "2.32")]
		public static GLib.DBusMenuModel @get (GLib.DBusConnection connection, string? bus_name, string object_path);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_message_get_type ()")]
	[Version (since = "2.26")]
	public class DBusMessage : GLib.Object {
		[CCode (has_construct_function = false)]
		public DBusMessage ();
		public static ssize_t bytes_needed ([CCode (array_length_cname = "blob_len", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] blob) throws GLib.Error;
		public GLib.DBusMessage copy () throws GLib.Error;
		[CCode (has_construct_function = false)]
		public DBusMessage.from_blob ([CCode (array_length_cname = "blob_len", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] blob, GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
		public unowned string? get_arg0 ();
		[Version (since = "2.80")]
		public unowned string? get_arg0_path ();
		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);
		[CCode (array_length = false, array_null_terminated = true)]
		public 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 ();
		public unowned string? get_path ();
		public uint32 get_reply_serial ();
		public unowned string? get_sender ();
		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)]
		[PrintfFormat]
		public DBusMessage.method_error (GLib.DBusMessage method_call_message, string error_name, string error_message_format, ...);
		[CCode (has_construct_function = false)]
		public DBusMessage.method_error_literal (GLib.DBusMessage method_call_message, string error_name, string error_message);
		[CCode (has_construct_function = false)]
		public DBusMessage.method_error_valist (GLib.DBusMessage method_call_message, string error_name, string error_message_format, va_list var_args);
		[CCode (has_construct_function = false)]
		public DBusMessage.method_reply (GLib.DBusMessage method_call_message);
		public string print (uint indent = 0);
		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);
		public void set_header (GLib.DBusMessageHeaderField header_field, GLib.Variant? value);
		public void set_interface (string? value);
		public void set_member (string? value);
		public void set_message_type (GLib.DBusMessageType type);
		public void set_num_unix_fds (uint32 value);
		public void set_path (string? value);
		public void set_reply_serial (uint32 value);
		public void set_sender (string? value);
		public void set_serial (uint32 serial);
		public void set_signature (string? value);
		public void set_unix_fd_list (GLib.UnixFDList? fd_list);
		[CCode (has_construct_function = false)]
		public DBusMessage.@signal (string path, string interface_, string @signal);
		[CCode (array_length_pos = 0.5, array_length_type = "gsize")]
		public uint8[] to_blob (GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
		public bool to_gerror () throws GLib.Error;
		public bool locked { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_method_info_ref", type_id = "g_dbus_method_info_get_type ()", unref_function = "g_dbus_method_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusMethodInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusArgInfo[] in_args;
		public string name;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusArgInfo[] out_args;
		public int ref_count;
		public unowned GLib.DBusMethodInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_method_invocation_get_type ()")]
	[Version (since = "2.26")]
	public class DBusMethodInvocation : GLib.Object {
		[CCode (has_construct_function = false)]
		protected DBusMethodInvocation ();
		public unowned GLib.DBusConnection get_connection ();
		public unowned string get_interface_name ();
		public unowned GLib.DBusMessage get_message ();
		public unowned GLib.DBusMethodInfo? get_method_info ();
		public unowned string get_method_name ();
		public unowned string get_object_path ();
		public unowned GLib.Variant get_parameters ();
		[Version (since = "2.38")]
		public unowned GLib.DBusPropertyInfo? get_property_info ();
		public unowned string get_sender ();
		public void* get_user_data ();
		[DestroysInstance]
		public void return_dbus_error (string error_name, string error_message);
		[DestroysInstance]
		public void return_error (GLib.Quark domain, int code, string format, ...);
		[DestroysInstance]
		public void return_error_literal (GLib.Quark domain, int code, string message);
		[DestroysInstance]
		public void return_error_valist (GLib.Quark domain, int code, string format, va_list var_args);
		[DestroysInstance]
		public void return_gerror (GLib.Error error);
		[DestroysInstance]
		public void return_value (GLib.Variant? parameters);
		[DestroysInstance]
		[Version (since = "2.30")]
		public void return_value_with_unix_fd_list (GLib.Variant? parameters, GLib.UnixFDList? fd_list);
		[DestroysInstance]
		[Version (since = "2.30")]
		public void take_error (owned GLib.Error error);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_node_info_ref", type_id = "g_dbus_node_info_get_type ()", unref_function = "g_dbus_node_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusNodeInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusInterfaceInfo[] interfaces;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusNodeInfo[] nodes;
		public string path;
		public int ref_count;
		[CCode (has_construct_function = false)]
		public DBusNodeInfo.for_xml (string xml_data) throws GLib.Error;
		public void generate_xml (uint indent, GLib.StringBuilder string_builder);
		public unowned GLib.DBusInterfaceInfo? lookup_interface (string name);
		public unowned GLib.DBusNodeInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_client_get_type ()")]
	[Version (since = "2.30")]
	public class DBusObjectManagerClient : GLib.Object, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
		[CCode (cname = "g_dbus_object_manager_client_new", has_construct_function = false)]
		public async DBusObjectManagerClient (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "g_dbus_object_manager_client_new_for_bus", has_construct_function = false)]
		public async DBusObjectManagerClient.for_bus (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "GDBusObjectManager*")]
		public DBusObjectManagerClient.for_bus_sync (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public unowned GLib.DBusConnection get_connection ();
		public GLib.DBusObjectManagerClientFlags get_flags ();
		public unowned string get_name ();
		public string? get_name_owner ();
		[CCode (cname = "g_dbus_object_manager_client_new", finish_name = "g_dbus_object_manager_client_new_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient")]
		public static async GLib.DBusObjectManagerClient @new (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_name = "g_dbus_object_manager_client_new_for_bus_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient.for_bus")]
		public static async GLib.DBusObjectManagerClient new_for_bus (GLib.BusType bus_type, GLib.DBusObjectManagerClientFlags flags, string name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false, type = "GDBusObjectManager*")]
		public DBusObjectManagerClient.sync (GLib.DBusConnection connection, GLib.DBusObjectManagerClientFlags flags, string? name, string object_path, [CCode (delegate_target_pos = 5.33333, destroy_notify_pos = 5.66667)] owned GLib.DBusProxyTypeFunc? get_proxy_type_func, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoAccessorMethod]
		public GLib.BusType bus_type { construct; }
		public GLib.DBusConnection connection { get; construct; }
		public GLib.DBusObjectManagerClientFlags flags { get; construct; }
		[NoAccessorMethod]
		public void* get_proxy_type_destroy_notify { get; construct; }
		[NoAccessorMethod]
		public void* get_proxy_type_func { get; construct; }
		[NoAccessorMethod]
		public void* get_proxy_type_user_data { get; construct; }
		public string name { get; construct; }
		public string? name_owner { owned get; }
		[NoAccessorMethod]
		public string object_path { owned get; construct; }
		public virtual signal void interface_proxy_properties_changed (GLib.DBusObjectProxy object_proxy, GLib.DBusProxy interface_proxy, GLib.Variant changed_properties, [CCode (array_length = false, array_null_terminated = true)] string[] invalidated_properties);
		public virtual signal void interface_proxy_signal (GLib.DBusObjectProxy object_proxy, GLib.DBusProxy interface_proxy, string sender_name, string signal_name, GLib.Variant parameters);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_server_get_type ()")]
	[Version (since = "2.30")]
	public class DBusObjectManagerServer : GLib.Object, GLib.DBusObjectManager {
		[CCode (has_construct_function = false)]
		public DBusObjectManagerServer (string object_path);
		public void export (GLib.DBusObjectSkeleton object);
		public void export_uniquely (GLib.DBusObjectSkeleton object);
		public GLib.DBusConnection? get_connection ();
		[Version (since = "2.34")]
		public bool is_exported (GLib.DBusObjectSkeleton object);
		public void set_connection (GLib.DBusConnection? connection);
		public bool unexport (string object_path);
		public GLib.DBusConnection connection { owned get; set; }
		[NoAccessorMethod]
		public string object_path { owned get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_proxy_get_type ()")]
	[Version (since = "2.30")]
	public class DBusObjectProxy : GLib.Object, GLib.DBusObject {
		[CCode (has_construct_function = false)]
		public DBusObjectProxy (GLib.DBusConnection connection, string object_path);
		public unowned GLib.DBusConnection get_connection ();
		[NoAccessorMethod]
		public GLib.DBusConnection g_connection { owned get; construct; }
		[NoAccessorMethod]
		public string g_object_path { owned get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_skeleton_get_type ()")]
	[Version (since = "2.30")]
	public class DBusObjectSkeleton : GLib.Object, GLib.DBusObject {
		[CCode (has_construct_function = false)]
		public DBusObjectSkeleton (string object_path);
		public void add_interface (GLib.DBusInterfaceSkeleton interface_);
		public void flush ();
		public void remove_interface (GLib.DBusInterfaceSkeleton interface_);
		public void remove_interface_by_name (string interface_name);
		public void set_object_path (string object_path);
		[NoAccessorMethod]
		public string g_object_path { owned get; set construct; }
		public virtual signal bool authorize_method (GLib.DBusInterfaceSkeleton interface_, GLib.DBusMethodInvocation invocation);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_property_info_ref", type_id = "g_dbus_property_info_get_type ()", unref_function = "g_dbus_property_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusPropertyInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		public GLib.DBusPropertyInfoFlags flags;
		public string name;
		public int ref_count;
		public string signature;
		public unowned GLib.DBusPropertyInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_proxy_get_type ()")]
	[Version (since = "2.26")]
	public class DBusProxy : GLib.Object, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable {
		[CCode (cname = "g_dbus_proxy_new", has_construct_function = false)]
		public async DBusProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.Variant call (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.Variant call_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (async_result_pos = 2.1)]
		[Version (since = "2.30")]
		public async GLib.Variant call_with_unix_fd_list (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
		[Version (since = "2.30")]
		public GLib.Variant call_with_unix_fd_list_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, out GLib.UnixFDList? out_fd_list = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "g_dbus_proxy_new_for_bus", finish_name = "g_dbus_proxy_new_for_bus_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy.for_bus")]
		public static async GLib.DBusProxy create_for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cname = "g_dbus_proxy_new_for_bus", has_construct_function = false)]
		public async DBusProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public DBusProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.Variant? get_cached_property (string property_name);
		[CCode (array_length = false, array_null_terminated = true)]
		public string[]? get_cached_property_names ();
		public unowned GLib.DBusConnection get_connection ();
		public int get_default_timeout ();
		public GLib.DBusProxyFlags get_flags ();
		public unowned GLib.DBusInterfaceInfo? get_interface_info ();
		public unowned string get_interface_name ();
		public unowned string? get_name ();
		public string? get_name_owner ();
		public unowned string get_object_path ();
		[CCode (cname = "g_dbus_proxy_new", finish_name = "g_dbus_proxy_new_finish")]
		[Version (deprecated_since = "vala-0.36", replacement = "DBusProxy")]
		public static async GLib.DBusProxy @new (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public void set_cached_property (string property_name, GLib.Variant? value);
		public void set_default_timeout (int timeout_msec);
		public void set_interface_info (GLib.DBusInterfaceInfo? info);
		[CCode (has_construct_function = false)]
		public DBusProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoAccessorMethod]
		public GLib.BusType g_bus_type { construct; }
		[NoAccessorMethod]
		public GLib.DBusConnection g_connection { owned get; construct; }
		[NoAccessorMethod]
		public int g_default_timeout { get; set construct; }
		[NoAccessorMethod]
		public GLib.DBusProxyFlags g_flags { get; construct; }
		[NoAccessorMethod]
		public GLib.DBusInterfaceInfo g_interface_info { owned get; set; }
		[NoAccessorMethod]
		public string g_interface_name { owned get; construct; }
		[NoAccessorMethod]
		public string g_name { owned get; construct; }
		[NoAccessorMethod]
		public string g_name_owner { owned get; }
		[NoAccessorMethod]
		public string g_object_path { owned get; construct; }
		public virtual signal void g_properties_changed (GLib.Variant changed_properties, [CCode (array_length = false, array_null_terminated = true)] string[] invalidated_properties);
		public virtual signal void g_signal (string? sender_name, string signal_name, GLib.Variant parameters);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_server_get_type ()")]
	[Version (since = "2.26")]
	public class DBusServer : GLib.Object, GLib.Initable {
		[CCode (has_construct_function = false)]
		protected DBusServer ();
		public unowned string get_client_address ();
		public GLib.DBusServerFlags get_flags ();
		public unowned string get_guid ();
		public bool is_active ();
		public void start ();
		public void stop ();
		[CCode (has_construct_function = false)]
		public DBusServer.sync (string address, GLib.DBusServerFlags flags, string guid, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoAccessorMethod]
		public bool active { get; }
		[NoAccessorMethod]
		public string address { owned get; construct; }
		[NoAccessorMethod]
		public GLib.DBusAuthObserver authentication_observer { owned get; construct; }
		public string client_address { get; }
		public GLib.DBusServerFlags flags { get; construct; }
		public string guid { get; construct; }
		public signal bool new_connection (GLib.DBusConnection connection);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_signal_info_ref", type_id = "g_dbus_signal_info_get_type ()", unref_function = "g_dbus_signal_info_unref")]
	[Compact]
	[Version (since = "2.26")]
	public class DBusSignalInfo {
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusAnnotationInfo[] annotations;
		[CCode (array_length = false, array_null_terminated = true)]
		public GLib.DBusArgInfo[] args;
		public string name;
		public int ref_count;
		public unowned GLib.DBusSignalInfo @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_data_input_stream_get_type ()")]
	public class DataInputStream : GLib.BufferedInputStream, GLib.Seekable {
		[CCode (has_construct_function = false)]
		public DataInputStream (GLib.InputStream base_stream);
		public GLib.DataStreamByteOrder get_byte_order ();
		public GLib.DataStreamNewlineType get_newline_type ();
		public uint8 read_byte (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public int16 read_int16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public int32 read_int32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public int64 read_int64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (array_length = false, array_null_terminated = true)]
		public string? read_line (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.20")]
		public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError, GLib.IOError;
		[Version (since = "2.30")]
		public string? read_line_utf8 (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (cname = "g_data_input_stream_read_line_async", finish_name = "g_data_input_stream_read_line_finish_utf8")]
		public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError;
		public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (deprecated = true, deprecated_since = "2.56")]
		public string read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (deprecated = true, deprecated_since = "2.56", since = "2.20")]
		public async string read_until_async (string stop_chars, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
		[Version (since = "2.26")]
		public string read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (since = "2.26")]
		public async string read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
		public void set_byte_order (GLib.DataStreamByteOrder order);
		public void set_newline_type (GLib.DataStreamNewlineType type);
		public GLib.DataStreamByteOrder byte_order { get; set; }
		public GLib.DataStreamNewlineType newline_type { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_data_output_stream_get_type ()")]
	public class DataOutputStream : GLib.FilterOutputStream, GLib.Seekable {
		[CCode (has_construct_function = false)]
		public DataOutputStream (GLib.OutputStream base_stream);
		public GLib.DataStreamByteOrder get_byte_order ();
		public bool put_byte (uint8 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_int16 (int16 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_int32 (int32 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_int64 (int64 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_string (string str, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_uint16 (uint16 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_uint32 (uint32 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool put_uint64 (uint64 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public void set_byte_order (GLib.DataStreamByteOrder order);
		public GLib.DataStreamByteOrder byte_order { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
	[Compact]
	public class DatagramBasedSource : GLib.Source {
		[CCode (cname = "g_source_new")]
		protected DatagramBasedSource ();
		[CCode (cname = "g_source_set_callback")]
		public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.DatagramBasedSourceFunc func);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_debug_controller_dbus_get_type ()")]
	[Version (since = "2.72")]
	public class DebugControllerDBus : GLib.Object, GLib.DebugController, GLib.Initable {
		[CCode (has_construct_function = false)]
		public DebugControllerDBus (GLib.DBusConnection connection, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void stop ();
		[NoAccessorMethod]
		public GLib.DBusConnection connection { owned get; construct; }
		public virtual signal bool authorize (GLib.DBusMethodInvocation invocation);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_emblem_get_type ()")]
	public class Emblem : GLib.Object, GLib.Icon {
		[CCode (has_construct_function = false)]
		[Version (since = "2.18")]
		public Emblem (GLib.Icon icon);
		[Version (since = "2.18")]
		public unowned GLib.Icon get_icon ();
		[Version (since = "2.18")]
		public GLib.EmblemOrigin get_origin ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.18")]
		public Emblem.with_origin (GLib.Icon icon, GLib.EmblemOrigin origin);
		[Version (since = "2.18")]
		public GLib.Object icon { get; construct; }
		[Version (since = "2.18")]
		public GLib.EmblemOrigin origin { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_emblemed_icon_get_type ()")]
	public class EmblemedIcon : GLib.Object, GLib.Icon {
		[CCode (has_construct_function = false, type = "GIcon*")]
		[Version (since = "2.18")]
		public EmblemedIcon (GLib.Icon icon, GLib.Emblem? emblem);
		[Version (since = "2.18")]
		public void add_emblem (GLib.Emblem emblem);
		[Version (since = "2.28")]
		public void clear_emblems ();
		[Version (since = "2.18")]
		public unowned GLib.List<GLib.Emblem> get_emblems ();
		[Version (since = "2.18")]
		public unowned GLib.Icon get_icon ();
		[NoAccessorMethod]
		[Version (since = "2.18")]
		public GLib.Icon gicon { owned get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_file_attribute_info_list_ref", type_id = "g_file_attribute_info_list_get_type ()", unref_function = "g_file_attribute_info_list_unref")]
	[Compact]
	public class FileAttributeInfoList {
		[CCode (array_length_cname = "n_infos")]
		public GLib.FileAttributeInfo[] infos;
		public int n_infos;
		[CCode (has_construct_function = false)]
		public FileAttributeInfoList ();
		public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeInfoFlags flags);
		public GLib.FileAttributeInfoList dup ();
		public unowned GLib.FileAttributeInfo? lookup (string name);
		public unowned GLib.FileAttributeInfoList @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_file_attribute_matcher_ref", type_id = "g_file_attribute_matcher_get_type ()", unref_function = "g_file_attribute_matcher_unref")]
	[Compact]
	public class FileAttributeMatcher {
		[CCode (has_construct_function = false)]
		public FileAttributeMatcher (string attributes);
		public bool enumerate_namespace (string ns);
		public unowned string? enumerate_next ();
		public bool matches (string attribute);
		public bool matches_only (string attribute);
		public unowned GLib.FileAttributeMatcher @ref ();
		public GLib.FileAttributeMatcher? subtract (GLib.FileAttributeMatcher? subtract);
		[Version (since = "2.32")]
		public string to_string ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_enumerator_get_type ()")]
	public class FileEnumerator : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FileEnumerator ();
		public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual bool close_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.36")]
		public GLib.File get_child (GLib.FileInfo info);
		[Version (since = "2.18")]
		public unowned GLib.File get_container ();
		public bool has_pending ();
		public bool is_closed ();
		[Version (since = "2.44")]
		public bool iterate (out unowned GLib.FileInfo out_info, out unowned GLib.File out_child, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual GLib.FileInfo? next_file (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.List<GLib.FileInfo> next_files_async (int num_files, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void set_pending (bool pending);
		[NoAccessorMethod]
		public GLib.File container { construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_io_stream_get_type ()")]
	[Version (since = "2.22")]
	public class FileIOStream : GLib.IOStream, GLib.Seekable {
		[CCode (has_construct_function = false)]
		protected FileIOStream ();
		[NoWrapper]
		public virtual bool can_seek ();
		[NoWrapper]
		public virtual bool can_truncate ();
		public virtual string? get_etag ();
		public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual int64 tell ();
		[NoWrapper]
		public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_icon_get_type ()")]
	public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
		[CCode (has_construct_function = false, type = "GIcon*")]
		public FileIcon (GLib.File file);
		public unowned GLib.File get_file ();
		public GLib.File file { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_info_get_type ()")]
	public class FileInfo : GLib.Object {
		[CCode (has_construct_function = false)]
		public FileInfo ();
		public void clear_status ();
		public void copy_into (GLib.FileInfo dest_info);
		public GLib.FileInfo dup ();
		[Version (since = "2.70")]
		public GLib.DateTime? get_access_date_time ();
		public string? get_attribute_as_string (string attribute);
		public bool get_attribute_boolean (string attribute);
		public unowned string? get_attribute_byte_string (string attribute);
		public bool get_attribute_data (string attribute, out GLib.FileAttributeType type, out void* value_pp, out GLib.FileAttributeStatus status);
		[Version (since = "2.78")]
		public unowned string? get_attribute_file_path (string attribute);
		public int32 get_attribute_int32 (string attribute);
		public int64 get_attribute_int64 (string attribute);
		public unowned GLib.Object? get_attribute_object (string attribute);
		public GLib.FileAttributeStatus get_attribute_status (string attribute);
		public unowned string? get_attribute_string (string attribute);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.22")]
		public unowned string[]? get_attribute_stringv (string attribute);
		public GLib.FileAttributeType get_attribute_type (string attribute);
		public uint32 get_attribute_uint32 (string attribute);
		public uint64 get_attribute_uint64 (string attribute);
		public unowned string? get_content_type ();
		[Version (since = "2.70")]
		public GLib.DateTime? get_creation_date_time ();
		[Version (since = "2.36")]
		public GLib.DateTime? get_deletion_date ();
		public unowned string get_display_name ();
		public unowned string get_edit_name ();
		public unowned string? get_etag ();
		public GLib.FileType get_file_type ();
		public unowned GLib.Icon? get_icon ();
		public bool get_is_backup ();
		public bool get_is_hidden ();
		public bool get_is_symlink ();
		[Version (since = "2.62")]
		public GLib.DateTime? get_modification_date_time ();
		[Version (deprecated = true, deprecated_since = "2.62")]
		public GLib.TimeVal get_modification_time ();
		public unowned string get_name ();
		public int64 get_size ();
		public int32 get_sort_order ();
		[Version (since = "2.34")]
		public unowned GLib.Icon? get_symbolic_icon ();
		public unowned string? get_symlink_target ();
		public bool has_attribute (string attribute);
		[Version (since = "2.22")]
		public bool has_namespace (string name_space);
		[CCode (array_length = false, array_null_terminated = true)]
		public string[]? list_attributes (string? name_space);
		public void remove_attribute (string attribute);
		[Version (since = "2.70")]
		public void set_access_date_time (GLib.DateTime atime);
		public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p);
		public void set_attribute_boolean (string attribute, bool attr_value);
		public void set_attribute_byte_string (string attribute, string attr_value);
		[Version (since = "2.78")]
		public void set_attribute_file_path (string attribute, string attr_value);
		public void set_attribute_int32 (string attribute, int32 attr_value);
		public void set_attribute_int64 (string attribute, int64 attr_value);
		public void set_attribute_mask (GLib.FileAttributeMatcher mask);
		public void set_attribute_object (string attribute, GLib.Object attr_value);
		[Version (since = "2.22")]
		public bool set_attribute_status (string attribute, GLib.FileAttributeStatus status);
		public void set_attribute_string (string attribute, string attr_value);
		public void set_attribute_stringv (string attribute, [CCode (array_length = false, array_null_terminated = true)] string[] attr_value);
		public void set_attribute_uint32 (string attribute, uint32 attr_value);
		public void set_attribute_uint64 (string attribute, uint64 attr_value);
		public void set_content_type (string content_type);
		[Version (since = "2.70")]
		public void set_creation_date_time (GLib.DateTime creation_time);
		public void set_display_name (string display_name);
		public void set_edit_name (string edit_name);
		public void set_file_type (GLib.FileType type);
		public void set_icon (GLib.Icon icon);
		public void set_is_hidden (bool is_hidden);
		public void set_is_symlink (bool is_symlink);
		[Version (since = "2.62")]
		public void set_modification_date_time (GLib.DateTime mtime);
		[Version (deprecated = true, deprecated_since = "2.62")]
		public void set_modification_time (GLib.TimeVal mtime);
		public void set_name (string name);
		public void set_size (int64 size);
		public void set_sort_order (int32 sort_order);
		[Version (since = "2.34")]
		public void set_symbolic_icon (GLib.Icon icon);
		public void set_symlink_target (string symlink_target);
		public void unset_attribute_mask ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_input_stream_get_type ()")]
	public class FileInputStream : GLib.InputStream, GLib.Seekable {
		[CCode (has_construct_function = false)]
		protected FileInputStream ();
		[NoWrapper]
		public virtual bool can_seek ();
		public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual int64 tell ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_monitor_get_type ()")]
	public abstract class FileMonitor : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FileMonitor ();
		public virtual bool cancel ();
		public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
		public bool is_cancelled ();
		public void set_rate_limit (int limit_msecs);
		[NoAccessorMethod]
		public bool cancelled { get; }
		[Version (deprecated_since = "2.46")]
		public GLib.MainContext context { construct; }
		[NoAccessorMethod]
		public int rate_limit { get; set; }
		public virtual signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_output_stream_get_type ()")]
	public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
		[CCode (has_construct_function = false)]
		protected FileOutputStream ();
		[NoWrapper]
		public virtual bool can_seek ();
		[NoWrapper]
		public virtual bool can_truncate ();
		public virtual string? get_etag ();
		public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoWrapper]
		public virtual int64 tell ();
		[NoWrapper]
		public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_filename_completer_get_type ()")]
	public class FilenameCompleter : GLib.Object {
		[CCode (has_construct_function = false)]
		public FilenameCompleter ();
		public string? get_completion_suffix (string initial_text);
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] get_completions (string initial_text);
		public void set_dirs_only (bool dirs_only);
		public virtual signal void got_completion_data ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_filter_input_stream_get_type ()")]
	public abstract class FilterInputStream : GLib.InputStream {
		[CCode (has_construct_function = false)]
		protected FilterInputStream ();
		public unowned GLib.InputStream get_base_stream ();
		public bool get_close_base_stream ();
		public void set_close_base_stream (bool close_base);
		public GLib.InputStream base_stream { get; construct; }
		public bool close_base_stream { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_filter_output_stream_get_type ()")]
	public abstract class FilterOutputStream : GLib.OutputStream {
		[CCode (has_construct_function = false)]
		protected FilterOutputStream ();
		public unowned GLib.OutputStream get_base_stream ();
		public bool get_close_base_stream ();
		public void set_close_base_stream (bool close_base);
		public GLib.OutputStream base_stream { get; construct; }
		public bool close_base_stream { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Compact]
	public class IOExtension {
		public unowned string get_name ();
		public int get_priority ();
		public GLib.Type get_type ();
		public GLib.TypeClass ref_class ();
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Compact]
	public class IOExtensionPoint {
		[CCode (cheader_filename = "gio/gio.h", cname = "G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME")]
		[Version (since = "2.72")]
		public const string DEBUG_CONTROLLER;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME")]
		[Version (deprecated = true, deprecated_since = "2.28")]
		public const string DESKTOP_APP_INFO_LOOKUP;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MEMORY_MONITOR_EXTENSION_POINT_NAME")]
		[Version (since = "2.64")]
		public const string MEMORY_MONITOR;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
		public const string NATIVE_VOLUME_MONITOR;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_NETWORK_MONITOR_EXTENSION_POINT_NAME")]
		[Version (since = "2.30")]
		public const string NETWORK_MONITOR;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME")]
		[Version (since = "2.70")]
		public const string POWER_PROFILE_MONITOR;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_EXTENSION_POINT_NAME")]
		[Version (since = "2.26")]
		public const string PROXY;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_RESOLVER_EXTENSION_POINT_NAME")]
		public const string PROXY_RESOLVER;
		[CCode (cheader_filename = "gio/gsettingsbackend.h", cname = "G_SETTINGS_BACKEND_EXTENSION_POINT_NAME", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		public const string SETTINGS_BACKEND;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_BACKEND_EXTENSION_POINT_NAME")]
		public const string TLS_BACKEND;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VFS_EXTENSION_POINT_NAME")]
		public const string VFS;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
		public const string VOLUME_MONITOR;
		public unowned GLib.IOExtension get_extension_by_name (string name);
		public unowned GLib.List<GLib.IOExtension> get_extensions ();
		public GLib.Type get_required_type ();
		public static unowned GLib.IOExtension implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
		public static unowned GLib.IOExtensionPoint lookup (string name);
		public static unowned GLib.IOExtensionPoint register (string name);
		public void set_required_type (GLib.Type type);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_io_module_get_type ()")]
	public class IOModule : GLib.TypeModule, GLib.TypePlugin {
		[CCode (has_construct_function = false)]
		public IOModule (string filename);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
		public static GLib.List<GLib.IOModule> load_all_in_directory (string dirname);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
		[Version (since = "2.30")]
		public static GLib.List<GLib.IOModule> load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.24")]
		public static string[] query ();
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
		[Version (since = "2.24")]
		public static void scan_all_in_directory (string dirname);
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
		[Version (since = "2.30")]
		public static void scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Compact]
	[Version (since = "2.30")]
	public class IOModuleScope {
		[CCode (has_construct_function = false)]
		public IOModuleScope (GLib.IOModuleScopeFlags flags);
		public void block (string basename);
		public void free ();
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Compact]
	[Version (deprecated = true, deprecated_since = "2.36")]
	public class IOSchedulerJob {
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
		public static void cancel_all ();
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
		public static void push ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned GLib.IOSchedulerJobFunc job_func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
		public bool send_to_mainloop (owned GLib.SourceFunc func);
		public void send_to_mainloop_async (owned GLib.SourceFunc func);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_io_stream_get_type ()")]
	[Version (since = "2.22")]
	public abstract class IOStream : GLib.Object {
		[CCode (has_construct_function = false)]
		protected IOStream ();
		public void clear_pending ();
		[CCode (vfunc_name = "close_fn")]
		public virtual bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual unowned GLib.InputStream get_input_stream ();
		public virtual unowned GLib.OutputStream get_output_stream ();
		public bool has_pending ();
		public bool is_closed ();
		public bool set_pending () throws GLib.Error;
		[CCode (finish_instance = false)]
		[Version (since = "2.28")]
		public async bool splice_async (GLib.IOStream stream2, GLib.IOStreamSpliceFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[NoAccessorMethod]
		public bool closed { get; }
		public abstract GLib.InputStream input_stream { get; }
		public abstract GLib.OutputStream output_stream { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Compact]
	public class IOStreamAdapter {
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_address_get_type ()")]
	public class InetAddress : GLib.Object {
		[CCode (has_construct_function = false)]
		protected InetAddress ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public InetAddress.any (GLib.SocketFamily family);
		[Version (since = "2.30")]
		public bool equal (GLib.InetAddress other_address);
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public InetAddress.from_bytes ([CCode (array_length = false)] uint8[] bytes, GLib.SocketFamily family);
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public InetAddress.from_string (string string);
		[Version (since = "2.22")]
		public GLib.SocketFamily get_family ();
		[Version (since = "2.22")]
		public bool get_is_any ();
		[Version (since = "2.22")]
		public bool get_is_link_local ();
		[Version (since = "2.22")]
		public bool get_is_loopback ();
		[Version (since = "2.22")]
		public bool get_is_mc_global ();
		[Version (since = "2.22")]
		public bool get_is_mc_link_local ();
		[Version (since = "2.22")]
		public bool get_is_mc_node_local ();
		[Version (since = "2.22")]
		public bool get_is_mc_org_local ();
		[Version (since = "2.22")]
		public bool get_is_mc_site_local ();
		[Version (since = "2.22")]
		public bool get_is_multicast ();
		[Version (since = "2.22")]
		public bool get_is_site_local ();
		[Version (since = "2.22")]
		public size_t get_native_size ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public InetAddress.loopback (GLib.SocketFamily family);
		[CCode (array_length = false)]
		[Version (since = "2.22")]
		public virtual unowned uint8[] to_bytes ();
		[Version (since = "2.22")]
		public virtual string to_string ();
		[NoAccessorMethod]
		[Version (since = "2.22")]
		public void* bytes { get; construct; }
		[Version (since = "2.22")]
		public GLib.SocketFamily family { get; construct; }
		[Version (since = "2.22")]
		public bool is_any { get; }
		[Version (since = "2.22")]
		public bool is_link_local { get; }
		[Version (since = "2.22")]
		public bool is_loopback { get; }
		[Version (since = "2.22")]
		public bool is_mc_global { get; }
		[Version (since = "2.22")]
		public bool is_mc_link_local { get; }
		[Version (since = "2.22")]
		public bool is_mc_node_local { get; }
		[Version (since = "2.22")]
		public bool is_mc_org_local { get; }
		[Version (since = "2.22")]
		public bool is_mc_site_local { get; }
		[Version (since = "2.22")]
		public bool is_multicast { get; }
		[Version (since = "2.22")]
		public bool is_site_local { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_address_mask_get_type ()")]
	[Version (since = "2.32")]
	public class InetAddressMask : GLib.Object, GLib.Initable {
		[CCode (has_construct_function = false)]
		public InetAddressMask (GLib.InetAddress addr, uint length) throws GLib.Error;
		public bool equal (GLib.InetAddressMask mask2);
		[CCode (has_construct_function = false)]
		public InetAddressMask.from_string (string mask_string) throws GLib.Error;
		public unowned GLib.InetAddress get_address ();
		public GLib.SocketFamily get_family ();
		public uint get_length ();
		public bool matches (GLib.InetAddress address);
		public string to_string ();
		[NoAccessorMethod]
		public GLib.InetAddress address { owned get; set; }
		public GLib.SocketFamily family { get; }
		[NoAccessorMethod]
		public uint length { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_socket_address_get_type ()")]
	public class InetSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
		[CCode (has_construct_function = false, type = "GSocketAddress*")]
		[Version (since = "2.22")]
		public InetSocketAddress (GLib.InetAddress address, uint16 port);
		[CCode (has_construct_function = false, type = "GSocketAddress*")]
		[Version (since = "2.40")]
		public InetSocketAddress.from_string (string address, uint port);
		[Version (since = "2.22")]
		public unowned GLib.InetAddress get_address ();
		[Version (since = "2.32")]
		public uint32 get_flowinfo ();
		[Version (since = "2.22")]
		public uint16 get_port ();
		[Version (since = "2.32")]
		public uint32 get_scope_id ();
		[Version (since = "2.22")]
		public GLib.InetAddress address { get; construct; }
		[Version (since = "2.32")]
		public uint flowinfo { get; construct; }
		[Version (since = "2.22")]
		public uint port { get; construct; }
		[Version (since = "2.32")]
		public uint scope_id { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_input_stream_get_type ()")]
	public abstract class InputStream : GLib.Object {
		[CCode (has_construct_function = false)]
		protected InputStream ();
		public void clear_pending ();
		[CCode (vfunc_name = "close_fn")]
		public abstract bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool has_pending ();
		public bool is_closed ();
		[CCode (vfunc_name = "read_fn")]
		public abstract ssize_t read ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool read_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, out size_t bytes_read, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (since = "2.44")]
		public async bool read_all_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, int io_priority, GLib.Cancellable? cancellable, out size_t bytes_read) throws GLib.Error;
		public virtual async ssize_t read_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (since = "2.34")]
		public GLib.Bytes read_bytes (size_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.34")]
		public async GLib.Bytes read_bytes_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_pending () throws GLib.Error;
		public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual async ssize_t skip_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_list_store_get_type ()")]
	public class ListStore : GLib.Object, GLib.ListModel {
		[CCode (has_construct_function = false)]
		[Version (since = "2.44")]
		public ListStore (GLib.Type item_type);
		[Version (since = "2.44")]
		public void append (GLib.Object item);
		[Version (since = "2.64")]
		public bool find (GLib.Object item, out uint position);
		[Version (since = "2.64")]
		public bool find_with_equal_func (GLib.Object? item, GLib.EqualFunc<GLib.Object> equal_func, out uint position);
		[Version (since = "2.74")]
		public bool find_with_equal_func_full (GLib.Object? item, [CCode (delegate_target_pos = 2.5)] GLib.EqualFuncFull<GLib.Object> equal_func, out uint position);
		[Version (since = "2.44")]
		public void insert (uint position, GLib.Object item);
		[Version (since = "2.44")]
		public uint insert_sorted (GLib.Object item, GLib.CompareDataFunc<GLib.Object> compare_func);
		[Version (since = "2.44")]
		public void remove (uint position);
		[Version (since = "2.44")]
		public void remove_all ();
		[Version (since = "2.46")]
		public void sort (GLib.CompareDataFunc<GLib.Object> compare_func);
		[Version (since = "2.44")]
		public void splice (uint position, uint n_removals, [CCode (array_length_cname = "n_additions", array_length_pos = 3.1, array_length_type = "guint")] GLib.Object[] additions);
		[NoAccessorMethod]
		[Version (since = "2.44")]
		public GLib.Type item_type { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.74")]
		public uint n_items { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_input_stream_get_type ()")]
	public class MemoryInputStream : GLib.InputStream, GLib.PollableInputStream, GLib.Seekable {
		[CCode (has_construct_function = false, type = "GInputStream*")]
		public MemoryInputStream ();
		[Version (since = "2.34")]
		public void add_bytes (GLib.Bytes bytes);
		public void add_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy = GLib.g_free);
		[CCode (has_construct_function = false, type = "GInputStream*")]
		[Version (since = "2.34")]
		public MemoryInputStream.from_bytes (GLib.Bytes bytes);
		[CCode (has_construct_function = false, type = "GInputStream*")]
		public MemoryInputStream.from_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy = GLib.g_free);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_output_stream_get_type ()")]
	public class MemoryOutputStream : GLib.OutputStream, GLib.PollableOutputStream, GLib.Seekable {
		[CCode (has_construct_function = false, type = "GOutputStream*")]
		public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function = GLib.g_realloc, GLib.DestroyNotify? destroy_function = GLib.g_free);
		[CCode (cname = "g_memory_output_stream_new", has_construct_function = false, type = "GOutputStream*")]
		public MemoryOutputStream.from_data (void* data, size_t size, GLib.ReallocFunc? realloc_function = null, GLib.DestroyNotify? destroy_function = null);
		[CCode (array_length = false)]
		public unowned uint8[] get_data ();
		[Version (since = "2.18")]
		public size_t get_data_size ();
		public size_t get_size ();
		[CCode (has_construct_function = false, type = "GOutputStream*")]
		[Version (since = "2.36")]
		public MemoryOutputStream.resizable ();
		[Version (since = "2.34")]
		public GLib.Bytes steal_as_bytes ();
		[CCode (array_length = false)]
		[Version (since = "2.26")]
		public uint8[] steal_data ();
		[CCode (cname = "vala_g_memory_output_stream_with_data")]
		public static GLib.MemoryOutputStream with_data ([CCode (array_length_type = "gsize")] uint8[] data) {
			return new GLib.MemoryOutputStream.from_data (data, data.length, null, null);
		}
		[CCode (cname = "vala_g_memory_output_stream_with_owned_data")]
		public static GLib.MemoryOutputStream with_owned_data ([CCode (array_length_type = "gsize")] owned uint8[] data) {
			size_t size = data.length;
			return new GLib.MemoryOutputStream.from_data ((owned) data, size, GLib.g_realloc, GLib.g_free);
		}
		[Version (since = "2.24")]
		public void* data { get; construct; }
		[Version (since = "2.24")]
		public ulong data_size { get; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public GLib.DestroyNotify? destroy_function { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public GLib.ReallocFunc? realloc_function { get; construct; }
		[Version (since = "2.24")]
		public ulong size { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_get_type ()")]
	[Version (since = "2.32")]
	public class Menu : GLib.MenuModel {
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION")]
		public const string ATTRIBUTE_ACTION;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION_NAMESPACE")]
		[Version (since = "2.36")]
		public const string ATTRIBUTE_ACTION_NAMESPACE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ICON")]
		[Version (since = "2.38")]
		public const string ATTRIBUTE_ICON;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_LABEL")]
		public const string ATTRIBUTE_LABEL;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_TARGET")]
		public const string ATTRIBUTE_TARGET;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_EXPORTER_MAX_SECTION_SIZE")]
		[Version (since = "2.76")]
		public const int EXPORTER_MAX_SECTION_SIZE;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_LINK_SECTION")]
		public const string LINK_SECTION;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_LINK_SUBMENU")]
		public const string LINK_SUBMENU;
		[CCode (has_construct_function = false)]
		public Menu ();
		public void append (string? label, string? detailed_action);
		public void append_item (GLib.MenuItem item);
		public void append_section (string? label, GLib.MenuModel section);
		public void append_submenu (string? label, GLib.MenuModel submenu);
		public void freeze ();
		public void insert (int position, string? label, string? detailed_action);
		public void insert_item (int position, GLib.MenuItem item);
		public void insert_section (int position, string? label, GLib.MenuModel section);
		public void insert_submenu (int position, string? label, GLib.MenuModel submenu);
		public void prepend (string? label, string? detailed_action);
		public void prepend_item (GLib.MenuItem item);
		public void prepend_section (string? label, GLib.MenuModel section);
		public void prepend_submenu (string? label, GLib.MenuModel submenu);
		public void remove (int position);
		[Version (since = "2.38")]
		public void remove_all ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_attribute_iter_get_type ()")]
	[Version (since = "2.32")]
	public abstract class MenuAttributeIter : GLib.Object {
		[CCode (has_construct_function = false)]
		protected MenuAttributeIter ();
		public unowned string get_name ();
		public virtual bool get_next (out unowned string out_name, out GLib.Variant value);
		public GLib.Variant get_value ();
		public bool next ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_item_get_type ()")]
	[Version (since = "2.32")]
	public class MenuItem : GLib.Object {
		[CCode (has_construct_function = false)]
		public MenuItem (string? label, string? detailed_action);
		[CCode (has_construct_function = false)]
		[Version (since = "2.34")]
		public MenuItem.from_model (GLib.MenuModel model, int item_index);
		[Version (since = "2.34")]
		public bool get_attribute (string attribute, string format_string, ...);
		[Version (since = "2.34")]
		public GLib.Variant? get_attribute_value (string attribute, GLib.VariantType? expected_type);
		[Version (since = "2.34")]
		public GLib.MenuModel? get_link (string link);
		[CCode (has_construct_function = false)]
		public MenuItem.section (string? label, GLib.MenuModel section);
		public void set_action_and_target (string? action, string? format_string, ...);
		public void set_action_and_target_value (string? action, GLib.Variant? target_value);
		public void set_attribute (string attribute, string? format_string, ...);
		public void set_attribute_value (string attribute, GLib.Variant? value);
		public void set_detailed_action (string detailed_action);
		[Version (since = "2.38")]
		public void set_icon (GLib.Icon icon);
		public void set_label (string? label);
		public void set_link (string link, GLib.MenuModel? model);
		public void set_section (GLib.MenuModel? section);
		public void set_submenu (GLib.MenuModel? submenu);
		[CCode (has_construct_function = false)]
		public MenuItem.submenu (string? label, GLib.MenuModel submenu);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_link_iter_get_type ()")]
	[Version (since = "2.32")]
	public abstract class MenuLinkIter : GLib.Object {
		[CCode (has_construct_function = false)]
		protected MenuLinkIter ();
		public unowned string get_name ();
		public virtual bool get_next (out unowned string out_link, out GLib.MenuModel value);
		public GLib.MenuModel get_value ();
		public bool next ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_model_get_type ()")]
	[Version (since = "2.32")]
	public abstract class MenuModel : GLib.Object {
		[CCode (has_construct_function = false)]
		protected MenuModel ();
		public bool get_item_attribute (int item_index, string attribute, string format_string, ...);
		public virtual GLib.Variant? get_item_attribute_value (int item_index, string attribute, GLib.VariantType? expected_type);
		[NoWrapper]
		public virtual void get_item_attributes (int item_index, [CCode (type = "GHashTable**")] out GLib.HashTable<string,GLib.Variant>? attributes);
		public virtual GLib.MenuModel? get_item_link (int item_index, string link);
		[NoWrapper]
		public virtual void get_item_links (int item_index, out GLib.HashTable<string,GLib.MenuModel> links);
		public virtual int get_n_items ();
		public virtual bool is_mutable ();
		public virtual GLib.MenuAttributeIter iterate_item_attributes (int item_index);
		public virtual GLib.MenuLinkIter iterate_item_links (int item_index);
		[HasEmitter]
		public signal void items_changed (int position, int removed, int added);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_mount_operation_get_type ()")]
	public class MountOperation : GLib.Object {
		[CCode (has_construct_function = false)]
		public MountOperation ();
		public bool get_anonymous ();
		public int get_choice ();
		public unowned string? get_domain ();
		[Version (since = "2.58")]
		public bool get_is_tcrypt_hidden_volume ();
		[Version (since = "2.58")]
		public bool get_is_tcrypt_system_volume ();
		public unowned string? get_password ();
		public GLib.PasswordSave get_password_save ();
		[Version (since = "2.58")]
		public uint get_pim ();
		public unowned string? get_username ();
		public void set_anonymous (bool anonymous);
		public void set_choice (int choice);
		public void set_domain (string? domain);
		[Version (since = "2.58")]
		public void set_is_tcrypt_hidden_volume (bool hidden_volume);
		[Version (since = "2.58")]
		public void set_is_tcrypt_system_volume (bool system_volume);
		public void set_password (string? password);
		public void set_password_save (GLib.PasswordSave save);
		[Version (since = "2.58")]
		public void set_pim (uint pim);
		public void set_username (string? username);
		public bool anonymous { get; set; }
		public int choice { get; set; }
		public string domain { get; set; }
		[Version (since = "2.58")]
		public bool is_tcrypt_hidden_volume { get; set; }
		[Version (since = "2.58")]
		public bool is_tcrypt_system_volume { get; set; }
		public string password { get; set; }
		public GLib.PasswordSave password_save { get; set; }
		[Version (since = "2.58")]
		public uint pim { get; set; }
		public string username { get; set; }
		[Version (since = "2.20")]
		public virtual signal void aborted ();
		public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
		public virtual signal void ask_question (string message, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
		[HasEmitter]
		public virtual signal void reply (GLib.MountOperationResult result);
		[Version (since = "2.22")]
		public virtual signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
		[Version (since = "2.34")]
		public virtual signal void show_unmount_progress (string message, int64 time_left, int64 bytes_left);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_native_socket_address_get_type ()")]
	[Version (since = "2.46")]
	public class NativeSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
		[CCode (has_construct_function = false, type = "GSocketAddress*")]
		public NativeSocketAddress (void* native, size_t len);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_native_volume_monitor_get_type ()")]
	public abstract class NativeVolumeMonitor : GLib.VolumeMonitor {
		[CCode (has_construct_function = false)]
		protected NativeVolumeMonitor ();
		[NoWrapper]
		public abstract GLib.Mount get_mount_for_mount_path (string mount_path, GLib.Cancellable? cancellable = null);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_network_address_get_type ()")]
	public class NetworkAddress : GLib.Object, GLib.SocketConnectable {
		[CCode (has_construct_function = false, type = "GSocketConnectable*")]
		[Version (since = "2.22")]
		public NetworkAddress (string hostname, uint16 port);
		[Version (since = "2.22")]
		public unowned string get_hostname ();
		[Version (since = "2.22")]
		public uint16 get_port ();
		[Version (since = "2.26")]
		public unowned string? get_scheme ();
		[CCode (has_construct_function = false, type = "GSocketConnectable*")]
		[Version (since = "2.44")]
		public NetworkAddress.loopback (uint16 port);
		[Version (since = "2.22")]
		public static GLib.NetworkAddress parse (string host_and_port, uint16 default_port) throws GLib.Error;
		[Version (since = "2.26")]
		public static GLib.NetworkAddress parse_uri (string uri, uint16 default_port) throws GLib.Error;
		[Version (since = "2.22")]
		public string hostname { get; construct; }
		[Version (since = "2.22")]
		public uint port { get; construct; }
		[Version (since = "2.22")]
		public string scheme { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_network_service_get_type ()")]
	public class NetworkService : GLib.Object, GLib.SocketConnectable {
		[CCode (has_construct_function = false, type = "GSocketConnectable*")]
		[Version (since = "2.22")]
		public NetworkService (string service, string protocol, string domain);
		[Version (since = "2.22")]
		public unowned string get_domain ();
		[Version (since = "2.22")]
		public unowned string get_protocol ();
		[Version (since = "2.26")]
		public unowned string get_scheme ();
		[Version (since = "2.22")]
		public unowned string get_service ();
		[Version (since = "2.26")]
		public void set_scheme (string scheme);
		[Version (since = "2.22")]
		public string domain { get; construct; }
		[Version (since = "2.22")]
		public string protocol { get; construct; }
		[Version (since = "2.22")]
		public string scheme { get; set; }
		[Version (since = "2.22")]
		public string service { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_notification_get_type ()")]
	[Version (since = "2.40")]
	public class Notification : GLib.Object {
		[CCode (has_construct_function = false)]
		public Notification (string title);
		public void add_button (string label, string detailed_action);
		public void add_button_with_target (string label, string action, string? target_format, ...);
		public void add_button_with_target_value (string label, string action, GLib.Variant? target);
		public void set_body (string? body);
		[Version (since = "2.70")]
		public void set_category (string? category);
		public void set_default_action (string detailed_action);
		public void set_default_action_and_target (string action, string? target_format, ...);
		public void set_default_action_and_target_value (string action, GLib.Variant? target);
		public void set_icon (GLib.Icon icon);
		public void set_priority (GLib.NotificationPriority priority);
		public void set_title (string title);
		[Version (deprecated = true, deprecated_since = "2.42", since = "2.40")]
		public void set_urgent (bool urgent);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_output_stream_get_type ()")]
	public abstract class OutputStream : GLib.Object {
		[CCode (has_construct_function = false)]
		protected OutputStream ();
		public void clear_pending ();
		[CCode (vfunc_name = "close_fn")]
		public abstract bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual bool flush (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async bool flush_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool has_pending ();
		public bool is_closed ();
		[Version (since = "2.24")]
		public bool is_closing ();
		[CCode (error_pos = 2.8, sentinel = "")]
		[Version (since = "2.40")]
		public bool printf (out size_t bytes_written, GLib.Cancellable? cancellable, string format, ...) throws GLib.Error;
		public bool set_pending () throws GLib.Error;
		public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public virtual async ssize_t splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[CCode (error_pos = 2.8)]
		[Version (since = "2.40")]
		public bool vprintf (out size_t bytes_written, GLib.Cancellable? cancellable, string format, va_list args) throws GLib.Error;
		[CCode (vfunc_name = "write_fn")]
		public abstract ssize_t write ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool write_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		[Version (since = "2.44")]
		public async bool write_all_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, int io_priority, GLib.Cancellable? cancellable, out size_t bytes_written) throws GLib.Error;
		public virtual async ssize_t write_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public ssize_t write_bytes (GLib.Bytes bytes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async ssize_t write_bytes_async (GLib.Bytes bytes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "writev_fn")]
		[Version (since = "2.60")]
		public virtual bool writev ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public bool writev_all ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public async bool writev_all_async ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t bytes_written) throws GLib.Error;
		[Version (since = "2.60")]
		public virtual async bool writev_async ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t bytes_written) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_permission_get_type ()")]
	public abstract class Permission : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Permission ();
		[Version (since = "2.26")]
		public virtual bool acquire (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public virtual async bool acquire_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public bool get_allowed ();
		[Version (since = "2.26")]
		public bool get_can_acquire ();
		[Version (since = "2.26")]
		public bool get_can_release ();
		[Version (since = "2.26")]
		public void impl_update (bool allowed, bool can_acquire, bool can_release);
		[Version (since = "2.26")]
		public virtual bool release (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public virtual async bool release_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool allowed { get; }
		public bool can_acquire { get; }
		public bool can_release { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
	[Compact]
	public class PollableSource : GLib.Source {
		[CCode (cheader_filename = "gio/gio.h", has_construct_function = false)]
		[Version (since = "2.28")]
		public PollableSource (GLib.Object pollable_stream);
		[CCode (cheader_filename = "gio/gio.h", has_construct_function = false)]
		[Version (since = "2.34")]
		public PollableSource.full (GLib.Object pollable_stream, GLib.Source? child_source = null, GLib.Cancellable? cancellable = null);
		[CCode (cname = "g_source_set_callback")]
		public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.PollableSourceFunc func);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_property_action_get_type ()")]
	[Version (since = "2.38")]
	public class PropertyAction : GLib.Object, GLib.Action {
		[CCode (has_construct_function = false)]
		public PropertyAction (string name, GLib.Object object, string property_name);
		[NoAccessorMethod]
		[Version (since = "2.46")]
		public bool invert_boolean { get; construct; }
		[NoAccessorMethod]
		public GLib.Object object { construct; }
		[NoAccessorMethod]
		public string property_name { construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_get_type ()")]
	[Version (since = "2.26")]
	public class ProxyAddress : GLib.InetSocketAddress, GLib.SocketConnectable {
		[CCode (has_construct_function = false, type = "GSocketAddress*")]
		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 ();
		[Version (since = "2.34")]
		public unowned string get_destination_protocol ();
		public unowned string? get_password ();
		public unowned string get_protocol ();
		[Version (since = "2.34")]
		public unowned string? get_uri ();
		public unowned string? get_username ();
		public string destination_hostname { get; construct; }
		public uint destination_port { get; construct; }
		[Version (since = "2.34")]
		public string destination_protocol { get; construct; }
		public string password { get; construct; }
		public string protocol { get; construct; }
		[Version (since = "2.34")]
		public string uri { get; construct; }
		public string username { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_enumerator_get_type ()")]
	public class ProxyAddressEnumerator : GLib.SocketAddressEnumerator {
		[CCode (has_construct_function = false)]
		protected ProxyAddressEnumerator ();
		[NoAccessorMethod]
		public GLib.SocketConnectable connectable { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.38")]
		public uint default_port { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.36")]
		public GLib.ProxyResolver proxy_resolver { owned get; set construct; }
		[NoAccessorMethod]
		public string uri { owned get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_resolver_get_type ()")]
	public abstract class Resolver : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Resolver ();
		[Version (since = "2.22")]
		public static GLib.Resolver get_default ();
		[Version (since = "2.78")]
		public uint get_timeout ();
		[Version (since = "2.22")]
		public virtual string lookup_by_address (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual async string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public virtual GLib.List<GLib.InetAddress> lookup_by_name_with_flags (string hostname, GLib.ResolverNameLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public virtual async GLib.List<GLib.InetAddress> lookup_by_name_with_flags_async (string hostname, GLib.ResolverNameLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.34")]
		public virtual GLib.List<GLib.Variant> lookup_records (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.34")]
		public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "lookup_service")]
		[NoWrapper]
		public virtual GLib.List<GLib.SrvTarget> lookup_service_fn (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (finish_name = "g_resolver_lookup_service_finish", vfunc_name = "lookup_service_async")]
		[NoWrapper]
		public virtual async GLib.List<GLib.SrvTarget> lookup_service_fn_async (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public void set_default ();
		[Version (since = "2.78")]
		public void set_timeout (uint timeout_ms);
		[Version (since = "2.78")]
		public uint timeout { get; set; }
		public virtual signal void reload ();
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_resource_ref", type_id = "g_resource_get_type ()", unref_function = "g_resource_unref")]
	[Compact]
	[Version (since = "2.32")]
	public class Resource {
		[CCode (cname = "g_resources_register")]
		[Version (replacement = "resources_register", since = "2.32")]
		public void _register ();
		[CCode (cname = "g_resources_unregister")]
		[Version (replacement = "resources_unregister", since = "2.32")]
		public void _unregister ();
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public Resource.from_data (GLib.Bytes data) throws GLib.Error;
		public bool get_info (string path, GLib.ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws GLib.Error;
		public static GLib.Resource load (string filename) throws GLib.Error;
		public GLib.Bytes lookup_data (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
		public GLib.InputStream open_stream (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
		public unowned GLib.Resource @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_settings_get_type ()")]
	public class Settings : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Settings (string schema_id);
		public void apply ();
		[Version (since = "2.26")]
		public void bind (string key, GLib.Object object, string property, GLib.SettingsBindFlags flags);
		public void bind_with_mapping (string key, GLib.Object object, string property, GLib.SettingsBindFlags flags, GLib.SettingsBindGetMappingShared get_mapping, GLib.SettingsBindSetMappingShared set_mapping, void* user_data, GLib.DestroyNotify? notify);
		[Version (since = "2.26")]
		public void bind_writable (string key, GLib.Object object, string property, bool inverted);
		[Version (since = "2.32")]
		public GLib.Action create_action (string key);
		[Version (since = "2.26")]
		public void delay ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.32")]
		public Settings.full (GLib.SettingsSchema schema, GLib.SettingsBackend? backend, string? path);
		[CCode (sentinel = "")]
		[Version (since = "2.26")]
		public void @get (string key, string format, ...);
		[Version (since = "2.26")]
		public bool get_boolean (string key);
		[Version (since = "2.26")]
		public GLib.Settings get_child (string name);
		[Version (since = "2.40")]
		public GLib.Variant? get_default_value (string key);
		[Version (since = "2.26")]
		public double get_double (string key);
		[Version (since = "2.26")]
		public int get_enum (string key);
		[Version (since = "2.26")]
		public uint get_flags (string key);
		[Version (since = "2.26")]
		public bool get_has_unapplied ();
		[Version (since = "2.26")]
		public int get_int (string key);
		[Version (since = "2.50")]
		public int64 get_int64 (string key);
		public void* get_mapped (string key, GLib.SettingsGetMapping mapping);
		[Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
		public GLib.Variant get_range (string key);
		[Version (since = "2.26")]
		public string get_string (string key);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.26")]
		public string[] get_strv (string key);
		[Version (since = "2.30")]
		public uint get_uint (string key);
		[Version (since = "2.50")]
		public uint64 get_uint64 (string key);
		[Version (since = "2.40")]
		public GLib.Variant? get_user_value (string key);
		[Version (since = "2.26")]
		public GLib.Variant get_value (string key);
		[Version (since = "2.26")]
		public bool is_writable (string name);
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] list_children ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (deprecated = true, deprecated_since = "2.46")]
		public string[] list_keys ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
		public static unowned string[] list_relocatable_schemas ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (deprecated = true, deprecated_since = "2.40", since = "2.26")]
		public static unowned string[] list_schemas ();
		[Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
		public bool range_check (string key, GLib.Variant value);
		public void reset (string key);
		public void revert ();
		[CCode (sentinel = "")]
		[Version (since = "2.26")]
		public bool @set (string key, string format, ...);
		[Version (since = "2.26")]
		public bool set_boolean (string key, bool value);
		[Version (since = "2.26")]
		public bool set_double (string key, double value);
		public bool set_enum (string key, int value);
		public bool set_flags (string key, uint value);
		[Version (since = "2.26")]
		public bool set_int (string key, int value);
		[Version (since = "2.50")]
		public bool set_int64 (string key, int64 value);
		[Version (since = "2.26")]
		public bool set_string (string key, string value);
		[Version (since = "2.26")]
		public bool set_strv (string key, [CCode (array_length = false, array_null_terminated = true)] string[]? value);
		[Version (since = "2.30")]
		public bool set_uint (string key, uint value);
		[Version (since = "2.50")]
		public bool set_uint64 (string key, uint64 value);
		[Version (since = "2.26")]
		public bool set_value (string key, GLib.Variant value);
		public static void sync ();
		[Version (since = "2.26")]
		public static void unbind (GLib.Object object, string property);
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Settings.with_backend (string schema_id, GLib.SettingsBackend backend);
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Settings.with_backend_and_path (string schema_id, GLib.SettingsBackend backend, string path);
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Settings.with_path (string schema_id, string path);
		[NoAccessorMethod]
		public GLib.SettingsBackend backend { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.28")]
		public bool delay_apply { get; }
		public bool has_unapplied { get; }
		[NoAccessorMethod]
		public string path { owned get; construct; }
		[NoAccessorMethod]
		[Version (deprecated = true, deprecated_since = "2.32")]
		public string schema { owned get; construct; }
		[NoAccessorMethod]
		public string schema_id { owned get; construct; }
		[NoAccessorMethod]
		public GLib.SettingsSchema settings_schema { owned get; construct; }
		public virtual signal bool change_event ([CCode (array_length_cname = "n_keys", array_length_pos = 1.1)] GLib.Quark[]? keys);
		public virtual signal void changed (string key);
		public virtual signal bool writable_change_event (uint key);
		public virtual signal void writable_changed (string key);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_settings_backend_get_type ()")]
	public abstract class SettingsBackend : GLib.Object {
		[CCode (has_construct_function = false)]
		protected SettingsBackend ();
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void changed (string key, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void changed_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> tree, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public static void flatten_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> tree, out string path, [CCode (array_length = false, array_null_terminated = true)] out (unowned string)[] keys, [CCode (array_length = false, array_null_terminated = true)] out (unowned GLib.Variant)[] values);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.28")]
		public static GLib.SettingsBackend get_default ();
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual GLib.Permission get_permission (string path);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual bool get_writable (string key);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", cname = "g_keyfile_settings_backend_new", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		public static GLib.SettingsBackend keyfile_settings_backend_new (string filename, string root_path, string? root_group);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void keys_changed (string path, [CCode (array_length = false, array_null_terminated = true)] string[] items, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", cname = "g_memory_settings_backend_new", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.28")]
		public static GLib.SettingsBackend memory_settings_backend_new ();
		[CCode (cheader_filename = "gio/gsettingsbackend.h", cname = "g_null_settings_backend_new", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.28")]
		public static GLib.SettingsBackend null_settings_backend_new ();
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void path_changed (string path, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void path_writable_changed (string path);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual GLib.Variant read (string key, GLib.VariantType expected_type, bool default_value);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual GLib.Variant read_user_value (string key, GLib.VariantType expected_type);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual void reset (string key, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual void subscribe (string name);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual void sync ();
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual void unsubscribe (string name);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[Version (since = "2.26")]
		public void writable_changed (string key);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual bool write (string key, GLib.Variant value, void* origin_tag);
		[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = "G_SETTINGS_ENABLE_BACKEND")]
		[NoWrapper]
		public virtual bool write_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> tree, void* origin_tag);
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_ref", type_id = "g_settings_schema_get_type ()", unref_function = "g_settings_schema_unref")]
	[Compact]
	[Version (since = "2.32")]
	public class SettingsSchema {
		public unowned string get_id ();
		[Version (since = "2.40")]
		public GLib.SettingsSchemaKey get_key (string name);
		public unowned string? get_path ();
		[Version (since = "2.40")]
		public bool has_key (string name);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.44")]
		public string[] list_children ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.46")]
		public string[] list_keys ();
		public unowned GLib.SettingsSchema @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_key_ref", type_id = "g_settings_schema_key_get_type ()", unref_function = "g_settings_schema_key_unref")]
	[Compact]
	public class SettingsSchemaKey {
		[Version (since = "2.40")]
		public GLib.Variant get_default_value ();
		[Version (since = "2.34")]
		public unowned string? get_description ();
		[Version (since = "2.44")]
		public unowned string get_name ();
		[Version (since = "2.40")]
		public GLib.Variant get_range ();
		[Version (since = "2.34")]
		public unowned string? get_summary ();
		[Version (since = "2.40")]
		public unowned GLib.VariantType get_value_type ();
		[Version (since = "2.40")]
		public bool range_check (GLib.Variant value);
		[Version (since = "2.40")]
		public unowned GLib.SettingsSchemaKey @ref ();
		[Version (since = "2.40")]
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_source_ref", type_id = "g_settings_schema_source_get_type ()", unref_function = "g_settings_schema_source_unref")]
	[Compact]
	[Version (since = "2.32")]
	public class SettingsSchemaSource {
		[CCode (has_construct_function = false)]
		public SettingsSchemaSource.from_directory (string directory, GLib.SettingsSchemaSource? parent, bool trusted) throws GLib.Error;
		public static unowned GLib.SettingsSchemaSource? get_default ();
		[Version (since = "2.40")]
		public void list_schemas (bool recursive, [CCode (array_length = false, array_null_terminated = true)] out string[] non_relocatable, [CCode (array_length = false, array_null_terminated = true)] out string[] relocatable);
		public GLib.SettingsSchema? lookup (string schema_id, bool recursive);
		public unowned GLib.SettingsSchemaSource @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_get_type ()")]
	public class SimpleAction : GLib.Object, GLib.Action {
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public SimpleAction (string name, GLib.VariantType? parameter_type);
		[Version (since = "2.28")]
		public void set_enabled (bool enabled);
		[Version (since = "2.30")]
		public void set_state (GLib.Variant value);
		[Version (since = "2.44")]
		public void set_state_hint (GLib.Variant? state_hint);
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public SimpleAction.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
		[Version (since = "2.28")]
		public signal void activate (GLib.Variant? parameter);
		[Version (since = "2.30")]
		public signal void change_state (GLib.Variant? value);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_group_get_type ()")]
	[Version (since = "2.28")]
	public class SimpleActionGroup : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
		[CCode (has_construct_function = false)]
		public SimpleActionGroup ();
		[Version (deprecated = true, deprecated_since = "2.38", since = "2.30")]
		public void add_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
		[Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
		public void insert (GLib.Action action);
		[Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
		public unowned GLib.Action lookup (string action_name);
		[Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
		public void remove (string action_name);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_async_result_get_type ()")]
	public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
		[CCode (has_construct_function = false)]
		public SimpleAsyncResult (GLib.Object? source_object, void* source_tag);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void complete ();
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void complete_in_idle ();
		[CCode (has_construct_function = false)]
		[PrintfFormat]
		public SimpleAsyncResult.error (GLib.Object? source_object, GLib.Quark domain, int code, string format, ...);
		[CCode (has_construct_function = false)]
		public SimpleAsyncResult.from_error (GLib.Object? source_object, GLib.Error error);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public bool get_op_res_gboolean ();
		[CCode (simple_generics = true)]
		public unowned T get_op_res_gpointer<T> ();
		[Version (deprecated = true, deprecated_since = "2.46")]
		public ssize_t get_op_res_gssize ();
		[Version (deprecated = true, deprecated_since = "2.46.")]
		public void* get_source_tag ();
		[Version (deprecated = true, deprecated_since = "2.46", since = "2.20")]
		public static bool is_valid (GLib.AsyncResult result, GLib.Object? source, void* source_tag);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public bool propagate_error () throws GLib.Error;
		[CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
		[Version (deprecated = true, deprecated_since = "2.46")]
		public static async void report_gerror_in_idle (GLib.Object? object, GLib.Error error);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
		[Version (deprecated = true, deprecated_since = "2.46", since = "2.32")]
		public void set_check_cancellable (GLib.Cancellable? check_cancellable);
		[PrintfFormat]
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_error (GLib.Quark domain, int code, string format, ...);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_error_va (GLib.Quark domain, int code, string format, va_list args);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_from_error (GLib.Error error);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_handle_cancellation (bool handle_cancellation);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_op_res_gboolean (bool op_res);
		[CCode (simple_generics = true)]
		public void set_op_res_gpointer<T> (owned T op_res);
		[Version (deprecated = true, deprecated_since = "2.46")]
		public void set_op_res_gssize (ssize_t op_res);
		[Version (deprecated = true, deprecated_since = "2.46", since = "2.28")]
		public void take_error (GLib.Error error);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_io_stream_get_type ()")]
	[Version (since = "2.44")]
	public class SimpleIOStream : GLib.IOStream {
		[CCode (has_construct_function = false, type = "GIOStream*")]
		public SimpleIOStream (GLib.InputStream input_stream, GLib.OutputStream output_stream);
		[NoAccessorMethod]
		public GLib.InputStream input_stream { owned get; construct; }
		[NoAccessorMethod]
		public GLib.OutputStream output_stream { owned get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_permission_get_type ()")]
	public class SimplePermission : GLib.Permission {
		[CCode (has_construct_function = false, type = "GPermission*")]
		[Version (since = "2.26")]
		public SimplePermission (bool allowed);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_proxy_resolver_get_type ()")]
	[Version (since = "2.36")]
	public class SimpleProxyResolver : GLib.Object, GLib.ProxyResolver {
		[CCode (has_construct_function = false, type = "GProxyResolver*")]
		public SimpleProxyResolver (string? default_proxy, [CCode (array_length = false, array_null_terminated = true)] string[]? ignore_hosts);
		public void set_default_proxy (string? default_proxy);
		public void set_ignore_hosts ([CCode (array_length = false, array_null_terminated = true)] string[] ignore_hosts);
		public void set_uri_proxy (string uri_scheme, string proxy);
		[NoAccessorMethod]
		public string default_proxy { owned get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public string[] ignore_hosts { owned get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_get_type ()")]
	[Version (since = "2.22")]
	public class Socket : GLib.Object, GLib.DatagramBased, GLib.Initable {
		[CCode (has_construct_function = false)]
		public Socket (GLib.SocketFamily family, GLib.SocketType type, GLib.SocketProtocol protocol) throws GLib.Error;
		public GLib.Socket accept (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool bind (GLib.SocketAddress address, bool allow_reuse) throws GLib.Error;
		public bool check_connect_result () throws GLib.Error;
		public bool close () throws GLib.Error;
		public GLib.IOCondition condition_check (GLib.IOCondition condition);
		[Version (since = "2.32")]
		public bool condition_timed_wait (GLib.IOCondition condition, int64 timeout_us, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool condition_wait (GLib.IOCondition condition, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.SocketSource create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
		[CCode (has_construct_function = false)]
		public Socket.from_fd (int fd) throws GLib.Error;
		[Version (since = "2.32")]
		public ssize_t get_available_bytes ();
		public bool get_blocking ();
		[Version (since = "2.32")]
		public bool get_broadcast ();
		[Version (since = "2.26")]
		public GLib.Credentials get_credentials () throws GLib.Error;
		public GLib.SocketFamily get_family ();
		public int get_fd ();
		public bool get_keepalive ();
		public int get_listen_backlog ();
		public GLib.SocketAddress get_local_address () throws GLib.Error;
		[Version (since = "2.32")]
		public bool get_multicast_loopback ();
		[Version (since = "2.32")]
		public uint get_multicast_ttl ();
		[Version (since = "2.36")]
		public bool get_option (int level, int optname, out int value) throws GLib.Error;
		public GLib.SocketProtocol get_protocol ();
		public GLib.SocketAddress get_remote_address () throws GLib.Error;
		public GLib.SocketType get_socket_type ();
		[Version (since = "2.26")]
		public uint get_timeout ();
		[Version (since = "2.32")]
		public uint get_ttl ();
		public bool is_closed ();
		public bool is_connected ();
		[Version (since = "2.32")]
		public bool join_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
		[Version (since = "2.56")]
		public bool join_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress? source_specific, string? iface) throws GLib.Error;
		[Version (since = "2.32")]
		public bool leave_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
		[Version (since = "2.56")]
		public bool leave_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress? source_specific, string? iface) throws GLib.Error;
		public bool listen () throws GLib.Error;
		public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "gchar*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.80")]
		public GLib.Bytes receive_bytes (size_t size, int64 timeout_us, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.80")]
		public GLib.Bytes receive_bytes_from (out GLib.SocketAddress address, size_t size, int64 timeout_us, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize", type = "gchar*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public ssize_t receive_message (out GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.InputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] out GLib.SocketControlMessage[]? messages, ref int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.48")]
		public int receive_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.InputMessage[] messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public ssize_t receive_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "gchar*")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public ssize_t send ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "const gchar*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public ssize_t send_message (GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.OutputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] GLib.SocketControlMessage[]? messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public GLib.PollableReturn send_message_with_timeout (GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.OutputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] GLib.SocketControlMessage[]? messages, int flags, int64 timeout_us, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.44")]
		public int send_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.OutputMessage[] messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public ssize_t send_to (GLib.SocketAddress? address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize", type = "const gchar*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public ssize_t send_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "const gchar*")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void set_blocking (bool blocking);
		[Version (since = "2.32")]
		public void set_broadcast (bool broadcast);
		public void set_keepalive (bool keepalive);
		public void set_listen_backlog (int backlog);
		[Version (since = "2.32")]
		public void set_multicast_loopback (bool loopback);
		[Version (since = "2.32")]
		public void set_multicast_ttl (uint ttl);
		[Version (since = "2.36")]
		public bool set_option (int level, int optname, int value) throws GLib.Error;
		[Version (since = "2.26")]
		public void set_timeout (uint timeout);
		[Version (since = "2.32")]
		public void set_ttl (uint ttl);
		public bool shutdown (bool shutdown_read, bool shutdown_write) throws GLib.Error;
		public bool speaks_ipv4 ();
		public bool blocking { get; set; }
		[Version (since = "2.32")]
		public bool broadcast { get; set; }
		public GLib.SocketFamily family { get; construct; }
		public int fd { get; construct; }
		public bool keepalive { get; set; }
		public int listen_backlog { get; set; }
		[NoAccessorMethod]
		public GLib.SocketAddress local_address { owned get; }
		[Version (since = "2.32")]
		public bool multicast_loopback { get; set; }
		[Version (since = "2.32")]
		public uint multicast_ttl { get; set; }
		public GLib.SocketProtocol protocol { get; construct; }
		[NoAccessorMethod]
		public GLib.SocketAddress remote_address { owned get; }
		[Version (since = "2.26")]
		public uint timeout { get; set; }
		[Version (since = "2.32")]
		public uint ttl { get; set; }
		[NoAccessorMethod]
		public GLib.SocketType type { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_address_get_type ()")]
	public abstract class SocketAddress : GLib.Object, GLib.SocketConnectable {
		[CCode (has_construct_function = false)]
		protected SocketAddress ();
		[CCode (cname = "g_socket_address_new_from_native")]
		[Version (since = "2.22")]
		public static GLib.SocketAddress? from_native (void* native, size_t len);
		[Version (since = "2.22")]
		public virtual GLib.SocketFamily get_family ();
		[Version (since = "2.22")]
		public virtual ssize_t get_native_size ();
		[Version (since = "2.22")]
		public virtual bool to_native (void* dest, size_t destlen) throws GLib.Error;
		[Version (since = "2.22")]
		public GLib.SocketFamily family { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_address_enumerator_get_type ()")]
	public abstract class SocketAddressEnumerator : GLib.Object {
		[CCode (has_construct_function = false)]
		protected SocketAddressEnumerator ();
		public virtual GLib.SocketAddress? next (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.SocketAddress? next_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_client_get_type ()")]
	[Version (since = "2.22")]
	public class SocketClient : GLib.Object {
		[CCode (has_construct_function = false)]
		public SocketClient ();
		public void add_application_proxy (string protocol);
		public GLib.SocketConnection connect (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.SocketConnection connect_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.SocketConnection connect_to_host (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public GLib.SocketConnection connect_to_uri (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public async GLib.SocketConnection connect_to_uri_async (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.26")]
		public bool get_enable_proxy ();
		public GLib.SocketFamily get_family ();
		public unowned GLib.SocketAddress? get_local_address ();
		public GLib.SocketProtocol get_protocol ();
		[Version (since = "2.36")]
		public unowned GLib.ProxyResolver get_proxy_resolver ();
		public GLib.SocketType get_socket_type ();
		[Version (since = "2.26")]
		public uint get_timeout ();
		[Version (since = "2.28")]
		public bool get_tls ();
		[Version (deprecated = true, deprecated_since = "2.72", since = "2.28")]
		public GLib.TlsCertificateFlags get_tls_validation_flags ();
		[Version (since = "2.26")]
		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);
		[Version (since = "2.36")]
		public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
		public void set_socket_type (GLib.SocketType type);
		[Version (since = "2.26")]
		public void set_timeout (uint timeout);
		[Version (since = "2.28")]
		public void set_tls (bool tls);
		[Version (deprecated = true, deprecated_since = "2.72", since = "2.28")]
		public void set_tls_validation_flags (GLib.TlsCertificateFlags flags);
		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; }
		[Version (since = "2.36")]
		public GLib.ProxyResolver proxy_resolver { get; set construct; }
		public uint timeout { get; set construct; }
		public bool tls { get; set construct; }
		[Version (deprecated = true, deprecated_since = "2.72")]
		public GLib.TlsCertificateFlags tls_validation_flags { get; set construct; }
		[NoAccessorMethod]
		public GLib.SocketType type { get; set construct; }
		[Version (since = "2.32")]
		public virtual signal void event (GLib.SocketClientEvent event, GLib.SocketConnectable connectable, GLib.IOStream? connection);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_connection_get_type ()")]
	[Version (since = "2.22")]
	public class SocketConnection : GLib.IOStream {
		[CCode (has_construct_function = false)]
		protected SocketConnection ();
		[Version (since = "2.32")]
		public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.32")]
		public async bool connect_async (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.SocketConnection factory_create_connection (GLib.Socket socket);
		public static GLib.Type factory_lookup_type (GLib.SocketFamily family, GLib.SocketType type, int protocol_id);
		public static void factory_register_type (GLib.Type g_type, GLib.SocketFamily family, GLib.SocketType type, int protocol);
		public GLib.SocketAddress get_local_address () throws GLib.Error;
		public GLib.SocketAddress get_remote_address () throws GLib.Error;
		public unowned GLib.Socket get_socket ();
		[Version (since = "2.32")]
		public bool is_connected ();
		public GLib.Socket socket { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_control_message_get_type ()")]
	[Version (since = "2.22")]
	public abstract class SocketControlMessage : GLib.Object {
		[CCode (has_construct_function = false)]
		protected SocketControlMessage ();
		public static GLib.SocketControlMessage? deserialize (int level, int type, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data);
		public virtual int get_level ();
		public int get_msg_type ();
		public virtual size_t get_size ();
		[NoWrapper]
		public virtual int get_type ();
		public virtual void serialize ([CCode (array_length = false, type = "gpointer")] uint8[] data);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_listener_get_type ()")]
	[Version (since = "2.22")]
	public class SocketListener : GLib.Object {
		[CCode (has_construct_function = false)]
		public SocketListener ();
		public GLib.SocketConnection accept (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.SocketConnection accept_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
		public GLib.Socket accept_socket (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.Socket accept_socket_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
		public bool add_address (GLib.SocketAddress address, GLib.SocketType type, GLib.SocketProtocol protocol, GLib.Object? source_object, out GLib.SocketAddress effective_address) throws GLib.Error;
		[Version (since = "2.24")]
		public uint16 add_any_inet_port (GLib.Object? source_object) throws GLib.Error;
		public bool add_inet_port (uint16 port, GLib.Object? source_object) throws GLib.Error;
		public bool add_socket (GLib.Socket socket, GLib.Object? source_object) throws GLib.Error;
		[NoWrapper]
		public virtual void changed ();
		public void close ();
		public void set_backlog (int listen_backlog);
		[NoAccessorMethod]
		public int listen_backlog { get; set construct; }
		[Version (since = "2.46")]
		public virtual signal void event (GLib.SocketListenerEvent event, GLib.Socket socket);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_service_get_type ()")]
	[Version (since = "2.22")]
	public class SocketService : GLib.SocketListener {
		[CCode (has_construct_function = false)]
		public SocketService ();
		public bool is_active ();
		public void start ();
		public void stop ();
		[NoAccessorMethod]
		[Version (since = "2.46")]
		public bool active { get; set construct; }
		public virtual signal bool incoming (GLib.SocketConnection connection, GLib.Object? source_object);
	}
	[CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
	[Compact]
	public class SocketSource : GLib.Source {
		[CCode (cname = "g_source_set_callback")]
		public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.SocketSourceFunc func);
	}
	[CCode (cheader_filename = "gio/gio.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "g_srv_target_get_type ()")]
	[Compact]
	public class SrvTarget {
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public SrvTarget (string hostname, uint16 port, uint16 priority, uint16 weight);
		[Version (since = "2.22")]
		public GLib.SrvTarget copy ();
		[Version (since = "2.22")]
		public void free ();
		[Version (since = "2.22")]
		public unowned string get_hostname ();
		[Version (since = "2.22")]
		public uint16 get_port ();
		[Version (since = "2.22")]
		public uint16 get_priority ();
		[Version (since = "2.22")]
		public uint16 get_weight ();
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (replacement = "SrvTarget.list_sort", since = "2.22")]
		public static GLib.List<GLib.SrvTarget> list_sort (owned GLib.List<GLib.SrvTarget> targets);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_get_type ()")]
	[Version (since = "2.40")]
	public class Subprocess : GLib.Object, GLib.Initable {
		[CCode (has_construct_function = false)]
		public Subprocess (GLib.SubprocessFlags flags, ...) throws GLib.Error;
		public bool communicate (GLib.Bytes? stdin_buf, GLib.Cancellable? cancellable, out GLib.Bytes? stdout_buf, out GLib.Bytes? stderr_buf) throws GLib.Error;
		public async bool communicate_async (GLib.Bytes? stdin_buf, GLib.Cancellable? cancellable, out GLib.Bytes? stdout_buf, out GLib.Bytes? stderr_buf) throws GLib.Error;
		public bool communicate_utf8 (string? stdin_buf, GLib.Cancellable? cancellable, out string? stdout_buf, out string? stderr_buf) throws GLib.Error;
		public async bool communicate_utf8_async (string? stdin_buf, GLib.Cancellable? cancellable, out string? stdout_buf, out string? stderr_buf) throws GLib.Error;
		public void force_exit ();
		public int get_exit_status ();
		public unowned string? get_identifier ();
		public bool get_if_exited ();
		public bool get_if_signaled ();
		public int get_status ();
		public unowned GLib.InputStream? get_stderr_pipe ();
		public unowned GLib.OutputStream? get_stdin_pipe ();
		public unowned GLib.InputStream? get_stdout_pipe ();
		public bool get_successful ();
		public int get_term_sig ();
		[CCode (cname = "g_subprocess_newv", has_construct_function = false)]
		public Subprocess.newv ([CCode (array_length = false, array_null_terminated = true)] string[] argv, GLib.SubprocessFlags flags) throws GLib.Error;
		public void send_signal (int signal_num);
		public bool wait (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool wait_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool wait_check (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool wait_check_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		public string[] argv { construct; }
		[NoAccessorMethod]
		public GLib.SubprocessFlags flags { construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_launcher_get_type ()")]
	[Version (since = "2.40")]
	public class SubprocessLauncher : GLib.Object {
		[CCode (has_construct_function = false)]
		public SubprocessLauncher (GLib.SubprocessFlags flags);
		[Version (since = "2.68")]
		public void close ();
		public unowned string? getenv (string variable);
		public void set_child_setup (owned GLib.SpawnChildSetupFunc child_setup);
		public void set_cwd (string cwd);
		public void set_environ ([CCode (array_length = false, array_null_terminated = true)] string[] env);
		public void set_flags (GLib.SubprocessFlags flags);
		public void set_stderr_file_path (string? path);
		public void set_stdin_file_path (string? path);
		public void set_stdout_file_path (string? path);
		public void setenv (string variable, string value, bool overwrite);
		[CCode (error_pos = 0.8)]
		public GLib.Subprocess spawn (string argv0, ...) throws GLib.Error;
		public GLib.Subprocess spawnv ([CCode (array_length = false, array_null_terminated = true)] string[] argv) throws GLib.Error;
		public void take_fd (int source_fd, int target_fd);
		public void take_stderr_fd (int fd);
		public void take_stdin_fd (int fd);
		public void take_stdout_fd (int fd);
		public void unsetenv (string variable);
		[NoAccessorMethod]
		public GLib.SubprocessFlags flags { construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_task_get_type ()")]
	public class Task : GLib.Object, GLib.AsyncResult {
		[CCode (has_construct_function = false)]
		[Version (since = "2.36")]
		public Task (GLib.Object? source_object, GLib.Cancellable? cancellable, [CCode (scope = "async")] GLib.TaskReadyCallback callback);
		[Version (since = "2.36")]
		public void attach_source (GLib.Source source, [CCode (type = "GSourceFunc")] GLib.TaskSourceFunc callback);
		[Version (since = "2.36")]
		public unowned GLib.Cancellable? get_cancellable ();
		[Version (since = "2.36")]
		public bool get_check_cancellable ();
		[Version (since = "2.44")]
		public bool get_completed ();
		[Version (since = "2.36")]
		public unowned GLib.MainContext get_context ();
		[Version (since = "2.60")]
		public unowned string? get_name ();
		[Version (since = "2.36")]
		public int get_priority ();
		[Version (since = "2.36")]
		public bool get_return_on_cancel ();
		[Version (since = "2.36")]
		public void* get_source_tag ();
		[Version (since = "2.36")]
		public void* get_task_data ();
		[CCode (cname = "g_task_get_source_object")]
		[Version (since = "2.36")]
		public unowned GLib.Object? get_unowned_source_object ();
		[Version (since = "2.36")]
		public bool had_error ();
		[Version (since = "2.36")]
		public static bool is_valid (GLib.AsyncResult result, GLib.Object? source_object);
		[Version (since = "2.36")]
		public bool propagate_boolean () throws GLib.Error;
		[Version (since = "2.36")]
		public ssize_t propagate_int () throws GLib.Error;
		[Version (since = "2.36")]
		public void* propagate_pointer () throws GLib.Error;
		[Version (since = "2.64")]
		public bool propagate_value (out GLib.Value value) throws GLib.Error;
		[Version (since = "2.36")]
		public static void report_error (GLib.Object? source_object, [CCode (scope = "async")] GLib.TaskReadyCallback callback, void* source_tag, owned GLib.Error error);
		[PrintfFormat]
		[Version (since = "2.36")]
		public static void report_new_error (GLib.Object? source_object, [CCode (scope = "async")] GLib.TaskReadyCallback callback, void* source_tag, GLib.Quark domain, int code, string format, ...);
		[Version (since = "2.36")]
		public void return_boolean (bool result);
		[Version (since = "2.36")]
		public void return_error (owned GLib.Error error);
		[Version (since = "2.36")]
		public bool return_error_if_cancelled ();
		[Version (since = "2.36")]
		public void return_int (ssize_t result);
		[PrintfFormat]
		[Version (since = "2.36")]
		public void return_new_error (GLib.Quark domain, int code, string format, ...);
		[Version (since = "2.80")]
		public void return_new_error_literal (GLib.Quark domain, int code, string message);
		[Version (since = "2.36")]
		public void return_pointer (owned void* result, GLib.DestroyNotify? result_destroy);
		[Version (since = "2.64")]
		public void return_value (GLib.Value? result);
		[Version (since = "2.36")]
		public void run_in_thread ([CCode (scope = "async")] GLib.TaskThreadFunc task_func);
		[Version (since = "2.36")]
		public void run_in_thread_sync ([CCode (scope = "async")] GLib.TaskThreadFunc task_func);
		[Version (since = "2.36")]
		public void set_check_cancellable (bool check_cancellable);
		[Version (since = "2.60")]
		public void set_name (string? name);
		[Version (since = "2.36")]
		public void set_priority (int priority);
		[Version (since = "2.36")]
		public bool set_return_on_cancel (bool return_on_cancel);
		[Version (since = "2.36")]
		public void set_source_tag (void* source_tag);
		[Version (since = "2.76")]
		public void set_static_name (string? name);
		[Version (since = "2.36")]
		public void set_task_data (void* task_data, GLib.DestroyNotify? task_data_destroy);
		[Version (since = "2.44")]
		public bool completed { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_connection_get_type ()")]
	[Version (since = "2.22")]
	public class TcpConnection : GLib.SocketConnection {
		[CCode (has_construct_function = false)]
		protected TcpConnection ();
		public bool get_graceful_disconnect ();
		public void set_graceful_disconnect (bool graceful_disconnect);
		public bool graceful_disconnect { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_wrapper_connection_get_type ()")]
	[Version (since = "2.28")]
	public class TcpWrapperConnection : GLib.TcpConnection {
		[CCode (has_construct_function = false, type = "GSocketConnection*")]
		public TcpWrapperConnection (GLib.IOStream base_io_stream, GLib.Socket socket);
		public unowned GLib.IOStream get_base_io_stream ();
		public GLib.IOStream base_io_stream { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_test_dbus_get_type ()")]
	[Version (since = "2.34")]
	public class TestDBus : GLib.Object {
		[CCode (has_construct_function = false)]
		public TestDBus (GLib.TestDBusFlags flags);
		public void add_service_dir (string path);
		public void down ();
		public unowned string? get_bus_address ();
		public GLib.TestDBusFlags get_flags ();
		public void stop ();
		public static void unset ();
		public void up ();
		public GLib.TestDBusFlags flags { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_themed_icon_get_type ()")]
	public class ThemedIcon : GLib.Object, GLib.Icon {
		[CCode (has_construct_function = false, type = "GIcon*")]
		public ThemedIcon (string iconname);
		public void append_name (string iconname);
		[CCode (has_construct_function = false, type = "GIcon*")]
		public ThemedIcon.from_names ([CCode (array_length_cname = "len", array_length_pos = 1.1)] string[] iconnames);
		[CCode (array_length = false, array_null_terminated = true)]
		public unowned string[] get_names ();
		[Version (since = "2.18")]
		public void prepend_name (string iconname);
		[CCode (has_construct_function = false, type = "GIcon*")]
		public ThemedIcon.with_default_fallbacks (string iconname);
		[NoAccessorMethod]
		public string name { construct; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] names { get; construct; }
		[NoAccessorMethod]
		public bool use_default_fallbacks { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_threaded_resolver_get_type ()")]
	[Version (since = "2.20")]
	public class ThreadedResolver : GLib.Resolver {
		[CCode (has_construct_function = false)]
		protected ThreadedResolver ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_threaded_socket_service_get_type ()")]
	[Version (since = "2.22")]
	public class ThreadedSocketService : GLib.SocketService {
		[CCode (has_construct_function = false, type = "GSocketService*")]
		public ThreadedSocketService (int max_threads);
		[NoAccessorMethod]
		public int max_threads { get; construct; }
		public virtual signal bool run (GLib.SocketConnection connection, GLib.Object? source_object);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
	[Version (since = "2.28")]
	public class TlsCertificate : GLib.Object {
		[CCode (has_construct_function = false)]
		protected TlsCertificate ();
		[CCode (has_construct_function = false)]
		public TlsCertificate.from_file (string file) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.72")]
		public TlsCertificate.from_file_with_password (string file, string password) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public TlsCertificate.from_files (string cert_file, string key_file) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public TlsCertificate.from_pem (string data, ssize_t length) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.68")]
		public TlsCertificate.from_pkcs11_uris (string pkcs11_uri, string? private_key_pkcs11_uri) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.72")]
		public TlsCertificate.from_pkcs12 ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, string? password) throws GLib.Error;
		[Version (since = "2.70")]
		public GLib.GenericArray<weak GLib.Bytes>? get_dns_names ();
		[Version (since = "2.70")]
		public GLib.GenericArray<weak GLib.InetAddress>? get_ip_addresses ();
		public unowned GLib.TlsCertificate? get_issuer ();
		[Version (since = "2.70")]
		public string? get_issuer_name ();
		[Version (since = "2.70")]
		public GLib.DateTime? get_not_valid_after ();
		[Version (since = "2.70")]
		public GLib.DateTime? get_not_valid_before ();
		[Version (since = "2.70")]
		public string? get_subject_name ();
		[Version (since = "2.34")]
		public bool is_same (GLib.TlsCertificate cert_two);
		public static GLib.List<GLib.TlsCertificate> list_new_from_file (string file) throws GLib.Error;
		public virtual GLib.TlsCertificateFlags verify (GLib.SocketConnectable? identity, GLib.TlsCertificate? trusted_ca);
		[NoAccessorMethod]
		public GLib.ByteArray certificate { owned get; construct; }
		[NoAccessorMethod]
		public string certificate_pem { owned get; construct; }
		[Version (since = "2.70")]
		public GLib.GenericArray<void*> dns_names { owned get; }
		[Version (since = "2.70")]
		public GLib.GenericArray<void*> ip_addresses { owned get; }
		public GLib.TlsCertificate issuer { get; construct; }
		[Version (since = "2.70")]
		public string issuer_name { owned get; }
		[Version (since = "2.70")]
		public GLib.DateTime not_valid_after { owned get; }
		[Version (since = "2.70")]
		public GLib.DateTime not_valid_before { owned get; }
		[NoAccessorMethod]
		[Version (since = "2.72")]
		public string password { construct; }
		[NoAccessorMethod]
		[Version (since = "2.68")]
		public string pkcs11_uri { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.72")]
		public GLib.ByteArray pkcs12_data { construct; }
		[NoAccessorMethod]
		public GLib.ByteArray private_key { owned get; construct; }
		[NoAccessorMethod]
		public string private_key_pem { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.68")]
		public string private_key_pkcs11_uri { owned get; construct; }
		[Version (since = "2.70")]
		public string subject_name { owned get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_connection_get_type ()")]
	[Version (since = "2.28")]
	public abstract class TlsConnection : GLib.IOStream {
		[CCode (has_construct_function = false)]
		protected TlsConnection ();
		public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
		public unowned GLib.TlsCertificate? get_certificate ();
		[CCode (vfunc_name = "get_binding_data")]
		[Version (since = "2.66")]
		public virtual bool get_channel_binding_data (GLib.TlsChannelBindingType type, out unowned GLib.ByteArray data) throws GLib.TlsChannelBindingError;
		[Version (since = "2.70")]
		public string? get_ciphersuite_name ();
		[Version (since = "2.30")]
		public unowned GLib.TlsDatabase? get_database ();
		[Version (since = "2.30")]
		public unowned GLib.TlsInteraction? get_interaction ();
		[Version (since = "2.60")]
		public virtual unowned string? get_negotiated_protocol ();
		public unowned GLib.TlsCertificate? get_peer_certificate ();
		public GLib.TlsCertificateFlags get_peer_certificate_errors ();
		[Version (since = "2.70")]
		public GLib.TlsProtocolVersion get_protocol_version ();
		[Version (deprecated = true, deprecated_since = "2.60.", since = "2.28")]
		public GLib.TlsRehandshakeMode get_rehandshake_mode ();
		public bool get_require_close_notify ();
		[Version (deprecated = true, deprecated_since = "2.30")]
		public bool get_use_system_certdb ();
		public virtual bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public void set_advertised_protocols ([CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
		public void set_certificate (GLib.TlsCertificate certificate);
		[Version (since = "2.30")]
		public void set_database (GLib.TlsDatabase? database);
		[Version (since = "2.30")]
		public void set_interaction (GLib.TlsInteraction? interaction);
		[Version (deprecated = true, deprecated_since = "2.60.", since = "2.28")]
		public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
		public void set_require_close_notify (bool require_close_notify);
		[Version (deprecated = true, deprecated_since = "2.30")]
		public void set_use_system_certdb (bool use_system_certdb);
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		[Version (since = "2.60")]
		public string[] advertised_protocols { owned get; set; }
		[NoAccessorMethod]
		public GLib.IOStream base_io_stream { owned get; construct; }
		public GLib.TlsCertificate certificate { get; set; }
		[Version (since = "2.70")]
		public string ciphersuite_name { owned get; }
		[Version (since = "2.30")]
		public GLib.TlsDatabase database { get; set; }
		[Version (since = "2.30")]
		public GLib.TlsInteraction interaction { get; set; }
		[Version (since = "2.60")]
		public string negotiated_protocol { get; }
		public GLib.TlsCertificate peer_certificate { get; }
		public GLib.TlsCertificateFlags peer_certificate_errors { get; }
		[Version (since = "2.70")]
		public GLib.TlsProtocolVersion protocol_version { get; }
		[Version (deprecated = true, deprecated_since = "2.60", since = "2.28")]
		public GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
		public bool require_close_notify { get; set construct; }
		[Version (deprecated = true, deprecated_since = "2.30")]
		public bool use_system_certdb { get; set construct; }
		public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_database_get_type ()")]
	[Version (since = "2.30")]
	public abstract class TlsDatabase : GLib.Object {
		[CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT")]
		public const string PURPOSE_AUTHENTICATE_CLIENT;
		[CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER")]
		public const string PURPOSE_AUTHENTICATE_SERVER;
		[CCode (has_construct_function = false)]
		protected TlsDatabase ();
		public virtual string? create_certificate_handle (GLib.TlsCertificate certificate);
		public virtual GLib.TlsCertificate? lookup_certificate_for_handle (string handle, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.TlsCertificate lookup_certificate_for_handle_async (string handle, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual GLib.TlsCertificate lookup_certificate_issuer (GLib.TlsCertificate certificate, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.TlsCertificate lookup_certificate_issuer_async (GLib.TlsCertificate certificate, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual GLib.List<GLib.TlsCertificate> lookup_certificates_issued_by (GLib.ByteArray issuer_raw_dn, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.List<GLib.TlsCertificate> lookup_certificates_issued_by_async (GLib.ByteArray issuer_raw_dn, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual GLib.TlsCertificateFlags verify_chain (GLib.TlsCertificate chain, string purpose, GLib.SocketConnectable? identity, GLib.TlsInteraction? interaction, GLib.TlsDatabaseVerifyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.TlsCertificateFlags verify_chain_async (GLib.TlsCertificate chain, string purpose, GLib.SocketConnectable? identity, GLib.TlsInteraction? interaction, GLib.TlsDatabaseVerifyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_interaction_get_type ()")]
	[Version (since = "2.30")]
	public class TlsInteraction : GLib.Object {
		[CCode (has_construct_function = false)]
		protected TlsInteraction ();
		public virtual GLib.TlsInteractionResult ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.TlsInteractionResult ask_password_async (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.TlsInteractionResult invoke_ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.40")]
		public GLib.TlsInteractionResult invoke_request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.40")]
		public virtual GLib.TlsInteractionResult request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.40")]
		public virtual async GLib.TlsInteractionResult request_certificate_async (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_password_get_type ()")]
	[Version (since = "2.30")]
	public class TlsPassword : GLib.Object {
		[CCode (has_construct_function = false)]
		public TlsPassword (GLib.TlsPasswordFlags flags, string description);
		[NoWrapper]
		public virtual unowned string get_default_warning ();
		public unowned string get_description ();
		public GLib.TlsPasswordFlags get_flags ();
		[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
		public virtual unowned uint8[] get_value ();
		public unowned string get_warning ();
		public void set_description (string description);
		public void set_flags (GLib.TlsPasswordFlags flags);
		public void set_value ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] value);
		[CCode (vfunc_name = "set_value")]
		public virtual void set_value_full ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] value, GLib.DestroyNotify? destroy = GLib.free);
		public void set_warning (string warning);
		public string description { get; set; }
		public GLib.TlsPasswordFlags flags { get; set; }
		public string warning { get; set; }
	}
	[CCode (cheader_filename = "gio/gunixfdlist.h", type_id = "g_unix_fd_list_get_type ()")]
	public class UnixFDList : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public UnixFDList ();
		[Version (since = "2.24")]
		public int append (int fd) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public UnixFDList.from_array ([CCode (array_length_cname = "n_fds", array_length_pos = 1.1)] int[] fds);
		[Version (since = "2.24")]
		public int @get (int index_) throws GLib.Error;
		[Version (since = "2.24")]
		public int get_length ();
		[CCode (array_length_pos = 0.1)]
		[Version (since = "2.24")]
		public unowned int[] peek_fds ();
		[CCode (array_length_pos = 0.1)]
		[Version (since = "2.24")]
		public int[] steal_fds ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_vfs_get_type ()")]
	public class Vfs : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Vfs ();
		[NoWrapper]
		public virtual void add_writable_namespaces (GLib.FileAttributeInfoList list);
		[NoWrapper]
		public virtual GLib.Icon deserialize_icon (GLib.Variant value);
		public static unowned GLib.Vfs get_default ();
		public virtual GLib.File get_file_for_path (string path);
		public virtual GLib.File get_file_for_uri (string uri);
		public static unowned GLib.Vfs get_local ();
		[CCode (array_length = false, array_null_terminated = true)]
		public virtual unowned string[] get_supported_uri_schemes ();
		public virtual bool is_active ();
		[NoWrapper]
		public virtual void local_file_add_info (string filename, uint64 device, GLib.FileAttributeMatcher attribute_matcher, GLib.FileInfo info, GLib.Cancellable? cancellable = null, void* extra_data = null, GLib.DestroyNotify? free_extra_data = null);
		[NoWrapper]
		public virtual void local_file_moved (string source, string dest);
		[NoWrapper]
		public virtual void local_file_removed (string filename);
		[NoWrapper]
		public virtual bool local_file_set_attributes (string filename, GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual GLib.File parse_name (string parse_name);
		[Version (since = "2.50")]
		public bool register_uri_scheme (string scheme, [CCode (delegate_target_pos = 2.33333, destroy_notify_pos = 2.66667)] owned GLib.VfsFileLookupFunc? uri_func, owned GLib.VfsFileLookupFunc? parse_name_func);
		[Version (since = "2.50")]
		public bool unregister_uri_scheme (string scheme);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_volume_monitor_get_type ()")]
	public class VolumeMonitor : GLib.Object {
		[CCode (has_construct_function = false)]
		protected VolumeMonitor ();
		[Version (deprecated = true, deprecated_since = "2.20")]
		public static GLib.Volume adopt_orphan_mount (GLib.Mount mount);
		public static GLib.VolumeMonitor @get ();
		public virtual GLib.List<GLib.Drive> get_connected_drives ();
		public virtual GLib.Mount? get_mount_for_uuid (string uuid);
		public virtual GLib.List<GLib.Mount> get_mounts ();
		public virtual GLib.Volume? get_volume_for_uuid (string uuid);
		public virtual GLib.List<GLib.Volume> get_volumes ();
		[NoWrapper]
		public virtual bool is_supported ();
		public virtual signal void drive_changed (GLib.Drive drive);
		public virtual signal void drive_connected (GLib.Drive drive);
		public virtual signal void drive_disconnected (GLib.Drive drive);
		[Version (since = "2.18")]
		public virtual signal void drive_eject_button (GLib.Drive drive);
		[Version (since = "2.22")]
		public virtual signal void drive_stop_button (GLib.Drive drive);
		public virtual signal void mount_added (GLib.Mount mount);
		public virtual signal void mount_changed (GLib.Mount mount);
		public virtual signal void mount_pre_unmount (GLib.Mount mount);
		public virtual signal void mount_removed (GLib.Mount mount);
		public virtual signal void volume_added (GLib.Volume volume);
		public virtual signal void volume_changed (GLib.Volume volume);
		public virtual signal void volume_removed (GLib.Volume volume);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_compressor_get_type ()")]
	public class ZlibCompressor : GLib.Object, GLib.Converter {
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public ZlibCompressor (GLib.ZlibCompressorFormat format, int level = -1);
		[Version (since = "2.26")]
		public unowned GLib.FileInfo? get_file_info ();
		[Version (since = "2.26")]
		public void set_file_info (GLib.FileInfo? file_info);
		[Version (since = "2.26")]
		public GLib.FileInfo file_info { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public GLib.ZlibCompressorFormat format { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public int level { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_decompressor_get_type ()")]
	public class ZlibDecompressor : GLib.Object, GLib.Converter {
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public ZlibDecompressor (GLib.ZlibCompressorFormat format);
		[Version (since = "2.26")]
		public unowned GLib.FileInfo? get_file_info ();
		[Version (since = "2.26")]
		public GLib.FileInfo file_info { get; }
		[NoAccessorMethod]
		[Version (since = "2.24")]
		public GLib.ZlibCompressorFormat format { get; construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionInterface", type_id = "g_action_get_type ()")]
	public interface Action : GLib.Object {
		[Version (since = "2.28")]
		public abstract void activate (GLib.Variant? parameter);
		[Version (since = "2.30")]
		public abstract void change_state (GLib.Variant value);
		[Version (since = "2.28")]
		public abstract bool get_enabled ();
		[Version (since = "2.28")]
		public abstract unowned string get_name ();
		[Version (since = "2.28")]
		public abstract unowned GLib.VariantType? get_parameter_type ();
		[Version (since = "2.28")]
		public abstract GLib.Variant? get_state ();
		[Version (since = "2.28")]
		public abstract GLib.Variant? get_state_hint ();
		[Version (since = "2.28")]
		public abstract unowned GLib.VariantType? get_state_type ();
		[Version (since = "2.38")]
		public static bool name_is_valid (string action_name);
		[Version (since = "2.38")]
		public static bool parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant? target_value) throws GLib.Error;
		[Version (since = "2.38")]
		public static string print_detailed_name (string action_name, GLib.Variant? target_value);
		[Version (since = "2.28")]
		public abstract bool enabled { get; }
		[Version (since = "2.28")]
		public abstract string name { get; }
		[Version (since = "2.28")]
		public abstract GLib.VariantType? parameter_type { get; }
		[Version (since = "2.28")]
		public abstract GLib.Variant? state { owned get; }
		[Version (since = "2.28")]
		public abstract GLib.VariantType? state_type { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionGroupInterface", type_id = "g_action_group_get_type ()")]
	public interface ActionGroup : GLib.Object {
		[Version (since = "2.28")]
		public abstract void activate_action (string action_name, GLib.Variant? parameter);
		[Version (since = "2.28")]
		public abstract void change_action_state (string action_name, GLib.Variant value);
		[Version (since = "2.28")]
		public virtual bool get_action_enabled (string action_name);
		[Version (since = "2.28")]
		public virtual unowned GLib.VariantType? get_action_parameter_type (string action_name);
		[Version (since = "2.28")]
		public virtual GLib.Variant? get_action_state (string action_name);
		[Version (since = "2.28")]
		public virtual GLib.Variant? get_action_state_hint (string action_name);
		[Version (since = "2.28")]
		public virtual unowned GLib.VariantType? get_action_state_type (string action_name);
		[Version (since = "2.28")]
		public virtual bool has_action (string action_name);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.28")]
		public abstract string[] list_actions ();
		[Version (since = "2.32")]
		public virtual bool query_action (string action_name, out bool enabled, out unowned GLib.VariantType parameter_type, out unowned GLib.VariantType state_type, out GLib.Variant state_hint, out GLib.Variant state);
		[HasEmitter]
		[Version (since = "2.28")]
		public virtual signal void action_added (string action_name);
		[HasEmitter]
		[Version (since = "2.28")]
		public virtual signal void action_enabled_changed (string action_name, bool enabled);
		[HasEmitter]
		[Version (since = "2.28")]
		public virtual signal void action_removed (string action_name);
		[HasEmitter]
		[Version (since = "2.28")]
		public virtual signal void action_state_changed (string action_name, GLib.Variant state);
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GActionMapInterface", type_id = "g_action_map_get_type ()")]
	[Version (since = "2.32")]
	public interface ActionMap : GLib.Object {
		public abstract void add_action (GLib.Action action);
		public void add_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
		public abstract unowned GLib.Action? lookup_action (string action_name);
		public abstract void remove_action (string action_name);
		[Version (since = "2.78")]
		public void remove_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.1)] GLib.ActionEntry[] entries);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_get_type ()")]
	public interface AppInfo : GLib.Object {
		public abstract bool add_supports_type (string content_type) throws GLib.Error;
		[Version (since = "2.20")]
		public abstract bool can_delete ();
		public abstract bool can_remove_supports_type ();
		public static GLib.AppInfo create_from_commandline (string commandline, string? application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
		[CCode (vfunc_name = "do_delete")]
		[Version (since = "2.20")]
		public abstract bool @delete ();
		public abstract GLib.AppInfo dup ();
		public abstract bool equal (GLib.AppInfo appinfo2);
		public static GLib.List<GLib.AppInfo> get_all ();
		public static GLib.List<GLib.AppInfo> get_all_for_type (string content_type);
		[Version (since = "2.20")]
		public abstract unowned string? get_commandline ();
		public static GLib.AppInfo? get_default_for_type (string content_type, bool must_support_uris);
		[Version (since = "2.74")]
		public static async GLib.AppInfo get_default_for_type_async (string content_type, bool must_support_uris, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.AppInfo? get_default_for_uri_scheme (string uri_scheme);
		[Version (since = "2.74")]
		public static async GLib.AppInfo get_default_for_uri_scheme_async (string uri_scheme, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract unowned string? get_description ();
		[Version (since = "2.24")]
		public abstract unowned string get_display_name ();
		public abstract unowned string get_executable ();
		[Version (since = "2.28")]
		public static GLib.List<GLib.AppInfo> get_fallback_for_type (string content_type);
		public abstract unowned GLib.Icon? get_icon ();
		public abstract unowned string? get_id ();
		public abstract unowned string get_name ();
		[Version (since = "2.28")]
		public static GLib.List<GLib.AppInfo> get_recommended_for_type (string content_type);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.34")]
		public abstract unowned string[] get_supported_types ();
		public abstract bool launch (GLib.List<GLib.File>? files, GLib.AppLaunchContext? context) throws GLib.Error;
		public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? context) throws GLib.Error;
		[Version (since = "2.50")]
		public static async bool launch_default_for_uri_async (string uri, GLib.AppLaunchContext? context, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool launch_uris (GLib.List<string>? uris, GLib.AppLaunchContext? context) throws GLib.Error;
		[Version (since = "2.60")]
		public abstract async bool launch_uris_async (GLib.List<string>? uris, GLib.AppLaunchContext? context, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool remove_supports_type (string content_type) throws GLib.Error;
		[Version (since = "2.20")]
		public static void reset_type_associations (string content_type);
		public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
		public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
		public abstract bool set_as_last_used_for_type (string content_type) throws GLib.Error;
		public abstract bool should_show ();
		public abstract bool supports_files ();
		public abstract bool supports_uris ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_async_initable_get_type ()")]
	[Version (since = "2.22")]
	public interface AsyncInitable : GLib.Object {
		public virtual async bool init_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (finish_name = "g_async_initable_new_finish")]
		public static async GLib.Object new_async (GLib.Type object_type, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable, ...) throws GLib.Error;
		[CCode (finish_name = "g_async_initable_new_finish")]
		public static async GLib.Object new_valist_async (GLib.Type object_type, string first_property_name, va_list var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
		[CCode (finish_name = "g_async_initable_new_finish")]
		[Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
		public static async GLib.Object newv_async (GLib.Type object_type, [CCode (array_length_pos = 1.1)] GLib.Parameter[] parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_async_result_get_type ()")]
	public interface AsyncResult : GLib.Object {
		public abstract GLib.Object? get_source_object ();
		public abstract void* get_user_data ();
		[Version (since = "2.34")]
		public abstract bool is_tagged (void* source_tag);
		[Version (since = "2.34")]
		public bool legacy_propagate_error () throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_get_type ()")]
	[Version (since = "2.24")]
	public interface Converter : GLib.Object {
		public abstract GLib.ConverterResult convert ([CCode (array_length_cname = "inbuf_size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] inbuf, [CCode (array_length_cname = "outbuf_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] outbuf, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error;
		public abstract void reset ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_get_type ()")]
	[Version (since = "2.30")]
	public interface DBusInterface : GLib.Object {
		[Version (since = "2.32")]
		public abstract GLib.DBusObject? dup_object ();
		public abstract unowned GLib.DBusInterfaceInfo get_info ();
		public abstract unowned GLib.DBusObject? get_object ();
		public abstract void set_object (GLib.DBusObject? object);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_get_type ()")]
	public interface DBusObject : GLib.Object {
		[Version (since = "2.30")]
		public abstract GLib.DBusInterface? get_interface (string interface_name);
		[Version (since = "2.30")]
		public abstract GLib.List<GLib.DBusInterface> get_interfaces ();
		[Version (since = "2.30")]
		public abstract unowned string get_object_path ();
		[Version (since = "2.30")]
		public virtual signal void interface_added (GLib.DBusInterface interface_);
		[Version (since = "2.30")]
		public virtual signal void interface_removed (GLib.DBusInterface interface_);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_get_type ()")]
	public interface DBusObjectManager : GLib.Object {
		[Version (since = "2.30")]
		public abstract GLib.DBusInterface? get_interface (string object_path, string interface_name);
		[Version (since = "2.30")]
		public abstract GLib.DBusObject? get_object (string object_path);
		[Version (since = "2.30")]
		public abstract unowned string get_object_path ();
		[Version (since = "2.30")]
		public abstract GLib.List<GLib.DBusObject> get_objects ();
		[Version (since = "2.30")]
		public virtual signal void interface_added (GLib.DBusObject object, GLib.DBusInterface interface_);
		[Version (since = "2.30")]
		public virtual signal void interface_removed (GLib.DBusObject object, GLib.DBusInterface interface_);
		[Version (since = "2.30")]
		public virtual signal void object_added (GLib.DBusObject object);
		[Version (since = "2.30")]
		public virtual signal void object_removed (GLib.DBusObject object);
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GDatagramBasedInterface", type_id = "g_datagram_based_get_type ()")]
	[Version (since = "2.48")]
	public interface DatagramBased : GLib.Object {
		public GLib.IOCondition condition_check (GLib.IOCondition condition);
		public bool condition_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.DatagramBasedSource create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
		[CCode (vfunc_name = "condition_check")]
		[NoWrapper]
		public virtual GLib.IOCondition datagram_condition_check (GLib.IOCondition condition);
		[CCode (vfunc_name = "condition_wait")]
		[NoWrapper]
		public virtual bool datagram_condition_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "create_source")]
		[NoWrapper]
		public virtual GLib.DatagramBasedSource datagram_create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
		[CCode (vfunc_name = "receive_messages")]
		[NoWrapper]
		public virtual int datagram_receive_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.InputMessage[] messages, int flags, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "send_messages")]
		[NoWrapper]
		public virtual int datagram_send_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.OutputMessage[] messages, int flags, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public int receive_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.InputMessage[] messages, int flags, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public int send_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.OutputMessage[] messages, int flags, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GDebugControllerInterface", type_id = "g_debug_controller_get_type ()")]
	[Version (since = "2.72")]
	public interface DebugController : GLib.Initable, GLib.Object {
		public bool get_debug_enabled ();
		public void set_debug_enabled (bool debug_enabled);
		[ConcreteAccessor]
		public abstract bool debug_enabled { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_drive_get_type ()")]
	public interface Drive : GLib.Object {
		public abstract bool can_eject ();
		public abstract bool can_poll_for_media ();
		[Version (since = "2.22")]
		public abstract bool can_start ();
		[Version (since = "2.22")]
		public abstract bool can_start_degraded ();
		[Version (since = "2.22")]
		public abstract bool can_stop ();
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		public abstract string[] enumerate_identifiers ();
		public abstract GLib.Icon get_icon ();
		public abstract string? get_identifier (string kind);
		public abstract string get_name ();
		[Version (since = "2.32")]
		public virtual unowned string? get_sort_key ();
		[Version (since = "2.22")]
		public abstract GLib.DriveStartStopType get_start_stop_type ();
		[Version (since = "2.34")]
		public abstract GLib.Icon get_symbolic_icon ();
		public abstract GLib.List<GLib.Volume> get_volumes ();
		public abstract bool has_media ();
		public abstract bool has_volumes ();
		public abstract bool is_media_check_automatic ();
		public abstract bool is_media_removable ();
		[Version (since = "2.50")]
		public abstract bool is_removable ();
		public abstract async bool poll_for_media (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool start (GLib.DriveStartFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool stop (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual signal void changed ();
		public virtual signal void disconnected ();
		public virtual signal void eject_button ();
		[Version (since = "2.22")]
		public virtual signal void stop_button ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsClientConnectionInterface", type_id = "g_dtls_client_connection_get_type ()")]
	[Version (since = "2.48")]
	public interface DtlsClientConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
		public GLib.List<GLib.ByteArray> get_accepted_cas ();
		public unowned GLib.SocketConnectable get_server_identity ();
		[Version (deprecated = true, deprecated_since = "2.74", since = "2.48")]
		public GLib.TlsCertificateFlags get_validation_flags ();
		public static GLib.DtlsClientConnection @new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
		public void set_server_identity (GLib.SocketConnectable identity);
		[Version (deprecated = true, deprecated_since = "2.74", since = "2.48")]
		public void set_validation_flags (GLib.TlsCertificateFlags flags);
		[ConcreteAccessor]
		public abstract GLib.List<void*> accepted_cas { owned get; }
		[ConcreteAccessor]
		public abstract GLib.SocketConnectable server_identity { get; set construct; }
		[ConcreteAccessor]
		[Version (deprecated = true, deprecated_since = "2.74", since = "2.48")]
		public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsConnectionInterface", type_id = "g_dtls_connection_get_type ()")]
	[Version (since = "2.48")]
	public interface DtlsConnection : GLib.DatagramBased, GLib.Object {
		public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
		public unowned GLib.TlsCertificate? get_certificate ();
		[CCode (vfunc_name = "get_binding_data")]
		[Version (since = "2.66")]
		public virtual bool get_channel_binding_data (GLib.TlsChannelBindingType type, out unowned GLib.ByteArray data) throws GLib.TlsChannelBindingError;
		[Version (since = "2.70")]
		public string? get_ciphersuite_name ();
		public unowned GLib.TlsDatabase? get_database ();
		public unowned GLib.TlsInteraction? get_interaction ();
		[Version (since = "2.60")]
		public abstract unowned string? get_negotiated_protocol ();
		public unowned GLib.TlsCertificate? get_peer_certificate ();
		public GLib.TlsCertificateFlags get_peer_certificate_errors ();
		[Version (since = "2.70")]
		public GLib.TlsProtocolVersion get_protocol_version ();
		[Version (deprecated = true, deprecated_since = "2.64.", since = "2.48")]
		public GLib.TlsRehandshakeMode get_rehandshake_mode ();
		public bool get_require_close_notify ();
		public abstract bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public abstract void set_advertised_protocols ([CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
		public void set_certificate (GLib.TlsCertificate certificate);
		public void set_database (GLib.TlsDatabase? database);
		public void set_interaction (GLib.TlsInteraction? interaction);
		[Version (deprecated = true, deprecated_since = "2.60.", since = "2.48")]
		public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
		public void set_require_close_notify (bool require_close_notify);
		public abstract bool shutdown (bool shutdown_read, bool shutdown_write, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async bool shutdown_async (bool shutdown_read, bool shutdown_write, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[NoAccessorMethod]
		[Version (since = "2.60")]
		public abstract string[] advertised_protocols { owned get; set; }
		[NoAccessorMethod]
		public abstract GLib.DatagramBased base_socket { owned get; construct; }
		[ConcreteAccessor]
		public abstract GLib.TlsCertificate certificate { get; set; }
		[ConcreteAccessor]
		[Version (since = "2.70")]
		public abstract string ciphersuite_name { owned get; }
		[ConcreteAccessor]
		public abstract GLib.TlsDatabase database { get; set; }
		[ConcreteAccessor]
		public abstract GLib.TlsInteraction interaction { get; set; }
		[Version (since = "2.60")]
		public abstract string negotiated_protocol { get; }
		[ConcreteAccessor]
		public abstract GLib.TlsCertificate peer_certificate { get; }
		[ConcreteAccessor]
		public abstract GLib.TlsCertificateFlags peer_certificate_errors { get; }
		[ConcreteAccessor]
		[Version (since = "2.70")]
		public abstract GLib.TlsProtocolVersion protocol_version { get; }
		[ConcreteAccessor]
		[Version (deprecated = true, deprecated_since = "2.60", since = "2.48")]
		public abstract GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
		[ConcreteAccessor]
		public abstract bool require_close_notify { get; set construct; }
		public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsServerConnectionInterface", type_id = "g_dtls_server_connection_get_type ()")]
	[Version (since = "2.48")]
	public interface DtlsServerConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
		public static GLib.DtlsServerConnection @new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
		[NoAccessorMethod]
		public abstract GLib.TlsAuthenticationMode authentication_mode { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_file_get_type ()")]
	public interface File : GLib.Object {
		public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileOutputStream append_to_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.68")]
		public string build_attribute_list_for_copy (GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
		public virtual async bool copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
		public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileOutputStream create_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract GLib.FileIOStream create_readwrite (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual async GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "delete_file")]
		public abstract bool @delete (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "delete_file_async")]
		[Version (since = "2.34")]
		public virtual async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.File dup ();
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool eject_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileEnumerator enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool equal (GLib.File file2);
		public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.Mount find_enclosing_mount_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract string? get_basename ();
		public GLib.File get_child (string name);
		public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
		public abstract GLib.File? get_parent ();
		public abstract string get_parse_name ();
		public abstract string? get_path ();
		public abstract string? get_relative_path (GLib.File descendant);
		public abstract string get_uri ();
		public abstract string? get_uri_scheme ();
		[Version (since = "2.24")]
		public bool has_parent (GLib.File? parent);
		[CCode (vfunc_name = "prefix_matches")]
		public abstract bool has_prefix (GLib.File file);
		public abstract bool has_uri_scheme (string uri_scheme);
		public abstract uint hash ();
		public abstract bool is_native ();
		[Version (since = "2.56")]
		public GLib.Bytes load_bytes (GLib.Cancellable? cancellable = null, out string? etag_out = null) throws GLib.Error;
		[Version (since = "2.56")]
		public async GLib.Bytes load_bytes_async (GLib.Cancellable? cancellable = null, out string? etag_out) throws GLib.Error;
		public bool load_contents (GLib.Cancellable? cancellable, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string? etag_out) throws GLib.Error;
		public async bool load_contents_async (GLib.Cancellable? cancellable = null, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string? etag_out) throws GLib.Error;
		public async bool load_partial_contents_async (GLib.Cancellable? cancellable = null, [CCode (delegate_target_pos = -0.9)] GLib.FileReadMoreCallback read_more_callback, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
		public abstract bool make_directory (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.38")]
		public virtual async bool make_directory_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.18")]
		public bool make_directory_with_parents (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.74")]
		public virtual async bool make_symbolic_link_async (string symlink_value, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.38")]
		public virtual bool measure_disk_usage (GLib.FileMeasureFlags flags, GLib.Cancellable? cancellable, [CCode (delegate_target_pos = 3.5)] GLib.FileMeasureProgressCallback? progress_callback, out uint64 disk_usage, out uint64 num_dirs, out uint64 num_files) throws GLib.Error;
		[Version (since = "2.38")]
		public virtual async bool measure_disk_usage_async (GLib.FileMeasureFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.FileMeasureProgressCallback? progress_callback, out uint64 disk_usage, out uint64 num_dirs, out uint64 num_files) throws GLib.Error;
		[Version (since = "2.18")]
		public GLib.FileMonitor monitor (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "monitor_dir")]
		public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public abstract GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
		[Version (since = "2.72")]
		public virtual async bool move_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
		[Version (since = "2.56")]
		public static GLib.File new_build_filename (string first_element, ...);
		[Version (since = "2.78")]
		public static GLib.File new_build_filenamev ([CCode (array_length = false, array_null_terminated = true)] string[] args);
		public static GLib.File new_for_commandline_arg (string arg);
		[Version (since = "2.36")]
		public static GLib.File new_for_commandline_arg_and_cwd (string arg, string cwd);
		public static GLib.File new_for_path (string path);
		public static GLib.File new_for_uri (string uri);
		[Version (since = "2.32")]
		public static GLib.File new_tmp (string? tmpl, out GLib.FileIOStream iostream) throws GLib.Error;
		[Version (since = "2.74")]
		public static async GLib.File new_tmp_async (string? tmpl, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out GLib.FileIOStream iostream) throws GLib.Error;
		[Version (since = "2.74")]
		public static async GLib.File new_tmp_dir_async (string? tmpl, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual async GLib.FileIOStream open_readwrite_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.File parse_name (string parse_name);
		[Version (since = "2.56")]
		public unowned string? peek_path ();
		[Version (since = "2.22")]
		public abstract async bool poll_mountable (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.60")]
		public async GLib.AppInfo query_default_handler_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool query_exists (GLib.Cancellable? cancellable = null);
		[Version (since = "2.18")]
		public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null);
		public abstract GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInfo query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "read_fn")]
		public abstract GLib.FileInputStream read (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileInputStream read_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.FileOutputStream replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool replace_contents ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize", type = "const char*")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string? new_etag, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize", type = "const char*")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string? new_etag) throws GLib.Error;
		[CCode (finish_name = "g_file_replace_contents_finish")]
		[Version (since = "2.40")]
		public async bool replace_contents_bytes_async (GLib.Bytes contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string? new_etag) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public virtual async GLib.FileIOStream replace_readwrite_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.File resolve_relative_path (string relative_path);
		public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_int32 (string attribute, int32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_int64 (string attribute, int64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_uint32 (string attribute, uint32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async bool set_attributes_async (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out GLib.FileInfo info_out) throws GLib.Error;
		public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public virtual async GLib.File set_display_name_async (string display_name, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool start_mountable (GLib.DriveStartFlags flags, GLib.MountOperation? start_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool stop_mountable (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public bool supports_thread_contexts ();
		public abstract bool trash (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.38")]
		public virtual async bool trash_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool unmount_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_icon_get_type ()")]
	public interface Icon : GLib.Object {
		[Version (since = "2.38")]
		public static GLib.Icon? deserialize (GLib.Variant value);
		public abstract bool equal (GLib.Icon? icon2);
		[NoWrapper]
		public virtual GLib.Icon? from_tokens (string[] tokens, int version) throws GLib.Error;
		public abstract uint hash ();
		[Version (since = "2.20")]
		public static GLib.Icon? new_for_string (string str) throws GLib.Error;
		[Version (since = "2.38")]
		public virtual GLib.Variant? serialize ();
		[Version (since = "2.20")]
		public string? to_string ();
		[NoWrapper]
		public virtual bool to_tokens (GLib.GenericArray<string> tokens, out int out_version);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_initable_get_type ()")]
	[Version (since = "2.22")]
	public interface Initable : GLib.Object {
		public abstract bool init (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.Object @new (GLib.Type object_type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
		public static GLib.Object new_valist (GLib.Type object_type, string first_property_name, va_list var_args, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
		public static GLib.Object newv (GLib.Type object_type, [CCode (array_length_cname = "n_parameters", array_length_pos = 1.5, array_length_type = "guint")] GLib.Parameter[] parameters, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = "g_list_model_get_type ()")]
	public interface ListModel : GLib.Object {
		[Version (since = "2.44")]
		public abstract GLib.Object? get_item (uint position);
		[Version (since = "2.44")]
		public abstract GLib.Type get_item_type ();
		[Version (since = "2.44")]
		public abstract uint get_n_items ();
		[Version (since = "2.44")]
		public GLib.Object? get_object (uint position);
		[HasEmitter]
		[Version (since = "2.44")]
		public signal void items_changed (uint position, uint removed, uint added);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_loadable_icon_get_type ()")]
	public interface LoadableIcon : GLib.Icon, GLib.Object {
		public abstract GLib.InputStream load (int size, out string? type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async GLib.InputStream load_async (int size, GLib.Cancellable? cancellable = null, out string? type = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GMemoryMonitorInterface", type_id = "g_memory_monitor_get_type ()")]
	[Version (since = "2.64")]
	public interface MemoryMonitor : GLib.Initable, GLib.Object {
		public static GLib.MemoryMonitor dup_default ();
		public virtual signal void low_memory_warning (GLib.MemoryMonitorWarningLevel level);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_mount_get_type ()")]
	public interface Mount : GLib.Object {
		public abstract bool can_eject ();
		public abstract bool can_unmount ();
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract GLib.File get_default_location ();
		public abstract GLib.Drive? get_drive ();
		public abstract GLib.Icon get_icon ();
		public abstract string get_name ();
		public abstract GLib.File get_root ();
		[Version (since = "2.32")]
		public virtual unowned string? get_sort_key ();
		[Version (since = "2.34")]
		public abstract GLib.Icon get_symbolic_icon ();
		public abstract string? get_uuid ();
		public abstract GLib.Volume? get_volume ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.18")]
		public abstract async string[] guess_content_type (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.18")]
		public abstract string[] guess_content_type_sync (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.20")]
		public bool is_shadowed ();
		public abstract async bool remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.20")]
		public void shadow ();
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool unmount_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.20")]
		public void unshadow ();
		public virtual signal void changed ();
		[Version (since = "2.22")]
		public virtual signal void pre_unmount ();
		public virtual signal void unmounted ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GNetworkMonitorInterface", type_id = "g_network_monitor_get_type ()")]
	[Version (since = "2.32")]
	public interface NetworkMonitor : GLib.Initable, GLib.Object {
		public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async bool can_reach_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.44")]
		public GLib.NetworkConnectivity get_connectivity ();
		public static unowned GLib.NetworkMonitor get_default ();
		public bool get_network_available ();
		[Version (since = "2.46")]
		public bool get_network_metered ();
		[ConcreteAccessor]
		[Version (since = "2.44")]
		public abstract GLib.NetworkConnectivity connectivity { get; }
		[ConcreteAccessor]
		public abstract bool network_available { get; }
		[ConcreteAccessor]
		[Version (since = "2.46")]
		public abstract bool network_metered { get; }
		public virtual signal void network_changed (bool network_available);
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableInputStreamInterface", type_id = "g_pollable_input_stream_get_type ()")]
	[Version (since = "2.28")]
	public interface PollableInputStream : GLib.InputStream {
		public abstract bool can_poll ();
		public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
		public abstract bool is_readable ();
		public ssize_t read_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "read_nonblocking")]
		[NoWrapper]
		public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buffer) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
	[Version (since = "2.28")]
	public interface PollableOutputStream : GLib.OutputStream {
		public abstract bool can_poll ();
		public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
		public abstract bool is_writable ();
		public ssize_t write_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "write_nonblocking")]
		[NoWrapper]
		public abstract ssize_t write_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[]? buffer) throws GLib.Error;
		[Version (since = "2.60")]
		public GLib.PollableReturn writev_nonblocking ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (vfunc_name = "writev_nonblocking")]
		[NoWrapper]
		[Version (since = "2.60")]
		public abstract GLib.PollableReturn writev_nonblocking_fn ([CCode (array_length_cname = "n_vectors", array_length_pos = 1.5, array_length_type = "gsize")] GLib.OutputVector[] vectors, out size_t bytes_written) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GPowerProfileMonitorInterface", type_id = "g_power_profile_monitor_get_type ()")]
	[Version (since = "2.70")]
	public interface PowerProfileMonitor : GLib.Initable, GLib.Object {
		public static GLib.PowerProfileMonitor dup_default ();
		public bool get_power_saver_enabled ();
		[ConcreteAccessor]
		public abstract bool power_saver_enabled { get; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyInterface", type_id = "g_proxy_get_type ()")]
	[Version (since = "2.26")]
	public interface Proxy : GLib.Object {
		public abstract GLib.IOStream connect (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract async GLib.IOStream connect_async (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public static GLib.Proxy? get_default_for_protocol (string protocol);
		public abstract bool supports_hostname ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyResolverInterface", type_id = "g_proxy_resolver_get_type ()")]
	[Version (since = "2.26")]
	public interface ProxyResolver : GLib.Object {
		public static unowned GLib.ProxyResolver get_default ();
		public abstract bool is_supported ();
		[CCode (array_length = false, array_null_terminated = true)]
		public abstract string[] lookup (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		public abstract async string[] lookup_async (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GRemoteActionGroupInterface", type_id = "g_remote_action_group_get_type ()")]
	[Version (since = "2.32")]
	public interface RemoteActionGroup : GLib.ActionGroup, GLib.Object {
		public abstract void activate_action_full (string action_name, GLib.Variant? parameter, GLib.Variant platform_data);
		public abstract void change_action_state_full (string action_name, GLib.Variant value, GLib.Variant platform_data);
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_seekable_get_type ()")]
	public interface Seekable : GLib.Object {
		public abstract bool can_seek ();
		public abstract bool can_truncate ();
		public abstract bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract int64 tell ();
		[CCode (vfunc_name = "truncate_fn")]
		public abstract bool truncate (int64 offset, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_connectable_get_type ()")]
	public interface SocketConnectable : GLib.Object {
		[Version (since = "2.22")]
		public abstract GLib.SocketAddressEnumerator enumerate ();
		[Version (since = "2.26")]
		public abstract GLib.SocketAddressEnumerator proxy_enumerate ();
		[Version (since = "2.48")]
		public abstract string to_string ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsBackendInterface", type_id = "g_tls_backend_get_type ()")]
	[Version (since = "2.28")]
	public interface TlsBackend : GLib.Object {
		public abstract GLib.Type get_certificate_type ();
		public abstract GLib.Type get_client_connection_type ();
		public static unowned GLib.TlsBackend get_default ();
		[Version (since = "2.30")]
		public abstract GLib.TlsDatabase get_default_database ();
		[Version (since = "2.48")]
		public GLib.Type get_dtls_client_connection_type ();
		[Version (since = "2.48")]
		public GLib.Type get_dtls_server_connection_type ();
		[Version (since = "2.30")]
		public abstract GLib.Type get_file_database_type ();
		public abstract GLib.Type get_server_connection_type ();
		[Version (since = "2.60")]
		public void set_default_database (GLib.TlsDatabase? database);
		[Version (since = "2.48")]
		public abstract bool supports_dtls ();
		public abstract bool supports_tls ();
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsClientConnectionInterface", type_id = "g_tls_client_connection_get_type ()")]
	[Version (since = "2.28")]
	public interface TlsClientConnection : GLib.TlsConnection {
		[Version (since = "2.46")]
		public abstract void copy_session_state (GLib.TlsClientConnection source);
		public GLib.List<GLib.ByteArray> get_accepted_cas ();
		public unowned GLib.SocketConnectable? get_server_identity ();
		[Version (deprecated = true, deprecated_since = "2.56", since = "2.28")]
		public bool get_use_ssl3 ();
		[Version (deprecated = true, deprecated_since = "2.72", since = "2.28")]
		public GLib.TlsCertificateFlags get_validation_flags ();
		public static GLib.TlsClientConnection? @new (GLib.IOStream base_io_stream, GLib.SocketConnectable? server_identity) throws GLib.Error;
		public void set_server_identity (GLib.SocketConnectable identity);
		[Version (deprecated = true, deprecated_since = "2.56", since = "2.28")]
		public void set_use_ssl3 (bool use_ssl3);
		[Version (deprecated = true, deprecated_since = "2.72", since = "2.28")]
		public void set_validation_flags (GLib.TlsCertificateFlags flags);
		[ConcreteAccessor]
		public abstract GLib.List<GLib.ByteArray> accepted_cas { owned get; }
		[ConcreteAccessor]
		public abstract GLib.SocketConnectable server_identity { get; set construct; }
		[ConcreteAccessor]
		[Version (deprecated = true, deprecated_since = "2.56", since = "2.28")]
		public abstract bool use_ssl3 { get; set construct; }
		[ConcreteAccessor]
		[Version (deprecated = true, deprecated_since = "2.72", since = "2.28")]
		public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsFileDatabaseInterface", type_id = "g_tls_file_database_get_type ()")]
	[Version (since = "2.30")]
	public interface TlsFileDatabase : GLib.TlsDatabase {
		public static GLib.TlsFileDatabase? @new (string anchors) throws GLib.Error;
		[NoAccessorMethod]
		public abstract string anchors { owned get; set construct; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsServerConnectionInterface", type_id = "g_tls_server_connection_get_type ()")]
	[Version (since = "2.28")]
	public interface TlsServerConnection : GLib.TlsConnection {
		public static GLib.TlsServerConnection? @new (GLib.IOStream base_io_stream, GLib.TlsCertificate? certificate) throws GLib.Error;
		[NoAccessorMethod]
		public abstract GLib.TlsAuthenticationMode authentication_mode { get; set; }
	}
	[CCode (cheader_filename = "gio/gio.h", type_id = "g_volume_get_type ()")]
	public interface Volume : GLib.Object {
		public abstract bool can_eject ();
		public abstract bool can_mount ();
		[Version (deprecated = true, deprecated_since = "2.22")]
		public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		public abstract string[] enumerate_identifiers ();
		[Version (since = "2.18")]
		public abstract GLib.File? get_activation_root ();
		public abstract GLib.Drive? get_drive ();
		public abstract GLib.Icon get_icon ();
		public abstract string? get_identifier (string kind);
		public abstract GLib.Mount? get_mount ();
		public abstract string get_name ();
		[Version (since = "2.32")]
		public virtual unowned string? get_sort_key ();
		[Version (since = "2.34")]
		public abstract GLib.Icon get_symbolic_icon ();
		public abstract string? get_uuid ();
		[CCode (finish_vfunc_name = "mount_finish", vfunc_name = "mount_fn")]
		public abstract async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public abstract bool should_automount ();
		public virtual signal void changed ();
		public virtual signal void removed ();
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	public struct ActionEntry {
		public weak string name;
		[CCode (delegate_target = false)]
		public weak GLib.SimpleActionActivateCallback? activate;
		public weak string? parameter_type;
		public weak string? state;
		[CCode (delegate_target = false)]
		public weak GLib.SimpleActionChangeStateCallback? change_state;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.26")]
	public struct DBusErrorEntry {
		public int error_code;
		public weak string dbus_error_name;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.26")]
	public struct DBusInterfaceVTable {
		[CCode (delegate_target = false)]
		public weak GLib.DBusInterfaceMethodCallFunc method_call;
		[CCode (delegate_target = false)]
		public weak GLib.DBusInterfaceGetPropertyFunc get_property;
		[CCode (delegate_target = false)]
		public weak GLib.DBusInterfaceSetPropertyFunc set_property;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.26")]
	public struct DBusSubtreeVTable {
		[CCode (delegate_target = false)]
		public weak GLib.DBusSubtreeEnumerateFunc enumerate;
		[CCode (delegate_target = false)]
		public weak GLib.DBusSubtreeIntrospectFunc introspect;
		[CCode (delegate_target = false)]
		public weak GLib.DBusSubtreeDispatchFunc dispatch;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	public struct FileAttributeInfo {
		public weak string name;
		public GLib.FileAttributeType type;
		public GLib.FileAttributeInfoFlags flags;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.48")]
	public struct InputMessage {
		public weak GLib.SocketAddress address;
		[CCode (array_length_cname = "num_vectors", array_length_type = "guint")]
		public weak GLib.InputVector[] vectors;
		public uint num_vectors;
		public size_t bytes_received;
		public int flags;
		public GLib.SocketControlMessage*** control_messages;
		public uint* num_control_messages;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.22")]
	public struct InputVector {
		public void* buffer;
		public size_t size;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.44")]
	public struct OutputMessage {
		public weak GLib.SocketAddress address;
		[CCode (array_length_cname = "num_vectors", array_length_type = "guint")]
		public weak GLib.OutputVector[] vectors;
		public uint num_vectors;
		public uint bytes_sent;
		public GLib.SocketControlMessage*** control_messages;
		public uint* num_control_messages;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	[Version (since = "2.22")]
	public struct OutputVector {
		public void* buffer;
		public size_t size;
	}
	[CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
	public struct StaticResource {
		[Version (since = "2.32")]
		public void fini ();
		[Version (since = "2.32")]
		public unowned GLib.Resource get_resource ();
		[Version (since = "2.32")]
		public void init ();
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_APP_INFO_CREATE_", type_id = "g_app_info_create_flags_get_type ()")]
	[Flags]
	public enum AppInfoCreateFlags {
		NONE,
		NEEDS_TERMINAL,
		SUPPORTS_URIS,
		SUPPORTS_STARTUP_NOTIFICATION
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_APPLICATION_", type_id = "g_application_flags_get_type ()")]
	[Flags]
	[Version (since = "2.28")]
	public enum ApplicationFlags {
		FLAGS_NONE,
		DEFAULT_FLAGS,
		IS_SERVICE,
		IS_LAUNCHER,
		HANDLES_OPEN,
		HANDLES_COMMAND_LINE,
		SEND_ENVIRONMENT,
		NON_UNIQUE,
		CAN_OVERRIDE_APP_ID,
		ALLOW_REPLACEMENT,
		REPLACE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_ASK_PASSWORD_", type_id = "g_ask_password_flags_get_type ()")]
	[Flags]
	public enum AskPasswordFlags {
		NEED_PASSWORD,
		NEED_USERNAME,
		NEED_DOMAIN,
		SAVING_SUPPORTED,
		ANONYMOUS_SUPPORTED,
		TCRYPT
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_OWNER_FLAGS_", type_id = "g_bus_name_owner_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum BusNameOwnerFlags {
		NONE,
		ALLOW_REPLACEMENT,
		REPLACE,
		DO_NOT_QUEUE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_WATCHER_FLAGS_", type_id = "g_bus_name_watcher_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum BusNameWatcherFlags {
		NONE,
		AUTO_START
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_TYPE_", type_id = "g_bus_type_get_type ()")]
	[Version (since = "2.26")]
	public enum BusType {
		STARTER,
		NONE,
		SYSTEM,
		SESSION;
		[CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_for_bus_sync")]
		public string get_address_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_", type_id = "g_converter_flags_get_type ()")]
	[Flags]
	[Version (since = "2.24")]
	public enum ConverterFlags {
		[CCode (cname = "G_CONVERTER_NO_FLAGS")]
		NONE,
		INPUT_AT_END,
		FLUSH
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_", type_id = "g_converter_result_get_type ()")]
	[Version (since = "2.24")]
	public enum ConverterResult {
		ERROR,
		CONVERTED,
		FINISHED,
		FLUSHED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_CREDENTIALS_TYPE_", type_id = "g_credentials_type_get_type ()")]
	[Version (since = "2.26")]
	public enum CredentialsType {
		INVALID,
		LINUX_UCRED,
		FREEBSD_CMSGCRED,
		OPENBSD_SOCKPEERCRED,
		SOLARIS_UCRED,
		NETBSD_UNPCBID,
		APPLE_XUCRED,
		WIN32_PID
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CALL_FLAGS_", type_id = "g_dbus_call_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusCallFlags {
		NONE,
		NO_AUTO_START,
		ALLOW_INTERACTIVE_AUTHORIZATION
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CAPABILITY_FLAGS_", type_id = "g_dbus_capability_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusCapabilityFlags {
		NONE,
		UNIX_FD_PASSING
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CONNECTION_FLAGS_", type_id = "g_dbus_connection_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusConnectionFlags {
		NONE,
		AUTHENTICATION_CLIENT,
		AUTHENTICATION_SERVER,
		AUTHENTICATION_ALLOW_ANONYMOUS,
		MESSAGE_BUS_CONNECTION,
		DELAY_MESSAGE_PROCESSING,
		AUTHENTICATION_REQUIRE_SAME_USER,
		CROSS_NAMESPACE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_INTERFACE_SKELETON_FLAGS_", type_id = "g_dbus_interface_skeleton_flags_get_type ()")]
	[Flags]
	[Version (since = "2.30")]
	public enum DBusInterfaceSkeletonFlags {
		NONE,
		HANDLE_METHOD_INVOCATIONS_IN_THREAD
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_BYTE_ORDER_", type_id = "g_dbus_message_byte_order_get_type ()")]
	[Version (since = "2.26")]
	public enum DBusMessageByteOrder {
		BIG_ENDIAN,
		LITTLE_ENDIAN
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_FLAGS_", type_id = "g_dbus_message_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusMessageFlags {
		NONE,
		NO_REPLY_EXPECTED,
		NO_AUTO_START,
		ALLOW_INTERACTIVE_AUTHORIZATION
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_HEADER_FIELD_", type_id = "g_dbus_message_header_field_get_type ()")]
	[Version (since = "2.26")]
	public enum DBusMessageHeaderField {
		INVALID,
		PATH,
		INTERFACE,
		MEMBER,
		ERROR_NAME,
		REPLY_SERIAL,
		DESTINATION,
		SENDER,
		SIGNATURE,
		NUM_UNIX_FDS
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_TYPE_", type_id = "g_dbus_message_type_get_type ()")]
	[Version (since = "2.26")]
	public enum DBusMessageType {
		INVALID,
		METHOD_CALL,
		METHOD_RETURN,
		ERROR,
		SIGNAL
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_", type_id = "g_dbus_object_manager_client_flags_get_type ()")]
	[Flags]
	[Version (since = "2.30")]
	public enum DBusObjectManagerClientFlags {
		NONE,
		DO_NOT_AUTO_START
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROPERTY_INFO_FLAGS_", type_id = "g_dbus_property_info_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusPropertyInfoFlags {
		NONE,
		READABLE,
		WRITABLE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROXY_FLAGS_", type_id = "g_dbus_proxy_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusProxyFlags {
		NONE,
		DO_NOT_LOAD_PROPERTIES,
		DO_NOT_CONNECT_SIGNALS,
		DO_NOT_AUTO_START,
		GET_INVALIDATED_PROPERTIES,
		DO_NOT_AUTO_START_AT_CONSTRUCTION,
		NO_MATCH_RULE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SEND_MESSAGE_FLAGS_", type_id = "g_dbus_send_message_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusSendMessageFlags {
		NONE,
		PRESERVE_SERIAL
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SERVER_FLAGS_", type_id = "g_dbus_server_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusServerFlags {
		NONE,
		RUN_IN_THREAD,
		AUTHENTICATION_ALLOW_ANONYMOUS,
		AUTHENTICATION_REQUIRE_SAME_USER
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SIGNAL_FLAGS_", type_id = "g_dbus_signal_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusSignalFlags {
		NONE,
		NO_MATCH_RULE,
		MATCH_ARG0_NAMESPACE,
		MATCH_ARG0_PATH
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SUBTREE_FLAGS_", type_id = "g_dbus_subtree_flags_get_type ()")]
	[Flags]
	[Version (since = "2.26")]
	public enum DBusSubtreeFlags {
		NONE,
		DISPATCH_TO_UNENUMERATED_NODES
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DATA_STREAM_BYTE_ORDER_", type_id = "g_data_stream_byte_order_get_type ()")]
	public enum DataStreamByteOrder {
		BIG_ENDIAN,
		LITTLE_ENDIAN,
		HOST_ENDIAN
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DATA_STREAM_NEWLINE_TYPE_", type_id = "g_data_stream_newline_type_get_type ()")]
	public enum DataStreamNewlineType {
		LF,
		CR,
		CR_LF,
		ANY
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_", type_id = "g_drive_start_flags_get_type ()")]
	[Flags]
	[Version (since = "2.22")]
	public enum DriveStartFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_STOP_TYPE_", type_id = "g_drive_start_stop_type_get_type ()")]
	[Version (since = "2.22")]
	public enum DriveStartStopType {
		UNKNOWN,
		SHUTDOWN,
		NETWORK,
		MULTIDISK,
		PASSWORD
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_EMBLEM_ORIGIN_", type_id = "g_emblem_origin_get_type ()")]
	[Version (since = "2.18")]
	public enum EmblemOrigin {
		UNKNOWN,
		DEVICE,
		LIVEMETADATA,
		TAG
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_INFO_", type_id = "g_file_attribute_info_flags_get_type ()")]
	[Flags]
	public enum FileAttributeInfoFlags {
		NONE,
		COPY_WITH_FILE,
		COPY_WHEN_MOVED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_STATUS_", type_id = "g_file_attribute_status_get_type ()")]
	public enum FileAttributeStatus {
		UNSET,
		SET,
		ERROR_SETTING
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_TYPE_", type_id = "g_file_attribute_type_get_type ()")]
	public enum FileAttributeType {
		INVALID,
		STRING,
		BYTE_STRING,
		BOOLEAN,
		UINT32,
		INT32,
		UINT64,
		INT64,
		OBJECT,
		STRINGV
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_COPY_", type_id = "g_file_copy_flags_get_type ()")]
	[Flags]
	public enum FileCopyFlags {
		NONE,
		OVERWRITE,
		BACKUP,
		NOFOLLOW_SYMLINKS,
		ALL_METADATA,
		NO_FALLBACK_FOR_MOVE,
		TARGET_DEFAULT_PERMS,
		TARGET_DEFAULT_MODIFIED_TIME
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_CREATE_", type_id = "g_file_create_flags_get_type ()")]
	[Flags]
	public enum FileCreateFlags {
		NONE,
		PRIVATE,
		REPLACE_DESTINATION
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MEASURE_", type_id = "g_file_measure_flags_get_type ()")]
	[Flags]
	[Version (since = "2.38")]
	public enum FileMeasureFlags {
		NONE,
		REPORT_ANY_ERROR,
		APPARENT_SIZE,
		NO_XDEV
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MONITOR_EVENT_", type_id = "g_file_monitor_event_get_type ()")]
	public enum FileMonitorEvent {
		CHANGED,
		CHANGES_DONE_HINT,
		DELETED,
		CREATED,
		ATTRIBUTE_CHANGED,
		PRE_UNMOUNT,
		UNMOUNTED,
		MOVED,
		RENAMED,
		MOVED_IN,
		MOVED_OUT
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MONITOR_", type_id = "g_file_monitor_flags_get_type ()")]
	[Flags]
	public enum FileMonitorFlags {
		NONE,
		WATCH_MOUNTS,
		SEND_MOVED,
		WATCH_HARD_LINKS,
		WATCH_MOVES
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_QUERY_INFO_", type_id = "g_file_query_info_flags_get_type ()")]
	[Flags]
	public enum FileQueryInfoFlags {
		NONE,
		NOFOLLOW_SYMLINKS
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_TYPE_", type_id = "g_file_type_get_type ()")]
	public enum FileType {
		UNKNOWN,
		REGULAR,
		DIRECTORY,
		SYMBOLIC_LINK,
		SPECIAL,
		SHORTCUT,
		MOUNTABLE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILESYSTEM_PREVIEW_TYPE_", type_id = "g_filesystem_preview_type_get_type ()")]
	public enum FilesystemPreviewType {
		IF_ALWAYS,
		IF_LOCAL,
		NEVER
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_MODULE_SCOPE_", type_id = "g_io_module_scope_flags_get_type ()")]
	[Version (since = "2.30")]
	public enum IOModuleScopeFlags {
		NONE,
		BLOCK_DUPLICATES
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_STREAM_SPLICE_", type_id = "g_io_stream_splice_flags_get_type ()")]
	[Flags]
	[Version (since = "2.28")]
	public enum IOStreamSpliceFlags {
		NONE,
		CLOSE_STREAM1,
		CLOSE_STREAM2,
		WAIT_FOR_BOTH
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_MEMORY_MONITOR_WARNING_LEVEL_", type_id = "g_memory_monitor_warning_level_get_type ()")]
	[Version (since = "2.64")]
	public enum MemoryMonitorWarningLevel {
		LOW,
		MEDIUM,
		CRITICAL
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_MOUNT_", type_id = "g_mount_mount_flags_get_type ()")]
	[Flags]
	public enum MountMountFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_OPERATION_", type_id = "g_mount_operation_result_get_type ()")]
	public enum MountOperationResult {
		HANDLED,
		ABORTED,
		UNHANDLED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_UNMOUNT_", type_id = "g_mount_unmount_flags_get_type ()")]
	[Flags]
	public enum MountUnmountFlags {
		NONE,
		FORCE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_NETWORK_CONNECTIVITY_", type_id = "g_network_connectivity_get_type ()")]
	[Version (since = "2.44")]
	public enum NetworkConnectivity {
		LOCAL,
		LIMITED,
		PORTAL,
		FULL
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id = "g_notification_priority_get_type ()")]
	[Version (since = "2.42")]
	public enum NotificationPriority {
		NORMAL,
		LOW,
		HIGH,
		URGENT
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_OUTPUT_STREAM_SPLICE_", type_id = "g_output_stream_splice_flags_get_type ()")]
	[Flags]
	public enum OutputStreamSpliceFlags {
		NONE,
		CLOSE_SOURCE,
		CLOSE_TARGET
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_PASSWORD_SAVE_", type_id = "g_password_save_get_type ()")]
	public enum PasswordSave {
		NEVER,
		FOR_SESSION,
		PERMANENTLY
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_POLLABLE_RETURN_", type_id = "g_pollable_return_get_type ()")]
	[Version (since = "2.60")]
	public enum PollableReturn {
		FAILED,
		OK,
		WOULD_BLOCK
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_NAME_LOOKUP_FLAGS_", type_id = "g_resolver_name_lookup_flags_get_type ()")]
	[Flags]
	[Version (since = "2.60")]
	public enum ResolverNameLookupFlags {
		DEFAULT,
		IPV4_ONLY,
		IPV6_ONLY
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_RECORD_", type_id = "g_resolver_record_type_get_type ()")]
	[Version (since = "2.34")]
	public enum ResolverRecordType {
		SRV,
		MX,
		TXT,
		SOA,
		NS
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_FLAGS_", type_id = "g_resource_flags_get_type ()")]
	[Flags]
	[Version (since = "2.32")]
	public enum ResourceFlags {
		NONE,
		COMPRESSED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_LOOKUP_FLAGS_", type_id = "g_resource_lookup_flags_get_type ()")]
	[Flags]
	[Version (since = "2.32")]
	public enum ResourceLookupFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SETTINGS_BIND_", type_id = "g_settings_bind_flags_get_type ()")]
	[Flags]
	public enum SettingsBindFlags {
		DEFAULT,
		GET,
		SET,
		NO_SENSITIVITY,
		GET_NO_CHANGES,
		INVERT_BOOLEAN
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_CLIENT_", type_id = "g_socket_client_event_get_type ()")]
	[Version (since = "2.32")]
	public enum SocketClientEvent {
		RESOLVING,
		RESOLVED,
		CONNECTING,
		CONNECTED,
		PROXY_NEGOTIATING,
		PROXY_NEGOTIATED,
		TLS_HANDSHAKING,
		TLS_HANDSHAKED,
		COMPLETE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_FAMILY_", type_id = "g_socket_family_get_type ()")]
	[Version (since = "2.22")]
	public enum SocketFamily {
		INVALID,
		UNIX,
		IPV4,
		IPV6
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_LISTENER_", type_id = "g_socket_listener_event_get_type ()")]
	[Version (since = "2.46")]
	public enum SocketListenerEvent {
		BINDING,
		BOUND,
		LISTENING,
		LISTENED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_MSG_", type_id = "g_socket_msg_flags_get_type ()")]
	[Flags]
	[Version (since = "2.22")]
	public enum SocketMsgFlags {
		NONE,
		OOB,
		PEEK,
		DONTROUTE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_PROTOCOL_", type_id = "g_socket_protocol_get_type ()")]
	[Version (since = "2.22")]
	public enum SocketProtocol {
		UNKNOWN,
		DEFAULT,
		TCP,
		UDP,
		SCTP
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_TYPE_", type_id = "g_socket_type_get_type ()")]
	[Version (since = "2.22")]
	public enum SocketType {
		INVALID,
		STREAM,
		DATAGRAM,
		SEQPACKET
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_SUBPROCESS_FLAGS_", type_id = "g_subprocess_flags_get_type ()")]
	[Flags]
	[Version (since = "2.40")]
	public enum SubprocessFlags {
		NONE,
		STDIN_PIPE,
		STDIN_INHERIT,
		STDOUT_PIPE,
		STDOUT_SILENCE,
		STDERR_PIPE,
		STDERR_SILENCE,
		STDERR_MERGE,
		INHERIT_FDS,
		SEARCH_PATH_FROM_ENVP
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TEST_DBUS_", type_id = "g_test_dbus_flags_get_type ()")]
	[Flags]
	[Version (since = "2.34")]
	public enum TestDBusFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_AUTHENTICATION_", type_id = "g_tls_authentication_mode_get_type ()")]
	[Version (since = "2.28")]
	public enum TlsAuthenticationMode {
		NONE,
		REQUESTED,
		REQUIRED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_", type_id = "g_tls_certificate_flags_get_type ()")]
	[Flags]
	[Version (since = "2.28")]
	public enum TlsCertificateFlags {
		NO_FLAGS,
		UNKNOWN_CA,
		BAD_IDENTITY,
		NOT_ACTIVATED,
		EXPIRED,
		REVOKED,
		INSECURE,
		GENERIC_ERROR,
		VALIDATE_ALL
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_REQUEST_", type_id = "g_tls_certificate_request_flags_get_type ()")]
	[Version (since = "2.40")]
	public enum TlsCertificateRequestFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CHANNEL_BINDING_TLS_", type_id = "g_tls_channel_binding_type_get_type ()")]
	[Version (since = "2.66")]
	public enum TlsChannelBindingType {
		UNIQUE,
		SERVER_END_POINT,
		EXPORTER
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_LOOKUP_", type_id = "g_tls_database_lookup_flags_get_type ()")]
	[Version (since = "2.30")]
	public enum TlsDatabaseLookupFlags {
		NONE,
		KEYPAIR
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_VERIFY_", type_id = "g_tls_database_verify_flags_get_type ()")]
	[Flags]
	[Version (since = "2.30")]
	public enum TlsDatabaseVerifyFlags {
		NONE
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_INTERACTION_", type_id = "g_tls_interaction_result_get_type ()")]
	[Version (since = "2.30")]
	public enum TlsInteractionResult {
		UNHANDLED,
		HANDLED,
		FAILED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_PASSWORD_", type_id = "g_tls_password_flags_get_type ()")]
	[Flags]
	[Version (since = "2.30")]
	public enum TlsPasswordFlags {
		NONE,
		RETRY,
		MANY_TRIES,
		FINAL_TRY,
		PKCS11_USER,
		PKCS11_SECURITY_OFFICER,
		PKCS11_CONTEXT_SPECIFIC
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_PROTOCOL_VERSION_", type_id = "g_tls_protocol_version_get_type ()")]
	[Version (since = "2.70")]
	public enum TlsProtocolVersion {
		UNKNOWN,
		SSL_3_0,
		TLS_1_0,
		TLS_1_1,
		TLS_1_2,
		TLS_1_3,
		DTLS_1_0,
		DTLS_1_2
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_REHANDSHAKE_", type_id = "g_tls_rehandshake_mode_get_type ()")]
	[Version (deprecated = true, deprecated_since = "2.60.", since = "2.28")]
	public enum TlsRehandshakeMode {
		NEVER,
		SAFELY,
		UNSAFELY
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_UNIX_SOCKET_ADDRESS_", type_id = "g_unix_socket_address_type_get_type ()")]
	[Version (since = "2.26")]
	public enum UnixSocketAddressType {
		INVALID,
		ANONYMOUS,
		PATH,
		ABSTRACT,
		ABSTRACT_PADDED
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_ZLIB_COMPRESSOR_FORMAT_", type_id = "g_zlib_compressor_format_get_type ()")]
	[Version (since = "2.24")]
	public enum ZlibCompressorFormat {
		ZLIB,
		GZIP,
		RAW
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_ERROR_", type_id = "g_dbus_error_get_type ()")]
	[Version (since = "2.26")]
	public errordomain DBusError {
		FAILED,
		NO_MEMORY,
		SERVICE_UNKNOWN,
		NAME_HAS_NO_OWNER,
		NO_REPLY,
		IO_ERROR,
		BAD_ADDRESS,
		NOT_SUPPORTED,
		LIMITS_EXCEEDED,
		ACCESS_DENIED,
		AUTH_FAILED,
		NO_SERVER,
		TIMEOUT,
		NO_NETWORK,
		ADDRESS_IN_USE,
		DISCONNECTED,
		INVALID_ARGS,
		FILE_NOT_FOUND,
		FILE_EXISTS,
		UNKNOWN_METHOD,
		TIMED_OUT,
		MATCH_RULE_NOT_FOUND,
		MATCH_RULE_INVALID,
		SPAWN_EXEC_FAILED,
		SPAWN_FORK_FAILED,
		SPAWN_CHILD_EXITED,
		SPAWN_CHILD_SIGNALED,
		SPAWN_FAILED,
		SPAWN_SETUP_FAILED,
		SPAWN_CONFIG_INVALID,
		SPAWN_SERVICE_INVALID,
		SPAWN_SERVICE_NOT_FOUND,
		SPAWN_PERMISSIONS_INVALID,
		SPAWN_FILE_INVALID,
		SPAWN_NO_MEMORY,
		UNIX_PROCESS_ID_UNKNOWN,
		INVALID_SIGNATURE,
		INVALID_FILE_CONTENT,
		SELINUX_SECURITY_CONTEXT_UNKNOWN,
		ADT_AUDIT_DATA_UNKNOWN,
		OBJECT_PATH_IN_USE,
		UNKNOWN_OBJECT,
		UNKNOWN_INTERFACE,
		UNKNOWN_PROPERTY,
		PROPERTY_READ_ONLY;
		[CCode (error_pos = 0.8, sentinel = "")]
		public static void set_dbus_error (string dbus_error_name, string dbus_error_message, string? format, ...) throws GLib.DBusError;
		[CCode (error_pos = 0.8)]
		public static void set_dbus_error_valist (string dbus_error_name, string dbus_error_message, string? format, va_list var_args) throws GLib.DBusError;
		public static string encode_gerror (GLib.Error error);
		public static string? get_remote_error (GLib.Error error);
		public static bool is_remote_error (GLib.Error error);
		public static GLib.Error new_for_dbus_error (string dbus_error_name, string dbus_error_message);
		public static GLib.Quark quark ();
		public static bool register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
		public static void register_error_domain (string error_domain_quark_name, size_t quark_volatile, [CCode (array_length_cname = "num_entries", array_length_pos = 3.1, array_length_type = "guint")] GLib.DBusErrorEntry[] entries);
		public static bool strip_remote_error (GLib.Error error);
		public static bool unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
	}
	[CCode (cheader_filename = "gio/gio.h", cname = "GIOErrorEnum", cprefix = "G_IO_ERROR_", type_id = "g_io_error_enum_get_type ()")]
	[GIR (name = "IOErrorEnum")]
	public errordomain IOError {
		FAILED,
		NOT_FOUND,
		EXISTS,
		IS_DIRECTORY,
		NOT_DIRECTORY,
		NOT_EMPTY,
		NOT_REGULAR_FILE,
		NOT_SYMBOLIC_LINK,
		NOT_MOUNTABLE_FILE,
		FILENAME_TOO_LONG,
		INVALID_FILENAME,
		TOO_MANY_LINKS,
		NO_SPACE,
		INVALID_ARGUMENT,
		PERMISSION_DENIED,
		NOT_SUPPORTED,
		NOT_MOUNTED,
		ALREADY_MOUNTED,
		CLOSED,
		CANCELLED,
		PENDING,
		READ_ONLY,
		CANT_CREATE_BACKUP,
		WRONG_ETAG,
		TIMED_OUT,
		WOULD_RECURSE,
		BUSY,
		WOULD_BLOCK,
		HOST_NOT_FOUND,
		WOULD_MERGE,
		FAILED_HANDLED,
		TOO_MANY_OPEN_FILES,
		NOT_INITIALIZED,
		ADDRESS_IN_USE,
		PARTIAL_INPUT,
		INVALID_DATA,
		DBUS_ERROR,
		HOST_UNREACHABLE,
		NETWORK_UNREACHABLE,
		CONNECTION_REFUSED,
		PROXY_FAILED,
		PROXY_AUTH_FAILED,
		PROXY_NEED_AUTH,
		PROXY_NOT_ALLOWED,
		BROKEN_PIPE,
		CONNECTION_CLOSED,
		NOT_CONNECTED,
		MESSAGE_TOO_LARGE,
		NO_SUCH_DEVICE,
		DESTINATION_UNSET;
		[CCode (cname = "vala_g_io_error_from_errno")]
		public static GLib.IOError from_errno (int err_no) {
			return (GLib.IOError) new GLib.Error (GLib.IOError.quark (), GLib.IOError._from_errno (err_no), "%s", GLib.strerror (err_no));
		}
		[CCode (cname = "g_io_error_from_win32_error")]
		public static int _from_win32_error (int error_code);
		[CCode (cname = "vala_g_io_error_from_win32_error")]
		public static GLib.IOError from_win32_error (int error_code) {
			return (GLib.IOError) new GLib.Error (GLib.IOError.quark (), GLib.IOError._from_win32_error (error_code), "%s", GLib.Win32.error_message (error_code));
		}
		[CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_from_errno")]
		public static int _from_errno (int err_no);
		[CCode (cheader_filename = "gio/gio.h")]
		[Version (since = "2.74")]
		public static unowned GLib.IOError from_file_error (GLib.FileError file_error);
		[CCode (cheader_filename = "gio/gio.h")]
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_ERROR_", type_id = "g_resolver_error_get_type ()")]
	[Version (since = "2.22")]
	public errordomain ResolverError {
		NOT_FOUND,
		TEMPORARY_FAILURE,
		INTERNAL;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_ERROR_", type_id = "g_resource_error_get_type ()")]
	[Version (since = "2.32")]
	public errordomain ResourceError {
		NOT_FOUND,
		INTERNAL;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CHANNEL_BINDING_ERROR_", type_id = "g_tls_channel_binding_error_get_type ()")]
	[Version (since = "2.66")]
	public errordomain TlsChannelBindingError {
		NOT_IMPLEMENTED,
		INVALID_STATE,
		NOT_AVAILABLE,
		NOT_SUPPORTED,
		GENERAL_ERROR;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_", type_id = "g_tls_error_get_type ()")]
	[Version (since = "2.28")]
	public errordomain TlsError {
		UNAVAILABLE,
		MISC,
		BAD_CERTIFICATE,
		NOT_TLS,
		HANDSHAKE,
		CERTIFICATE_REQUIRED,
		EOF,
		INAPPROPRIATE_FALLBACK,
		BAD_CERTIFICATE_PASSWORD;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.26")]
	public delegate void BusAcquiredCallback (GLib.DBusConnection connection, string name);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.26")]
	public delegate void BusNameAcquiredCallback (GLib.DBusConnection connection, string name);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
	[Version (since = "2.26")]
	public delegate void BusNameAppearedCallback (GLib.DBusConnection connection, string name, string name_owner);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.26")]
	public delegate void BusNameLostCallback (GLib.DBusConnection connection, string name);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.26")]
	public delegate void BusNameVanishedCallback (GLib.DBusConnection connection, string name);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
	[Version (since = "2.28")]
	public delegate bool CancellableSourceFunc (GLib.Cancellable? cancellable = null);
	[CCode (cheader_filename = "gio/gio.h", error_pos = 5.8, instance_pos = 5.9)]
	[Version (since = "2.26")]
	public delegate GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
	[Version (since = "2.26")]
	public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, owned GLib.DBusMethodInvocation invocation);
	[CCode (cheader_filename = "gio/gio.h", error_pos = 6.8, instance_pos = 6.9)]
	[Version (since = "2.26")]
	public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
	[Version (since = "2.26")]
	public delegate GLib.DBusMessage? DBusMessageFilterFunction (GLib.DBusConnection connection, owned GLib.DBusMessage message, bool incoming);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
	[Version (since = "2.30")]
	public delegate GLib.Type DBusProxyTypeFunc (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
	[Version (since = "2.26")]
	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", instance_pos = 6.9)]
	[Version (since = "2.26")]
	public delegate unowned GLib.DBusInterfaceVTable? DBusSubtreeDispatchFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data);
	[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h", instance_pos = 3.9)]
	[Version (since = "2.26")]
	public delegate string[] DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
	[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h", instance_pos = 4.9)]
	[Version (since = "2.26")]
	public delegate GLib.DBusInterfaceInfo[]? DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.48")]
	public delegate bool DatagramBasedSourceFunc (GLib.DatagramBased datagram_based, GLib.IOCondition condition);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 4.9)]
	[Version (since = "2.38")]
	public delegate void FileMeasureProgressCallback (bool reporting, uint64 current_size, uint64 num_dirs, uint64 num_files);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate bool FileReadMoreCallback (string file_contents, int64 file_size);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (deprecated = true, deprecated_since = "2.36")]
	public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable? cancellable = null);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
	[Version (since = "2.28")]
	public delegate bool PollableSourceFunc (GLib.Object pollable_stream);
	[CCode (cheader_filename = "gio/gio.h", has_target = false)]
	public delegate void* ReallocFunc (void* data, size_t size);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate bool SettingsBindGetMapping (GLib.Value value, GLib.Variant variant);
	[CCode (cheader_filename = "gio/gio.h", cname = "GSettingsBindGetMapping", has_target = false)]
	public delegate bool SettingsBindGetMappingShared (GLib.Value value, GLib.Variant variant, void* user_data);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate GLib.Variant SettingsBindSetMapping (GLib.Value value, GLib.VariantType expected_type);
	[CCode (cheader_filename = "gio/gio.h", cname = "GSettingsBindSetMapping", has_target = false)]
	public delegate GLib.Variant SettingsBindSetMappingShared (GLib.Value value, GLib.VariantType expected_type, void* user_data);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	public delegate bool SettingsGetMapping (GLib.Variant value, out void* result);
	[CCode (cheader_filename = "gio/gio.h", has_typedef = false)]
	public delegate void SimpleActionActivateCallback (GLib.SimpleAction action, GLib.Variant? parameter);
	[CCode (cheader_filename = "gio/gio.h", has_typedef = false)]
	public delegate void SimpleActionChangeStateCallback (GLib.SimpleAction action, GLib.Variant value);
	[CCode (cheader_filename = "gio/gio.h", has_target = false)]
	public delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable? cancellable = null);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.22")]
	public delegate bool SocketSourceFunc (GLib.Socket socket, GLib.IOCondition condition);
	[CCode (cheader_filename = "gio/gio.h", cname = "GAsyncReadyCallback", instance_pos = 2.9)]
	public delegate void TaskReadyCallback (GLib.Object? source_object, GLib.Task task);
	[CCode (cheader_filename = "gio/gio.h", cname = "GSourceFunc", has_target = false)]
	public delegate bool TaskSourceFunc (GLib.Task task);
	[CCode (cheader_filename = "gio/gio.h", has_target = false)]
	[Version (since = "2.36")]
	public delegate void TaskThreadFunc (GLib.Task task, GLib.Object source_object, void* task_data, GLib.Cancellable? cancellable = null);
	[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
	[Version (since = "2.50")]
	public delegate GLib.File VfsFileLookupFunc (GLib.Vfs vfs, string identifier);
	[CCode (cheader_filename = "glib.h", cname = "g_realloc")]
	public static GLib.ReallocFunc g_realloc;
	[CCode (cheader_filename = "gio/gio.h", cname = "G_DBUS_METHOD_INVOCATION_HANDLED")]
	[Version (since = "2.68")]
	public const bool DBUS_METHOD_INVOCATION_HANDLED;
	[CCode (cheader_filename = "gio/gio.h", cname = "G_DBUS_METHOD_INVOCATION_UNHANDLED")]
	[Version (since = "2.68")]
	public const bool DBUS_METHOD_INVOCATION_UNHANDLED;
	[CCode (cheader_filename = "gio/gio.h", cname = "G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE")]
	[Version (since = "2.58")]
	public const string DRIVE_IDENTIFIER_KIND_UNIX_DEVICE;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "Action.name_is_valid", since = "2.38")]
	public static bool action_name_is_valid (string action_name);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "Action.parse_detailed_name", since = "2.38")]
	public static bool action_parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant? target_value) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "Action.print_detailed_name", since = "2.38")]
	public static string action_print_detailed_name (string action_name, GLib.Variant? target_value);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "DtlsClientConnection.new", since = "2.48")]
	public static GLib.DtlsClientConnection dtls_client_connection_new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "DtlsServerConnection.new", since = "2.48")]
	public static GLib.DtlsServerConnection dtls_server_connection_new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "IOExtensionPoint.implement")]
	public static unowned GLib.IOExtension io_extension_point_implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "IOExtensionPoint.lookup")]
	public static unowned GLib.IOExtensionPoint io_extension_point_lookup (string name);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "IOExtensionPoint.register")]
	public static unowned GLib.IOExtensionPoint io_extension_point_register (string name);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "MemoryMonitor.dup_default", since = "2.64")]
	public static GLib.MemoryMonitor memory_monitor_dup_default ();
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.36")]
	public static void networking_init ();
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.34")]
	public static ssize_t pollable_stream_read (GLib.InputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.34")]
	public static ssize_t pollable_stream_write (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.34")]
	public static bool pollable_stream_write_all (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "PowerProfileMonitor.dup_default", since = "2.70")]
	public static GLib.PowerProfileMonitor power_profile_monitor_dup_default ();
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "ResolverError.quark", since = "2.22")]
	public static GLib.Quark resolver_error_quark ();
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "ResourceError.quark", since = "2.32")]
	public static GLib.Quark resource_error_quark ();
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "Resource.load", since = "2.32")]
	public static GLib.Resource resource_load (string filename) throws GLib.Error;
	[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static string[] resources_enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static bool resources_get_info (string path, GLib.ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static GLib.Bytes resources_lookup_data (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static GLib.InputStream resources_open_stream (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static void resources_register (GLib.Resource resource);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (since = "2.32")]
	public static void resources_unregister (GLib.Resource resource);
	[CCode (cheader_filename = "gio/gio.h")]
	[Version (replacement = "SettingsSchemaSource.get_default", since = "2.32")]
	public static unowned GLib.SettingsSchemaSource? settings_schema_source_get_default ();
}
