Release 0.36.14
[vala-gnome.git] / vapi / gio-2.0.vapi
blob91a08596f9a25e2a2c8b7463964844da8e18046e
1 /* gio-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "G", gir_namespace = "Gio", gir_version = "2.0", lower_case_cprefix = "g_")]
4 namespace GLib {
5         namespace Bus {
6                 [CCode (cheader_filename = "gio/gio.h")]
7                 public static async GLib.DBusConnection @get (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
8                 [CCode (cheader_filename = "gio/gio.h")]
9                 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;
10                 [CCode (cheader_filename = "gio/gio.h")]
11                 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;
12                 [CCode (cheader_filename = "gio/gio.h")]
13                 public static GLib.DBusConnection get_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
14                 [CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_with_closures")]
15                 [Version (since = "2.26")]
16                 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);
17                 [CCode (cheader_filename = "gio/gio.h", cname = "g_bus_own_name_on_connection_with_closures")]
18                 [Version (since = "2.26")]
19                 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);
20                 [CCode (cheader_filename = "gio/gio.h")]
21                 [Version (since = "2.26")]
22                 public static void unown_name (uint owner_id);
23                 [CCode (cheader_filename = "gio/gio.h")]
24                 [Version (since = "2.26")]
25                 public static void unwatch_name (uint watcher_id);
26                 [CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_with_closures")]
27                 [Version (since = "2.26")]
28                 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);
29                 [CCode (cheader_filename = "gio/gio.h", cname = "g_bus_watch_name_on_connection_with_closures")]
30                 [Version (since = "2.26")]
31                 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);
32         }
33         namespace ContentType {
34                 [CCode (cheader_filename = "gio/gio.h")]
35                 public static bool can_be_executable (string type);
36                 [CCode (cheader_filename = "gio/gio.h")]
37                 public static bool equals (string type1, string type2);
38                 [CCode (cheader_filename = "gio/gio.h")]
39                 [Version (since = "2.18")]
40                 public static string? from_mime_type (string mime_type);
41                 [CCode (cheader_filename = "gio/gio.h")]
42                 public static string get_description (string type);
43                 [CCode (cheader_filename = "gio/gio.h")]
44                 [Version (since = "2.34")]
45                 public static string? get_generic_icon_name (string type);
46                 [CCode (cheader_filename = "gio/gio.h")]
47                 public static GLib.Icon get_icon (string type);
48                 [CCode (cheader_filename = "gio/gio.h")]
49                 public static string? get_mime_type (string type);
50                 [CCode (cheader_filename = "gio/gio.h")]
51                 [Version (since = "2.34")]
52                 public static GLib.Icon get_symbolic_icon (string type);
53                 [CCode (cheader_filename = "gio/gio.h")]
54                 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);
55                 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
56                 [Version (since = "2.18")]
57                 public static string[] guess_for_tree (GLib.File root);
58                 [CCode (cheader_filename = "gio/gio.h")]
59                 public static bool is_a (string type, string supertype);
60                 [CCode (cheader_filename = "gio/gio.h")]
61                 [Version (since = "2.52")]
62                 public static bool is_mime_type (string type, string mime_type);
63                 [CCode (cheader_filename = "gio/gio.h")]
64                 public static bool is_unknown (string type);
65                 [CCode (cheader_filename = "gio/gio.h", cname = "g_content_types_get_registered")]
66                 public static GLib.List<string> list_registered ();
67         }
68         namespace DBus {
69                 [CCode (cheader_filename = "gio/gio.h")]
70                 [Version (since = "2.36")]
71                 public static string address_escape_value (string string);
72                 [CCode (cheader_filename = "gio/gio.h")]
73                 [Version (since = "2.26")]
74                 public static async GLib.IOStream address_get_stream (string address, GLib.Cancellable? cancellable = null, out string out_guid) throws GLib.Error;
75                 [CCode (cheader_filename = "gio/gio.h")]
76                 [Version (since = "2.26")]
77                 public static GLib.IOStream address_get_stream_sync (string address, out string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
78                 [CCode (cheader_filename = "gio/gio.h")]
79                 [Version (since = "2.26")]
80                 public static unowned string annotation_info_lookup ([CCode (array_length = false, array_null_terminated = true)] GLib.DBusAnnotationInfo[]? annotations, string name);
81                 [CCode (cheader_filename = "gio/gio.h")]
82                 [Version (since = "2.26")]
83                 public static string generate_guid ();
84                 [CCode (cheader_filename = "gio/gio.h")]
85                 [Version (since = "2.30")]
86                 public static GLib.Variant gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
87                 [CCode (cheader_filename = "gio/gio.h")]
88                 [Version (since = "2.30")]
89                 public static GLib.Value gvariant_to_gvalue (GLib.Variant value);
90                 [CCode (cheader_filename = "gio/gio.h")]
91                 [Version (since = "2.26")]
92                 public static bool is_address (string string);
93                 [CCode (cheader_filename = "gio/gio.h")]
94                 [Version (since = "2.26")]
95                 public static bool is_guid (string string);
96                 [CCode (cheader_filename = "gio/gio.h")]
97                 [Version (since = "2.26")]
98                 public static bool is_interface_name (string string);
99                 [CCode (cheader_filename = "gio/gio.h")]
100                 [Version (since = "2.26")]
101                 public static bool is_member_name (string string);
102                 [CCode (cheader_filename = "gio/gio.h")]
103                 [Version (since = "2.26")]
104                 public static bool is_name (string string);
105                 [CCode (cheader_filename = "gio/gio.h")]
106                 [Version (since = "2.26")]
107                 public static bool is_supported_address (string string) throws GLib.Error;
108                 [CCode (cheader_filename = "gio/gio.h")]
109                 [Version (since = "2.26")]
110                 public static bool is_unique_name (string string);
111         }
112         namespace FileAttribute {
113                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE")]
114                 public const string ACCESS_CAN_DELETE;
115                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE")]
116                 public const string ACCESS_CAN_EXECUTE;
117                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_READ")]
118                 public const string ACCESS_CAN_READ;
119                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME")]
120                 public const string ACCESS_CAN_RENAME;
121                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH")]
122                 public const string ACCESS_CAN_TRASH;
123                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE")]
124                 public const string ACCESS_CAN_WRITE;
125                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE")]
126                 public const string DOS_IS_ARCHIVE;
127                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_DOS_IS_SYSTEM")]
128                 public const string DOS_IS_SYSTEM;
129                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ETAG_VALUE")]
130                 public const string ETAG_VALUE;
131                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_FREE")]
132                 public const string FILESYSTEM_FREE;
133                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_READONLY")]
134                 public const string FILESYSTEM_READONLY;
135                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE")]
136                 public const string FILESYSTEM_REMOTE;
137                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_SIZE")]
138                 public const string FILESYSTEM_SIZE;
139                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_TYPE")]
140                 public const string FILESYSTEM_TYPE;
141                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USED")]
142                 [Version (since = "2.32")]
143                 public const string FILESYSTEM_USED;
144                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW")]
145                 public const string FILESYSTEM_USE_PREVIEW;
146                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_GVFS_BACKEND")]
147                 public const string GVFS_BACKEND;
148                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ID_FILE")]
149                 public const string ID_FILE;
150                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_ID_FILESYSTEM")]
151                 public const string ID_FILESYSTEM;
152                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT")]
153                 public const string MOUNTABLE_CAN_EJECT;
154                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT")]
155                 public const string MOUNTABLE_CAN_MOUNT;
156                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL")]
157                 [Version (since = "2.22")]
158                 public const string MOUNTABLE_CAN_POLL;
159                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START")]
160                 [Version (since = "2.22")]
161                 public const string MOUNTABLE_CAN_START;
162                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED")]
163                 [Version (since = "2.22")]
164                 public const string MOUNTABLE_CAN_START_DEGRADED;
165                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP")]
166                 [Version (since = "2.22")]
167                 public const string MOUNTABLE_CAN_STOP;
168                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT")]
169                 public const string MOUNTABLE_CAN_UNMOUNT;
170                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI")]
171                 public const string MOUNTABLE_HAL_UDI;
172                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
173                 [Version (since = "2.22")]
174                 public const string MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
175                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE")]
176                 [Version (since = "2.22")]
177                 public const string MOUNTABLE_START_STOP_TYPE;
178                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE")]
179                 public const string MOUNTABLE_UNIX_DEVICE;
180                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE")]
181                 [Version (since = "2.22")]
182                 public const string MOUNTABLE_UNIX_DEVICE_FILE;
183                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_GROUP")]
184                 public const string OWNER_GROUP;
185                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_USER")]
186                 public const string OWNER_USER;
187                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_OWNER_USER_REAL")]
188                 public const string OWNER_USER_REAL;
189                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_PREVIEW_ICON")]
190                 [Version (since = "2.20")]
191                 public const string PREVIEW_ICON;
192                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_RECENT_MODIFIED")]
193                 [Version (since = "2.52")]
194                 public const string RECENT_MODIFIED;
195                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_SELINUX_CONTEXT")]
196                 public const string SELINUX_CONTEXT;
197                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE")]
198                 [Version (since = "2.20")]
199                 public const string STANDARD_ALLOCATED_SIZE;
200                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE")]
201                 public const string STANDARD_CONTENT_TYPE;
202                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_COPY_NAME")]
203                 public const string STANDARD_COPY_NAME;
204                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION")]
205                 public const string STANDARD_DESCRIPTION;
206                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME")]
207                 public const string STANDARD_DISPLAY_NAME;
208                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME")]
209                 public const string STANDARD_EDIT_NAME;
210                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE")]
211                 public const string STANDARD_FAST_CONTENT_TYPE;
212                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_ICON")]
213                 public const string STANDARD_ICON;
214                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP")]
215                 public const string STANDARD_IS_BACKUP;
216                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN")]
217                 public const string STANDARD_IS_HIDDEN;
218                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK")]
219                 public const string STANDARD_IS_SYMLINK;
220                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL")]
221                 public const string STANDARD_IS_VIRTUAL;
222                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE")]
223                 [Version (since = "2.46")]
224                 public const string STANDARD_IS_VOLATILE;
225                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_NAME")]
226                 public const string STANDARD_NAME;
227                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SIZE")]
228                 public const string STANDARD_SIZE;
229                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
230                 public const string STANDARD_SORT_ORDER;
231                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
232                 [Version (since = "2.34")]
233                 public const string STANDARD_SYMBOLIC_ICON;
234                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
235                 public const string STANDARD_SYMLINK_TARGET;
236                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_TARGET_URI")]
237                 public const string STANDARD_TARGET_URI;
238                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_STANDARD_TYPE")]
239                 public const string STANDARD_TYPE;
240                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED")]
241                 public const string THUMBNAILING_FAILED;
242                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID")]
243                 [Version (since = "2.40")]
244                 public const string THUMBNAIL_IS_VALID;
245                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH")]
246                 public const string THUMBNAIL_PATH;
247                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_ACCESS")]
248                 public const string TIME_ACCESS;
249                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_ACCESS_USEC")]
250                 public const string TIME_ACCESS_USEC;
251                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CHANGED")]
252                 public const string TIME_CHANGED;
253                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CHANGED_USEC")]
254                 public const string TIME_CHANGED_USEC;
255                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CREATED")]
256                 public const string TIME_CREATED;
257                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_CREATED_USEC")]
258                 public const string TIME_CREATED_USEC;
259                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED")]
260                 public const string TIME_MODIFIED;
261                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC")]
262                 public const string TIME_MODIFIED_USEC;
263                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_DELETION_DATE")]
264                 [Version (since = "2.24")]
265                 public const string TRASH_DELETION_DATE;
266                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT")]
267                 public const string TRASH_ITEM_COUNT;
268                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_TRASH_ORIG_PATH")]
269                 [Version (since = "2.24")]
270                 public const string TRASH_ORIG_PATH;
271                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_BLOCKS")]
272                 public const string UNIX_BLOCKS;
273                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE")]
274                 public const string UNIX_BLOCK_SIZE;
275                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_DEVICE")]
276                 public const string UNIX_DEVICE;
277                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_GID")]
278                 public const string UNIX_GID;
279                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_INODE")]
280                 public const string UNIX_INODE;
281                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT")]
282                 public const string UNIX_IS_MOUNTPOINT;
283                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_MODE")]
284                 public const string UNIX_MODE;
285                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_NLINK")]
286                 public const string UNIX_NLINK;
287                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_RDEV")]
288                 public const string UNIX_RDEV;
289                 [CCode (cheader_filename = "gio/gio.h", cname = "G_FILE_ATTRIBUTE_UNIX_UID")]
290                 public const string UNIX_UID;
291         }
292         namespace VolumeIdentifier {
293                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_CLASS")]
294                 public const string CLASS;
295                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_HAL_UDI")]
296                 public const string HAL_UDI;
297                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_LABEL")]
298                 public const string LABEL;
299                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT")]
300                 public const string NFS_MOUNT;
301                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE")]
302                 public const string UNIX_DEVICE;
303                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_IDENTIFIER_KIND_UUID")]
304                 public const string UUID;
305         }
306         [CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_monitor_get_type ()")]
307         [Version (since = "2.40")]
308         public class AppInfoMonitor : GLib.Object {
309                 [CCode (has_construct_function = false)]
310                 protected AppInfoMonitor ();
311                 public static GLib.AppInfoMonitor @get ();
312                 public signal void changed ();
313         }
314         [CCode (cheader_filename = "gio/gio.h", type_id = "g_app_launch_context_get_type ()")]
315         public class AppLaunchContext : GLib.Object {
316                 [CCode (has_construct_function = false)]
317                 public AppLaunchContext ();
318                 public virtual string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
319                 [CCode (array_length = false, array_null_terminated = true)]
320                 [Version (since = "2.32")]
321                 public string[] get_environment ();
322                 public virtual string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
323                 [Version (since = "2.32")]
324                 public void setenv (string variable, string value);
325                 [Version (since = "2.32")]
326                 public void unsetenv (string variable);
327                 [HasEmitter]
328                 [Version (since = "2.36")]
329                 public virtual signal void launch_failed (string startup_notify_id);
330                 [Version (since = "2.36")]
331                 public virtual signal void launched (GLib.AppInfo info, GLib.Variant platform_data);
332         }
333         [CCode (cheader_filename = "gio/gio.h", type_id = "g_application_get_type ()")]
334         [Version (since = "2.28")]
335         public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
336                 [CCode (has_construct_function = false)]
337                 public Application (string? application_id, GLib.ApplicationFlags flags);
338                 [Version (since = "2.42")]
339                 public void add_main_option (string long_name, char short_name, GLib.OptionFlags flags, GLib.OptionArg arg, string description, string? arg_description);
340                 [Version (since = "2.40")]
341                 public void add_main_option_entries ([CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries);
342                 [Version (since = "2.40")]
343                 public void add_option_group (owned GLib.OptionGroup group);
344                 [NoWrapper]
345                 public virtual void add_platform_data (GLib.VariantBuilder builder);
346                 [NoWrapper]
347                 public virtual void after_emit (GLib.Variant platform_data);
348                 [NoWrapper]
349                 public virtual void before_emit (GLib.Variant platform_data);
350                 [Version (since = "2.44")]
351                 public void bind_busy_property (GLib.Object object, string property);
352                 [NoWrapper]
353                 public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws GLib.Error;
354                 [NoWrapper]
355                 public virtual void dbus_unregister (GLib.DBusConnection connection, string object_path);
356                 public unowned string get_application_id ();
357                 [Version (since = "2.34")]
358                 public unowned GLib.DBusConnection get_dbus_connection ();
359                 [Version (since = "2.34")]
360                 public unowned string get_dbus_object_path ();
361                 [Version (since = "2.32")]
362                 public static unowned GLib.Application get_default ();
363                 public GLib.ApplicationFlags get_flags ();
364                 public uint get_inactivity_timeout ();
365                 [Version (since = "2.44")]
366                 public bool get_is_busy ();
367                 public bool get_is_registered ();
368                 public bool get_is_remote ();
369                 [Version (since = "2.42")]
370                 public unowned string? get_resource_base_path ();
371                 public void hold ();
372                 public static bool id_is_valid (string application_id);
373                 [NoWrapper]
374                 public virtual bool local_command_line ([CCode (array_length = false, array_null_terminated = true)] ref unowned string[] arguments, out int exit_status);
375                 [Version (since = "2.38")]
376                 public void mark_busy ();
377                 [Version (since = "2.32")]
378                 public void quit ();
379                 [NoWrapper]
380                 public virtual void quit_mainloop ();
381                 public bool register (GLib.Cancellable? cancellable = null) throws GLib.Error;
382                 public void release ();
383                 public int run ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv = null);
384                 [NoWrapper]
385                 public virtual void run_mainloop ();
386                 [Version (since = "2.40")]
387                 public void send_notification (string? id, GLib.Notification notification);
388                 [Version (deprecated = true, deprecated_since = "2.32", since = "2.28")]
389                 public void set_action_group (GLib.ActionGroup? action_group);
390                 public void set_application_id (string? application_id);
391                 [Version (since = "2.32")]
392                 public void set_default ();
393                 public void set_flags (GLib.ApplicationFlags flags);
394                 public void set_inactivity_timeout (uint inactivity_timeout);
395                 [Version (since = "2.42")]
396                 public void set_resource_base_path (string? resource_path);
397                 [Version (since = "2.44")]
398                 public void unbind_busy_property (GLib.Object object, string property);
399                 [Version (since = "2.38")]
400                 public void unmark_busy ();
401                 [Version (since = "2.40")]
402                 public void withdraw_notification (string id);
403                 public GLib.ActionGroup action_group { set; }
404                 public string application_id { get; set construct; }
405                 public GLib.ApplicationFlags flags { get; set; }
406                 public uint inactivity_timeout { get; set; }
407                 [Version (since = "2.44")]
408                 public bool is_busy { get; }
409                 public bool is_registered { get; }
410                 public bool is_remote { get; }
411                 public string resource_base_path { get; set; }
412                 [HasEmitter]
413                 public virtual signal void activate ();
414                 public virtual signal int command_line (GLib.ApplicationCommandLine command_line);
415                 [Version (since = "2.40")]
416                 public virtual signal int handle_local_options (GLib.VariantDict options);
417                 [HasEmitter]
418                 public virtual signal void open ([CCode (array_length_cname = "n_files", array_length_pos = 1.5)] GLib.File[] files, string hint);
419                 public virtual signal void shutdown ();
420                 public virtual signal void startup ();
421         }
422         [CCode (cheader_filename = "gio/gio.h", type_id = "g_application_command_line_get_type ()")]
423         public class ApplicationCommandLine : GLib.Object {
424                 [CCode (has_construct_function = false)]
425                 protected ApplicationCommandLine ();
426                 [Version (since = "2.36")]
427                 public GLib.File create_file_for_arg (string arg);
428                 [CCode (array_length_pos = 0.1)]
429                 [Version (since = "2.28")]
430                 public string[] get_arguments ();
431                 [Version (since = "2.28")]
432                 public unowned string? get_cwd ();
433                 [CCode (array_length = false, array_null_terminated = true)]
434                 [Version (since = "2.28")]
435                 public unowned string[] get_environ ();
436                 [Version (since = "2.28")]
437                 public int get_exit_status ();
438                 [Version (since = "2.28")]
439                 public bool get_is_remote ();
440                 [Version (since = "2.40")]
441                 public unowned GLib.VariantDict get_options_dict ();
442                 [Version (since = "2.28")]
443                 public GLib.Variant? get_platform_data ();
444                 [Version (since = "2.34")]
445                 public virtual GLib.InputStream get_stdin ();
446                 [Version (since = "2.28")]
447                 public unowned string getenv (string name);
448                 [PrintfFormat]
449                 [Version (since = "2.28")]
450                 public void print (string format, ...);
451                 [NoWrapper]
452                 public virtual void print_literal (string message);
453                 [PrintfFormat]
454                 [Version (since = "2.28")]
455                 public void printerr (string format, ...);
456                 [NoWrapper]
457                 public virtual void printerr_literal (string message);
458                 [Version (since = "2.28")]
459                 public void set_exit_status (int exit_status);
460                 [NoAccessorMethod]
461                 public GLib.Variant arguments { construct; }
462                 public bool is_remote { get; }
463                 [NoAccessorMethod]
464                 public GLib.Variant options { construct; }
465                 [NoAccessorMethod]
466                 public GLib.Variant platform_data { construct; }
467         }
468         [CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_input_stream_get_type ()")]
469         public class BufferedInputStream : GLib.FilterInputStream, GLib.Seekable {
470                 [CCode (has_construct_function = false, type = "GInputStream*")]
471                 public BufferedInputStream (GLib.InputStream base_stream);
472                 public virtual ssize_t fill (ssize_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
473                 public virtual async ssize_t fill_async (ssize_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
474                 public size_t get_available ();
475                 public size_t get_buffer_size ();
476                 public size_t peek ([CCode (array_length_cname = "count", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] buffer, size_t offset = 0);
477                 [CCode (array_length_pos = 0.1, array_length_type = "gsize")]
478                 public unowned uint8[] peek_buffer ();
479                 public int read_byte (GLib.Cancellable? cancellable = null) throws GLib.Error;
480                 public void set_buffer_size (size_t size);
481                 [CCode (has_construct_function = false, type = "GInputStream*")]
482                 public BufferedInputStream.sized (GLib.InputStream base_stream, size_t size);
483                 public uint buffer_size { get; set construct; }
484         }
485         [CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_output_stream_get_type ()")]
486         public class BufferedOutputStream : GLib.FilterOutputStream, GLib.Seekable {
487                 [CCode (has_construct_function = false, type = "GOutputStream*")]
488                 public BufferedOutputStream (GLib.OutputStream base_stream);
489                 public bool get_auto_grow ();
490                 public size_t get_buffer_size ();
491                 public void set_auto_grow (bool auto_grow);
492                 public void set_buffer_size (size_t size);
493                 [CCode (has_construct_function = false, type = "GOutputStream*")]
494                 public BufferedOutputStream.sized (GLib.OutputStream base_stream, size_t size);
495                 public bool auto_grow { get; set; }
496                 public uint buffer_size { get; set construct; }
497         }
498         [CCode (cheader_filename = "gio/gio.h", type_id = "g_bytes_icon_get_type ()")]
499         public class BytesIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
500                 [CCode (has_construct_function = false, type = "GIcon*")]
501                 [Version (since = "2.38")]
502                 public BytesIcon (GLib.Bytes bytes);
503                 [Version (since = "2.38")]
504                 public unowned GLib.Bytes get_bytes ();
505                 public GLib.Bytes bytes { get; construct; }
506         }
507         [CCode (cheader_filename = "gio/gio.h", type_id = "g_cancellable_get_type ()")]
508         public class Cancellable : GLib.Object {
509                 [CCode (has_construct_function = false)]
510                 public Cancellable ();
511                 public void cancel ();
512                 [Version (since = "2.22")]
513                 public ulong connect ([CCode (type = "GCallback")] owned GLib.Func<GLib.Cancellable> callback);
514                 [Version (since = "2.22")]
515                 public void disconnect (ulong handler_id);
516                 public static unowned GLib.Cancellable? get_current ();
517                 public int get_fd ();
518                 public bool is_cancelled ();
519                 [Version (since = "2.22")]
520                 public bool make_pollfd (GLib.PollFD pollfd);
521                 public void pop_current ();
522                 public void push_current ();
523                 [Version (since = "2.22")]
524                 public void release_fd ();
525                 public void reset ();
526                 public bool set_error_if_cancelled () throws GLib.IOError;
527                 [Version (since = "2.28")]
528                 public GLib.CancellableSource source_new ();
529                 public virtual signal void cancelled ();
530         }
531         [CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
532         [Compact]
533         public class CancellableSource : GLib.Source {
534                 [CCode (cname = "g_source_set_callback")]
535                 public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.CancellableSourceFunc func);
536         }
537         [CCode (cheader_filename = "gio/gio.h", type_id = "g_charset_converter_get_type ()")]
538         public class CharsetConverter : GLib.Object, GLib.Converter, GLib.Initable {
539                 [CCode (has_construct_function = false)]
540                 [Version (since = "2.24")]
541                 public CharsetConverter (string to_charset, string from_charset) throws GLib.Error;
542                 [Version (since = "2.24")]
543                 public uint get_num_fallbacks ();
544                 [Version (since = "2.24")]
545                 public bool get_use_fallback ();
546                 [Version (since = "2.24")]
547                 public void set_use_fallback (bool use_fallback);
548                 [NoAccessorMethod]
549                 public string from_charset { owned get; construct; }
550                 [NoAccessorMethod]
551                 public string to_charset { owned get; construct; }
552                 public bool use_fallback { get; set construct; }
553         }
554         [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_input_stream_get_type ()")]
555         public class ConverterInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
556                 [CCode (has_construct_function = false, type = "GInputStream*")]
557                 public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
558                 [Version (since = "2.24")]
559                 public unowned GLib.Converter get_converter ();
560                 public GLib.Converter converter { get; construct; }
561         }
562         [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_output_stream_get_type ()")]
563         public class ConverterOutputStream : GLib.FilterOutputStream, GLib.PollableOutputStream {
564                 [CCode (has_construct_function = false, type = "GOutputStream*")]
565                 public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
566                 [Version (since = "2.24")]
567                 public unowned GLib.Converter get_converter ();
568                 public GLib.Converter converter { get; construct; }
569         }
570         [CCode (cheader_filename = "gio/gio.h", type_id = "g_credentials_get_type ()")]
571         [Version (since = "2.26")]
572         public class Credentials : GLib.Object {
573                 [CCode (has_construct_function = false)]
574                 public Credentials ();
575                 public void* get_native (GLib.CredentialsType native_type);
576                 [Version (since = "2.36")]
577                 public int get_unix_pid () throws GLib.Error;
578                 public uint get_unix_user () throws GLib.Error;
579                 public bool is_same_user (GLib.Credentials other_credentials) throws GLib.Error;
580                 public void set_native (GLib.CredentialsType native_type, void* native);
581                 public bool set_unix_user (uint uid) throws GLib.Error;
582                 public string to_string ();
583         }
584         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_action_group_get_type ()")]
585         public class DBusActionGroup : GLib.Object, GLib.ActionGroup, GLib.RemoteActionGroup {
586                 [CCode (has_construct_function = false)]
587                 protected DBusActionGroup ();
588                 [Version (since = "2.32")]
589                 public static GLib.DBusActionGroup @get (GLib.DBusConnection connection, string bus_name, string object_path);
590         }
591         [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")]
592         [Compact]
593         [Version (since = "2.26")]
594         public class DBusAnnotationInfo {
595                 [CCode (array_length = false, array_null_terminated = true)]
596                 public GLib.DBusAnnotationInfo[] annotations;
597                 public string key;
598                 public int ref_count;
599                 public string value;
600                 public unowned GLib.DBusAnnotationInfo @ref ();
601                 public void unref ();
602         }
603         [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")]
604         [Compact]
605         [Version (since = "2.26")]
606         public class DBusArgInfo {
607                 [CCode (array_length = false, array_null_terminated = true)]
608                 public GLib.DBusAnnotationInfo[] annotations;
609                 public string name;
610                 public int ref_count;
611                 public string signature;
612                 public unowned GLib.DBusArgInfo @ref ();
613                 public void unref ();
614         }
615         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_auth_observer_get_type ()")]
616         [Version (since = "2.26")]
617         public class DBusAuthObserver : GLib.Object {
618                 [CCode (has_construct_function = false)]
619                 public DBusAuthObserver ();
620                 [HasEmitter]
621                 [Version (since = "2.34")]
622                 public signal bool allow_mechanism (string mechanism);
623                 public virtual signal bool authorize_authenticated_peer (GLib.IOStream stream, GLib.Credentials? credentials);
624         }
625         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_connection_get_type ()")]
626         [Version (since = "2.26")]
627         public class DBusConnection : GLib.Object, GLib.AsyncInitable, GLib.Initable {
628                 [CCode (cname = "g_dbus_connection_new", has_construct_function = false)]
629                 public async DBusConnection (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
630                 public uint add_filter (owned GLib.DBusMessageFilterFunction filter_function);
631                 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;
632                 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;
633                 [Version (since = "2.30")]
634                 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;
635                 [Version (since = "2.30")]
636                 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;
637                 public async bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
638                 public bool close_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
639                 public bool emit_signal (string? destination_bus_name, string object_path, string interface_name, string signal_name, GLib.Variant? parameters) throws GLib.Error;
640                 [Version (since = "2.32")]
641                 public uint export_action_group (string object_path, GLib.ActionGroup action_group) throws GLib.Error;
642                 [Version (since = "2.32")]
643                 public uint export_menu_model (string object_path, GLib.MenuModel menu) throws GLib.Error;
644                 public async bool flush (GLib.Cancellable? cancellable = null) throws GLib.Error;
645                 public bool flush_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
646                 [CCode (cname = "g_dbus_connection_new_for_address", has_construct_function = false)]
647                 public async DBusConnection.for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
648                 [CCode (has_construct_function = false)]
649                 public DBusConnection.for_address_sync (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
650                 public GLib.DBusCapabilityFlags get_capabilities ();
651                 public bool get_exit_on_close ();
652                 public unowned string get_guid ();
653                 [Version (since = "2.34")]
654                 public uint32 get_last_serial ();
655                 public unowned GLib.Credentials? get_peer_credentials ();
656                 public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
657                 public T get_proxy_sync<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
658                 public unowned GLib.IOStream get_stream ();
659                 public unowned string get_unique_name ();
660                 public bool is_closed ();
661                 [CCode (cname = "g_dbus_connection_new", finish_function = "g_dbus_connection_new_finish")]
662                 [Version (deprecated_since = "vala-0.36", replacement = "DBusConnection")]
663                 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;
664                 [CCode (cname = "g_dbus_connection_new_for_address", finish_function = "g_dbus_connection_new_for_address_finish")]
665                 [Version (deprecated_since = "vala-0.36", replacement = "DBusConnection.for_address")]
666                 public static async GLib.DBusConnection new_for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
667                 public uint register_object<T> (string object_path, T object) throws GLib.IOError;
668                 [Version (since = "2.46")]
669                 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;
670                 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;
671                 public void remove_filter (uint filter_id);
672                 public bool send_message (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, out uint32 out_serial) throws GLib.Error;
673                 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;
674                 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;
675                 public void set_exit_on_close (bool exit_on_close);
676                 public uint signal_subscribe (string? sender, string? interface_name, string? member, string? object_path, string? arg0, GLib.DBusSignalFlags flags, owned GLib.DBusSignalCallback callback);
677                 public void signal_unsubscribe (uint subscription_id);
678                 public void start_message_processing ();
679                 [CCode (has_construct_function = false)]
680                 public DBusConnection.sync (GLib.IOStream stream, string? guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
681                 [Version (since = "2.32")]
682                 public void unexport_action_group (uint export_id);
683                 [Version (since = "2.32")]
684                 public void unexport_menu_model (uint export_id);
685                 public bool unregister_object (uint registration_id);
686                 public bool unregister_subtree (uint registration_id);
687                 [NoAccessorMethod]
688                 public string address { construct; }
689                 [NoAccessorMethod]
690                 public GLib.DBusAuthObserver authentication_observer { construct; }
691                 public GLib.DBusCapabilityFlags capabilities { get; }
692                 [NoAccessorMethod]
693                 public bool closed { get; }
694                 public bool exit_on_close { get; set; }
695                 [NoAccessorMethod]
696                 public GLib.DBusConnectionFlags flags { construct; }
697                 public string guid { get; construct; }
698                 public GLib.IOStream stream { get; construct; }
699                 public string unique_name { get; }
700                 [CCode (cname = "closed")]
701                 public signal void on_closed (bool remote_peer_vanished, GLib.Error? error);
702         }
703         [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")]
704         [Compact]
705         [Version (since = "2.26")]
706         public class DBusInterfaceInfo {
707                 [CCode (array_length = false, array_null_terminated = true)]
708                 public GLib.DBusAnnotationInfo[] annotations;
709                 [CCode (array_length = false, array_null_terminated = true)]
710                 public GLib.DBusMethodInfo[] methods;
711                 public string name;
712                 [CCode (array_length = false, array_null_terminated = true)]
713                 public GLib.DBusPropertyInfo[] properties;
714                 public int ref_count;
715                 [CCode (array_length = false, array_null_terminated = true)]
716                 public GLib.DBusSignalInfo[] signals;
717                 [Version (since = "2.30")]
718                 public void cache_build ();
719                 [Version (since = "2.30")]
720                 public void cache_release ();
721                 public void generate_xml (uint indent, GLib.StringBuilder string_builder);
722                 public unowned GLib.DBusMethodInfo lookup_method (string name);
723                 public unowned GLib.DBusPropertyInfo lookup_property (string name);
724                 public unowned GLib.DBusSignalInfo lookup_signal (string name);
725                 public unowned GLib.DBusInterfaceInfo @ref ();
726                 public void unref ();
727         }
728         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_skeleton_get_type ()")]
729         [Version (since = "2.30")]
730         public abstract class DBusInterfaceSkeleton : GLib.Object, GLib.DBusInterface {
731                 [CCode (has_construct_function = false)]
732                 protected DBusInterfaceSkeleton ();
733                 public bool export (GLib.DBusConnection connection, string object_path) throws GLib.Error;
734                 public virtual void flush ();
735                 public unowned GLib.DBusConnection get_connection ();
736                 [Version (since = "2.32")]
737                 public GLib.List<GLib.DBusConnection> get_connections ();
738                 public GLib.DBusInterfaceSkeletonFlags get_flags ();
739                 public virtual unowned GLib.DBusInterfaceInfo get_info ();
740                 public unowned string get_object_path ();
741                 public virtual GLib.Variant get_properties ();
742                 public virtual GLib.DBusInterfaceVTable? get_vtable ();
743                 [Version (since = "2.32")]
744                 public bool has_connection (GLib.DBusConnection connection);
745                 public void set_flags (GLib.DBusInterfaceSkeletonFlags flags);
746                 public void unexport ();
747                 [Version (since = "2.32")]
748                 public void unexport_from_connection (GLib.DBusConnection connection);
749                 [NoAccessorMethod]
750                 public GLib.DBusInterfaceSkeletonFlags g_flags { get; set; }
751                 public virtual signal bool g_authorize_method (GLib.DBusMethodInvocation invocation);
752         }
753         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_menu_model_get_type ()")]
754         public class DBusMenuModel : GLib.MenuModel {
755                 [CCode (has_construct_function = false)]
756                 protected DBusMenuModel ();
757                 [Version (since = "2.32")]
758                 public static GLib.DBusMenuModel @get (GLib.DBusConnection connection, string bus_name, string object_path);
759         }
760         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_message_get_type ()")]
761         [Version (since = "2.26")]
762         public class DBusMessage : GLib.Object {
763                 [CCode (has_construct_function = false)]
764                 public DBusMessage ();
765                 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;
766                 public GLib.DBusMessage copy () throws GLib.Error;
767                 [CCode (has_construct_function = false)]
768                 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;
769                 public unowned string get_arg0 ();
770                 public unowned GLib.Variant get_body ();
771                 public GLib.DBusMessageByteOrder get_byte_order ();
772                 public unowned string get_destination ();
773                 public unowned string get_error_name ();
774                 public GLib.DBusMessageFlags get_flags ();
775                 public GLib.Variant get_header (GLib.DBusMessageHeaderField header_field);
776                 [CCode (array_length = false, array_null_terminated = true)]
777                 public uchar[] get_header_fields ();
778                 public unowned string get_interface ();
779                 public bool get_locked ();
780                 public unowned string get_member ();
781                 public GLib.DBusMessageType get_message_type ();
782                 public uint32 get_num_unix_fds ();
783                 public unowned string get_path ();
784                 public uint32 get_reply_serial ();
785                 public unowned string get_sender ();
786                 public uint32 get_serial ();
787                 public unowned string get_signature ();
788                 public unowned GLib.UnixFDList get_unix_fd_list ();
789                 public void @lock ();
790                 [CCode (has_construct_function = false)]
791                 public DBusMessage.method_call (string? name, string path, string? interface_, string method);
792                 [CCode (has_construct_function = false)]
793                 [PrintfFormat]
794                 public DBusMessage.method_error (GLib.DBusMessage method_call_message, string error_name, string error_message_format, ...);
795                 [CCode (has_construct_function = false)]
796                 public DBusMessage.method_error_literal (GLib.DBusMessage method_call_message, string error_name, string error_message);
797                 [CCode (has_construct_function = false)]
798                 public DBusMessage.method_error_valist (GLib.DBusMessage method_call_message, string error_name, string error_message_format, va_list var_args);
799                 [CCode (has_construct_function = false)]
800                 public DBusMessage.method_reply (GLib.DBusMessage method_call_message);
801                 public string print (uint indent = 0);
802                 public void set_body (GLib.Variant body);
803                 public void set_byte_order (GLib.DBusMessageByteOrder byte_order);
804                 public void set_destination (string value);
805                 public void set_error_name (string value);
806                 public void set_flags (GLib.DBusMessageFlags flags);
807                 public void set_header (GLib.DBusMessageHeaderField header_field, GLib.Variant? value);
808                 public void set_interface (string value);
809                 public void set_member (string value);
810                 public void set_message_type (GLib.DBusMessageType type);
811                 public void set_num_unix_fds (uint32 value);
812                 public void set_path (string value);
813                 public void set_reply_serial (uint32 value);
814                 public void set_sender (string value);
815                 public void set_serial (uint32 serial);
816                 public void set_signature (string value);
817                 public void set_unix_fd_list (GLib.UnixFDList? fd_list);
818                 [CCode (has_construct_function = false)]
819                 public DBusMessage.@signal (string path, string interface_, string @signal);
820                 [CCode (array_length_pos = 0.5, array_length_type = "gsize")]
821                 public uint8[] to_blob (GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
822                 public bool to_gerror () throws GLib.Error;
823                 public bool locked { get; }
824         }
825         [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")]
826         [Compact]
827         [Version (since = "2.26")]
828         public class DBusMethodInfo {
829                 [CCode (array_length = false, array_null_terminated = true)]
830                 public GLib.DBusAnnotationInfo[] annotations;
831                 [CCode (array_length = false, array_null_terminated = true)]
832                 public GLib.DBusArgInfo[] in_args;
833                 public string name;
834                 [CCode (array_length = false, array_null_terminated = true)]
835                 public GLib.DBusArgInfo[] out_args;
836                 public int ref_count;
837                 public unowned GLib.DBusMethodInfo @ref ();
838                 public void unref ();
839         }
840         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_method_invocation_get_type ()")]
841         [Version (since = "2.26")]
842         public class DBusMethodInvocation : GLib.Object {
843                 [CCode (has_construct_function = false)]
844                 protected DBusMethodInvocation ();
845                 public unowned GLib.DBusConnection get_connection ();
846                 public unowned string get_interface_name ();
847                 public unowned GLib.DBusMessage get_message ();
848                 public unowned GLib.DBusMethodInfo get_method_info ();
849                 public unowned string get_method_name ();
850                 public unowned string get_object_path ();
851                 public unowned GLib.Variant get_parameters ();
852                 [Version (since = "2.38")]
853                 public unowned GLib.DBusPropertyInfo get_property_info ();
854                 public unowned string get_sender ();
855                 public void* get_user_data ();
856                 public void return_dbus_error (string error_name, string error_message);
857                 public void return_error (GLib.Quark domain, int code, string format, ...);
858                 public void return_error_literal (GLib.Quark domain, int code, string message);
859                 public void return_error_valist (GLib.Quark domain, int code, string format, [CCode (type = "va_list")] va_list var_args);
860                 public void return_gerror (GLib.Error error);
861                 public void return_value (GLib.Variant? parameters);
862                 [Version (since = "2.30")]
863                 public void return_value_with_unix_fd_list (GLib.Variant? parameters, GLib.UnixFDList? fd_list);
864                 [Version (since = "2.30")]
865                 public void take_error (owned GLib.Error error);
866         }
867         [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")]
868         [Compact]
869         [Version (since = "2.26")]
870         public class DBusNodeInfo {
871                 [CCode (array_length = false, array_null_terminated = true)]
872                 public GLib.DBusAnnotationInfo[] annotations;
873                 [CCode (array_length = false, array_null_terminated = true)]
874                 public GLib.DBusInterfaceInfo[] interfaces;
875                 [CCode (array_length = false, array_null_terminated = true)]
876                 public GLib.DBusNodeInfo[] nodes;
877                 public string path;
878                 public int ref_count;
879                 [CCode (has_construct_function = false)]
880                 public DBusNodeInfo.for_xml (string xml_data) throws GLib.Error;
881                 public void generate_xml (uint indent, GLib.StringBuilder string_builder);
882                 public unowned GLib.DBusInterfaceInfo lookup_interface (string name);
883                 public unowned GLib.DBusNodeInfo @ref ();
884                 public void unref ();
885         }
886         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_client_get_type ()")]
887         [Version (since = "2.30")]
888         public class DBusObjectManagerClient : GLib.Object, GLib.AsyncInitable, GLib.DBusObjectManager, GLib.Initable {
889                 [CCode (cname = "g_dbus_object_manager_client_new", has_construct_function = false)]
890                 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;
891                 [CCode (cname = "g_dbus_object_manager_client_new_for_bus", has_construct_function = false)]
892                 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;
893                 [CCode (has_construct_function = false, type = "GDBusObjectManager*")]
894                 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;
895                 public unowned GLib.DBusConnection get_connection ();
896                 public GLib.DBusObjectManagerClientFlags get_flags ();
897                 public unowned string get_name ();
898                 public string? get_name_owner ();
899                 [CCode (cname = "g_dbus_object_manager_client_new", finish_function = "g_dbus_object_manager_client_new_finish")]
900                 [Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient")]
901                 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;
902                 [CCode (cname = "g_dbus_object_manager_client_new_for_bus", finish_function = "g_dbus_object_manager_client_new_for_bus_finish")]
903                 [Version (deprecated_since = "vala-0.36", replacement = "DBusObjectManagerClient.for_bus")]
904                 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;
905                 [CCode (has_construct_function = false, type = "GDBusObjectManager*")]
906                 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;
907                 [NoAccessorMethod]
908                 public GLib.BusType bus_type { construct; }
909                 public GLib.DBusConnection connection { get; construct; }
910                 public GLib.DBusObjectManagerClientFlags flags { get; construct; }
911                 [NoAccessorMethod]
912                 public void* get_proxy_type_destroy_notify { get; construct; }
913                 [NoAccessorMethod]
914                 public void* get_proxy_type_func { get; construct; }
915                 [NoAccessorMethod]
916                 public void* get_proxy_type_user_data { get; construct; }
917                 public string name { get; construct; }
918                 public string? name_owner { owned get; }
919                 [NoAccessorMethod]
920                 public string object_path { owned get; construct; }
921                 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);
922                 public virtual signal void interface_proxy_signal (GLib.DBusObjectProxy object_proxy, GLib.DBusProxy interface_proxy, string sender_name, string signal_name, GLib.Variant parameters);
923         }
924         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_server_get_type ()")]
925         [Version (since = "2.30")]
926         public class DBusObjectManagerServer : GLib.Object, GLib.DBusObjectManager {
927                 [CCode (has_construct_function = false)]
928                 public DBusObjectManagerServer (string object_path);
929                 public void export (GLib.DBusObjectSkeleton object);
930                 public void export_uniquely (GLib.DBusObjectSkeleton object);
931                 public GLib.DBusConnection get_connection ();
932                 [Version (since = "2.34")]
933                 public bool is_exported (GLib.DBusObjectSkeleton object);
934                 public void set_connection (GLib.DBusConnection? connection);
935                 public bool unexport (string object_path);
936                 public GLib.DBusConnection connection { owned get; set; }
937                 [NoAccessorMethod]
938                 public string object_path { owned get; construct; }
939         }
940         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_proxy_get_type ()")]
941         [Version (since = "2.30")]
942         public class DBusObjectProxy : GLib.Object, GLib.DBusObject {
943                 [CCode (has_construct_function = false)]
944                 public DBusObjectProxy (GLib.DBusConnection connection, string object_path);
945                 public unowned GLib.DBusConnection get_connection ();
946                 [NoAccessorMethod]
947                 public GLib.DBusConnection g_connection { owned get; construct; }
948                 [NoAccessorMethod]
949                 public string g_object_path { owned get; construct; }
950         }
951         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_skeleton_get_type ()")]
952         [Version (since = "2.30")]
953         public class DBusObjectSkeleton : GLib.Object, GLib.DBusObject {
954                 [CCode (has_construct_function = false)]
955                 public DBusObjectSkeleton (string object_path);
956                 public void add_interface (GLib.DBusInterfaceSkeleton interface_);
957                 public void flush ();
958                 public void remove_interface (GLib.DBusInterfaceSkeleton interface_);
959                 public void remove_interface_by_name (string interface_name);
960                 public void set_object_path (string object_path);
961                 [NoAccessorMethod]
962                 public string g_object_path { owned get; set construct; }
963                 public virtual signal bool authorize_method (GLib.DBusInterfaceSkeleton interface_, GLib.DBusMethodInvocation invocation);
964         }
965         [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")]
966         [Compact]
967         [Version (since = "2.26")]
968         public class DBusPropertyInfo {
969                 [CCode (array_length = false, array_null_terminated = true)]
970                 public GLib.DBusAnnotationInfo[] annotations;
971                 public GLib.DBusPropertyInfoFlags flags;
972                 public string name;
973                 public int ref_count;
974                 public string signature;
975                 public unowned GLib.DBusPropertyInfo @ref ();
976                 public void unref ();
977         }
978         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_proxy_get_type ()")]
979         [Version (since = "2.26")]
980         public class DBusProxy : GLib.Object, GLib.AsyncInitable, GLib.DBusInterface, GLib.Initable {
981                 [CCode (cname = "g_dbus_proxy_new", has_construct_function = false)]
982                 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;
983                 public async GLib.Variant call (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
984                 public GLib.Variant call_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
985                 [Version (since = "2.30")]
986                 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;
987                 [Version (since = "2.30")]
988                 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;
989                 [CCode (cname = "g_dbus_proxy_new_for_bus", finish_function = "g_dbus_proxy_new_for_bus_finish")]
990                 [Version (deprecated_since = "vala-0.36", replacement = "DBusProxy.for_bus")]
991                 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;
992                 [CCode (cname = "g_dbus_proxy_new_for_bus", has_construct_function = false)]
993                 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;
994                 [CCode (has_construct_function = false)]
995                 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;
996                 public GLib.Variant? get_cached_property (string property_name);
997                 [CCode (array_length = false, array_null_terminated = true)]
998                 public string[]? get_cached_property_names ();
999                 public unowned GLib.DBusConnection get_connection ();
1000                 public int get_default_timeout ();
1001                 public GLib.DBusProxyFlags get_flags ();
1002                 public unowned GLib.DBusInterfaceInfo? get_interface_info ();
1003                 public unowned string get_interface_name ();
1004                 public unowned string get_name ();
1005                 public string? get_name_owner ();
1006                 public unowned string get_object_path ();
1007                 [CCode (cname = "g_dbus_proxy_new", finish_function = "g_dbus_proxy_new_finish")]
1008                 [Version (deprecated_since = "vala-0.36", replacement = "DBusProxy")]
1009                 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;
1010                 public void set_cached_property (string property_name, GLib.Variant? value);
1011                 public void set_default_timeout (int timeout_msec);
1012                 public void set_interface_info (GLib.DBusInterfaceInfo? info);
1013                 [CCode (has_construct_function = false)]
1014                 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;
1015                 [NoAccessorMethod]
1016                 public GLib.BusType g_bus_type { construct; }
1017                 [NoAccessorMethod]
1018                 public GLib.DBusConnection g_connection { owned get; construct; }
1019                 [NoAccessorMethod]
1020                 public int g_default_timeout { get; set construct; }
1021                 [NoAccessorMethod]
1022                 public GLib.DBusProxyFlags g_flags { get; construct; }
1023                 [NoAccessorMethod]
1024                 public GLib.DBusInterfaceInfo g_interface_info { owned get; set; }
1025                 [NoAccessorMethod]
1026                 public string g_interface_name { owned get; construct; }
1027                 [NoAccessorMethod]
1028                 public string g_name { owned get; construct; }
1029                 [NoAccessorMethod]
1030                 public string g_name_owner { owned get; }
1031                 [NoAccessorMethod]
1032                 public string g_object_path { owned get; construct; }
1033                 public virtual signal void g_properties_changed (GLib.Variant changed_properties, [CCode (array_length = false, array_null_terminated = true)] string[] invalidated_properties);
1034                 public virtual signal void g_signal (string? sender_name, string signal_name, GLib.Variant parameters);
1035         }
1036         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_server_get_type ()")]
1037         [Version (since = "2.26")]
1038         public class DBusServer : GLib.Object, GLib.Initable {
1039                 [CCode (has_construct_function = false)]
1040                 protected DBusServer ();
1041                 public unowned string get_client_address ();
1042                 public GLib.DBusServerFlags get_flags ();
1043                 public unowned string get_guid ();
1044                 public bool is_active ();
1045                 public void start ();
1046                 public void stop ();
1047                 [CCode (has_construct_function = false)]
1048                 public DBusServer.sync (string address, GLib.DBusServerFlags flags, string guid, GLib.DBusAuthObserver? observer = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
1049                 [NoAccessorMethod]
1050                 public bool active { get; }
1051                 [NoAccessorMethod]
1052                 public string address { owned get; construct; }
1053                 [NoAccessorMethod]
1054                 public GLib.DBusAuthObserver authentication_observer { owned get; construct; }
1055                 public string client_address { get; }
1056                 public GLib.DBusServerFlags flags { get; construct; }
1057                 public string guid { get; construct; }
1058                 public signal bool new_connection (GLib.DBusConnection connection);
1059         }
1060         [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")]
1061         [Compact]
1062         [Version (since = "2.26")]
1063         public class DBusSignalInfo {
1064                 [CCode (array_length = false, array_null_terminated = true)]
1065                 public GLib.DBusAnnotationInfo[] annotations;
1066                 [CCode (array_length = false, array_null_terminated = true)]
1067                 public GLib.DBusArgInfo[] args;
1068                 public string name;
1069                 public int ref_count;
1070                 public unowned GLib.DBusSignalInfo @ref ();
1071                 public void unref ();
1072         }
1073         [CCode (cheader_filename = "gio/gio.h", type_id = "g_data_input_stream_get_type ()")]
1074         public class DataInputStream : GLib.BufferedInputStream, GLib.Seekable {
1075                 [CCode (has_construct_function = false)]
1076                 public DataInputStream (GLib.InputStream base_stream);
1077                 public GLib.DataStreamByteOrder get_byte_order ();
1078                 public GLib.DataStreamNewlineType get_newline_type ();
1079                 public uint8 read_byte (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1080                 public int16 read_int16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1081                 public int32 read_int32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1082                 public int64 read_int64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1083                 [CCode (array_length = false, array_null_terminated = true)]
1084                 public string? read_line (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1085                 [CCode (array_length = false, array_null_terminated = true)]
1086                 [Version (since = "2.20")]
1087                 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;
1088                 [Version (since = "2.30")]
1089                 public string? read_line_utf8 (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1090                 [CCode (cname = "g_data_input_stream_read_line_async", finish_function = "g_data_input_stream_read_line_finish_utf8")]
1091                 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;
1092                 public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1093                 public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1094                 public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1095                 public string read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1096                 [Version (since = "2.20")]
1097                 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;
1098                 [Version (since = "2.26")]
1099                 public string read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1100                 [Version (since = "2.26")]
1101                 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;
1102                 public void set_byte_order (GLib.DataStreamByteOrder order);
1103                 public void set_newline_type (GLib.DataStreamNewlineType type);
1104                 public GLib.DataStreamByteOrder byte_order { get; set; }
1105                 public GLib.DataStreamNewlineType newline_type { get; set; }
1106         }
1107         [CCode (cheader_filename = "gio/gio.h", type_id = "g_data_output_stream_get_type ()")]
1108         public class DataOutputStream : GLib.FilterOutputStream, GLib.Seekable {
1109                 [CCode (has_construct_function = false)]
1110                 public DataOutputStream (GLib.OutputStream base_stream);
1111                 public GLib.DataStreamByteOrder get_byte_order ();
1112                 public bool put_byte (uint8 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1113                 public bool put_int16 (int16 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1114                 public bool put_int32 (int32 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1115                 public bool put_int64 (int64 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1116                 public bool put_string (string str, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1117                 public bool put_uint16 (uint16 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1118                 public bool put_uint32 (uint32 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1119                 public bool put_uint64 (uint64 data, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1120                 public void set_byte_order (GLib.DataStreamByteOrder order);
1121                 public GLib.DataStreamByteOrder byte_order { get; set; }
1122         }
1123         [CCode (cheader_filename = "gio/gio.h", type_id = "g_emblem_get_type ()")]
1124         public class Emblem : GLib.Object, GLib.Icon {
1125                 [CCode (has_construct_function = false)]
1126                 [Version (since = "2.18")]
1127                 public Emblem (GLib.Icon icon);
1128                 [Version (since = "2.18")]
1129                 public unowned GLib.Icon get_icon ();
1130                 [Version (since = "2.18")]
1131                 public GLib.EmblemOrigin get_origin ();
1132                 [CCode (has_construct_function = false)]
1133                 [Version (since = "2.18")]
1134                 public Emblem.with_origin (GLib.Icon icon, GLib.EmblemOrigin origin);
1135                 public GLib.Object icon { get; construct; }
1136                 public GLib.EmblemOrigin origin { get; construct; }
1137         }
1138         [CCode (cheader_filename = "gio/gio.h", type_id = "g_emblemed_icon_get_type ()")]
1139         public class EmblemedIcon : GLib.Object, GLib.Icon {
1140                 [CCode (has_construct_function = false, type = "GIcon*")]
1141                 [Version (since = "2.18")]
1142                 public EmblemedIcon (GLib.Icon icon, GLib.Emblem? emblem);
1143                 [Version (since = "2.18")]
1144                 public void add_emblem (GLib.Emblem emblem);
1145                 [Version (since = "2.28")]
1146                 public void clear_emblems ();
1147                 [Version (since = "2.18")]
1148                 public unowned GLib.List<GLib.Emblem> get_emblems ();
1149                 [Version (since = "2.18")]
1150                 public unowned GLib.Icon get_icon ();
1151                 [NoAccessorMethod]
1152                 public GLib.Icon gicon { owned get; construct; }
1153         }
1154         [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")]
1155         [Compact]
1156         public class FileAttributeInfoList {
1157                 [CCode (array_length_cname = "n_infos")]
1158                 public GLib.FileAttributeInfo[] infos;
1159                 public int n_infos;
1160                 [CCode (has_construct_function = false)]
1161                 public FileAttributeInfoList ();
1162                 public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeInfoFlags flags);
1163                 public GLib.FileAttributeInfoList dup ();
1164                 public unowned GLib.FileAttributeInfo? lookup (string name);
1165                 public unowned GLib.FileAttributeInfoList @ref ();
1166                 public void unref ();
1167         }
1168         [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")]
1169         [Compact]
1170         public class FileAttributeMatcher {
1171                 [CCode (has_construct_function = false)]
1172                 public FileAttributeMatcher (string attributes);
1173                 public bool enumerate_namespace (string ns);
1174                 public unowned string enumerate_next ();
1175                 public bool matches (string attribute);
1176                 public bool matches_only (string attribute);
1177                 public unowned GLib.FileAttributeMatcher @ref ();
1178                 public GLib.FileAttributeMatcher subtract (GLib.FileAttributeMatcher subtract);
1179                 [Version (since = "2.32")]
1180                 public string to_string ();
1181                 public void unref ();
1182         }
1183         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_enumerator_get_type ()")]
1184         public class FileEnumerator : GLib.Object {
1185                 [CCode (has_construct_function = false)]
1186                 protected FileEnumerator ();
1187                 public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
1188                 public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1189                 [NoWrapper]
1190                 public virtual bool close_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
1191                 [Version (since = "2.36")]
1192                 public GLib.File get_child (GLib.FileInfo info);
1193                 [Version (since = "2.18")]
1194                 public unowned GLib.File get_container ();
1195                 public bool has_pending ();
1196                 public bool is_closed ();
1197                 [Version (since = "2.44")]
1198                 public bool iterate (out unowned GLib.FileInfo out_info, out unowned GLib.File out_child, GLib.Cancellable? cancellable = null) throws GLib.Error;
1199                 public virtual GLib.FileInfo? next_file (GLib.Cancellable? cancellable = null) throws GLib.Error;
1200                 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;
1201                 public void set_pending (bool pending);
1202                 [NoAccessorMethod]
1203                 public GLib.File container { construct; }
1204         }
1205         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_io_stream_get_type ()")]
1206         public class FileIOStream : GLib.IOStream, GLib.Seekable {
1207                 [CCode (has_construct_function = false)]
1208                 protected FileIOStream ();
1209                 [NoWrapper]
1210                 public virtual bool can_seek ();
1211                 [NoWrapper]
1212                 public virtual bool can_truncate ();
1213                 [Version (since = "2.22")]
1214                 public virtual string get_etag ();
1215                 [Version (since = "2.22")]
1216                 public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
1217                 [Version (since = "2.22")]
1218                 public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1219                 [NoWrapper]
1220                 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
1221                 [NoWrapper]
1222                 public virtual int64 tell ();
1223                 [NoWrapper]
1224                 public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable = null) throws GLib.Error;
1225         }
1226         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_icon_get_type ()")]
1227         public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
1228                 [CCode (has_construct_function = false, type = "GIcon*")]
1229                 public FileIcon (GLib.File file);
1230                 public unowned GLib.File get_file ();
1231                 public GLib.File file { get; construct; }
1232         }
1233         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_info_get_type ()")]
1234         public class FileInfo : GLib.Object {
1235                 [CCode (has_construct_function = false)]
1236                 public FileInfo ();
1237                 public void clear_status ();
1238                 public void copy_into (GLib.FileInfo dest_info);
1239                 public GLib.FileInfo dup ();
1240                 public string get_attribute_as_string (string attribute);
1241                 public bool get_attribute_boolean (string attribute);
1242                 public unowned string get_attribute_byte_string (string attribute);
1243                 public bool get_attribute_data (string attribute, out GLib.FileAttributeType type, out void* value_pp, out GLib.FileAttributeStatus status);
1244                 public int32 get_attribute_int32 (string attribute);
1245                 public int64 get_attribute_int64 (string attribute);
1246                 public unowned GLib.Object get_attribute_object (string attribute);
1247                 public GLib.FileAttributeStatus get_attribute_status (string attribute);
1248                 public unowned string get_attribute_string (string attribute);
1249                 [CCode (array_length = false, array_null_terminated = true)]
1250                 [Version (since = "2.22")]
1251                 public unowned string[] get_attribute_stringv (string attribute);
1252                 public GLib.FileAttributeType get_attribute_type (string attribute);
1253                 public uint32 get_attribute_uint32 (string attribute);
1254                 public uint64 get_attribute_uint64 (string attribute);
1255                 public unowned string get_content_type ();
1256                 [Version (since = "2.36")]
1257                 public GLib.DateTime get_deletion_date ();
1258                 public unowned string get_display_name ();
1259                 public unowned string get_edit_name ();
1260                 public unowned string get_etag ();
1261                 public GLib.FileType get_file_type ();
1262                 public unowned GLib.Icon get_icon ();
1263                 public bool get_is_backup ();
1264                 public bool get_is_hidden ();
1265                 public bool get_is_symlink ();
1266                 public GLib.TimeVal get_modification_time ();
1267                 public unowned string get_name ();
1268                 public int64 get_size ();
1269                 public int32 get_sort_order ();
1270                 [Version (since = "2.34")]
1271                 public unowned GLib.Icon get_symbolic_icon ();
1272                 public unowned string get_symlink_target ();
1273                 public bool has_attribute (string attribute);
1274                 [Version (since = "2.22")]
1275                 public bool has_namespace (string name_space);
1276                 [CCode (array_length = false, array_null_terminated = true)]
1277                 public string[]? list_attributes (string? name_space);
1278                 public void remove_attribute (string attribute);
1279                 public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p);
1280                 public void set_attribute_boolean (string attribute, bool attr_value);
1281                 public void set_attribute_byte_string (string attribute, string attr_value);
1282                 public void set_attribute_int32 (string attribute, int32 attr_value);
1283                 public void set_attribute_int64 (string attribute, int64 attr_value);
1284                 public void set_attribute_mask (GLib.FileAttributeMatcher mask);
1285                 public void set_attribute_object (string attribute, GLib.Object attr_value);
1286                 [Version (since = "2.22")]
1287                 public bool set_attribute_status (string attribute, GLib.FileAttributeStatus status);
1288                 public void set_attribute_string (string attribute, string attr_value);
1289                 public void set_attribute_stringv (string attribute, [CCode (array_length = false)] string[] attr_value);
1290                 public void set_attribute_uint32 (string attribute, uint32 attr_value);
1291                 public void set_attribute_uint64 (string attribute, uint64 attr_value);
1292                 public void set_content_type (string content_type);
1293                 public void set_display_name (string display_name);
1294                 public void set_edit_name (string edit_name);
1295                 public void set_file_type (GLib.FileType type);
1296                 public void set_icon (GLib.Icon icon);
1297                 public void set_is_hidden (bool is_hidden);
1298                 public void set_is_symlink (bool is_symlink);
1299                 public void set_modification_time (GLib.TimeVal mtime);
1300                 public void set_name (string name);
1301                 public void set_size (int64 size);
1302                 public void set_sort_order (int32 sort_order);
1303                 [Version (since = "2.34")]
1304                 public void set_symbolic_icon (GLib.Icon icon);
1305                 public void set_symlink_target (string symlink_target);
1306                 public void unset_attribute_mask ();
1307         }
1308         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_input_stream_get_type ()")]
1309         public class FileInputStream : GLib.InputStream, GLib.Seekable {
1310                 [CCode (has_construct_function = false)]
1311                 protected FileInputStream ();
1312                 [NoWrapper]
1313                 public virtual bool can_seek ();
1314                 public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
1315                 public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1316                 [NoWrapper]
1317                 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
1318                 [NoWrapper]
1319                 public virtual int64 tell ();
1320         }
1321         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_monitor_get_type ()")]
1322         public abstract class FileMonitor : GLib.Object {
1323                 [CCode (has_construct_function = false)]
1324                 protected FileMonitor ();
1325                 public virtual bool cancel ();
1326                 public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
1327                 public bool is_cancelled ();
1328                 public void set_rate_limit (int limit_msecs);
1329                 [NoAccessorMethod]
1330                 public bool cancelled { get; }
1331                 [Version (deprecated_since = "2.46")]
1332                 public GLib.MainContext context { construct; }
1333                 [NoAccessorMethod]
1334                 public int rate_limit { get; set; }
1335                 public virtual signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
1336         }
1337         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_output_stream_get_type ()")]
1338         public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
1339                 [CCode (has_construct_function = false)]
1340                 protected FileOutputStream ();
1341                 [NoWrapper]
1342                 public virtual bool can_seek ();
1343                 [NoWrapper]
1344                 public virtual bool can_truncate ();
1345                 public virtual string get_etag ();
1346                 public virtual GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
1347                 public virtual async GLib.FileInfo query_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1348                 [NoWrapper]
1349                 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
1350                 [NoWrapper]
1351                 public virtual int64 tell ();
1352                 [NoWrapper]
1353                 public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable = null) throws GLib.Error;
1354         }
1355         [CCode (cheader_filename = "gio/gio.h", type_id = "g_filename_completer_get_type ()")]
1356         public class FilenameCompleter : GLib.Object {
1357                 [CCode (has_construct_function = false)]
1358                 public FilenameCompleter ();
1359                 public string get_completion_suffix (string initial_text);
1360                 [CCode (array_length = false, array_null_terminated = true)]
1361                 public string[] get_completions (string initial_text);
1362                 public void set_dirs_only (bool dirs_only);
1363                 public virtual signal void got_completion_data ();
1364         }
1365         [CCode (cheader_filename = "gio/gio.h", type_id = "g_filter_input_stream_get_type ()")]
1366         public abstract class FilterInputStream : GLib.InputStream {
1367                 [CCode (has_construct_function = false)]
1368                 protected FilterInputStream ();
1369                 public unowned GLib.InputStream get_base_stream ();
1370                 public bool get_close_base_stream ();
1371                 public void set_close_base_stream (bool close_base);
1372                 public GLib.InputStream base_stream { get; construct; }
1373                 public bool close_base_stream { get; set construct; }
1374         }
1375         [CCode (cheader_filename = "gio/gio.h", type_id = "g_filter_output_stream_get_type ()")]
1376         public abstract class FilterOutputStream : GLib.OutputStream {
1377                 [CCode (has_construct_function = false)]
1378                 protected FilterOutputStream ();
1379                 public unowned GLib.OutputStream get_base_stream ();
1380                 public bool get_close_base_stream ();
1381                 public void set_close_base_stream (bool close_base);
1382                 public GLib.OutputStream base_stream { get; construct; }
1383                 public bool close_base_stream { get; construct; }
1384         }
1385         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
1386         [Compact]
1387         public class IOExtension {
1388                 public unowned string get_name ();
1389                 public int get_priority ();
1390                 public GLib.Type get_type ();
1391         }
1392         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
1393         [Compact]
1394         public class IOExtensionPoint {
1395                 [CCode (cheader_filename = "gio/gio.h", cname = "G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME")]
1396                 public const string DESKTOP_APP_INFO_LOOKUP;
1397                 [CCode (cheader_filename = "gio/gio.h", cname = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
1398                 public const string NATIVE_VOLUME_MONITOR;
1399                 [CCode (cheader_filename = "gio/gio.h", cname = "G_NETWORK_MONITOR_EXTENSION_POINT_NAME")]
1400                 [Version (since = "2.30")]
1401                 public const string NETWORK_MONITOR;
1402                 [CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_EXTENSION_POINT_NAME")]
1403                 [Version (since = "2.26")]
1404                 public const string PROXY;
1405                 [CCode (cheader_filename = "gio/gio.h", cname = "G_PROXY_RESOLVER_EXTENSION_POINT_NAME")]
1406                 public const string PROXY_RESOLVER;
1407                 [CCode (cheader_filename = "gio/gio.h", cname = "G_SETTINGS_BACKEND_EXTENSION_POINT_NAME")]
1408                 public const string SETTINGS_BACKEND;
1409                 [CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_BACKEND_EXTENSION_POINT_NAME")]
1410                 public const string TLS_BACKEND;
1411                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VFS_EXTENSION_POINT_NAME")]
1412                 public const string VFS;
1413                 [CCode (cheader_filename = "gio/gio.h", cname = "G_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
1414                 public const string VOLUME_MONITOR;
1415                 public unowned GLib.IOExtension get_extension_by_name (string name);
1416                 public unowned GLib.List<GLib.IOExtension> get_extensions ();
1417                 public GLib.Type get_required_type ();
1418                 [CCode (cheader_filename = "gio/gio.h")]
1419                 public static unowned GLib.IOExtension implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
1420                 [CCode (cheader_filename = "gio/gio.h")]
1421                 public static unowned GLib.IOExtensionPoint lookup (string name);
1422                 [CCode (cheader_filename = "gio/gio.h")]
1423                 public static unowned GLib.IOExtensionPoint register (string name);
1424                 public void set_required_type (GLib.Type type);
1425         }
1426         [CCode (cheader_filename = "gio/gio.h", type_id = "g_io_module_get_type ()")]
1427         public class IOModule : GLib.TypeModule, GLib.TypePlugin {
1428                 [CCode (has_construct_function = false)]
1429                 public IOModule (string filename);
1430                 public void load ();
1431                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
1432                 public static GLib.List<GLib.IOModule> load_all_in_directory (string dirname);
1433                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
1434                 [Version (since = "2.30")]
1435                 public static GLib.List<GLib.IOModule> load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
1436                 [CCode (array_length = false, array_null_terminated = true)]
1437                 [Version (since = "2.24")]
1438                 public static string[] query ();
1439                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
1440                 [Version (since = "2.24")]
1441                 public static void scan_all_in_directory (string dirname);
1442                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
1443                 [Version (since = "2.30")]
1444                 public static void scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
1445                 public void unload ();
1446         }
1447         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
1448         [Compact]
1449         [Version (since = "2.30")]
1450         public class IOModuleScope {
1451                 [CCode (has_construct_function = false)]
1452                 public IOModuleScope (GLib.IOModuleScopeFlags flags);
1453                 public void block (string basename);
1454                 public void free ();
1455         }
1456         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
1457         [Compact]
1458         public class IOSchedulerJob {
1459                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
1460                 [Version (deprecated = true)]
1461                 public static void cancel_all ();
1462                 [CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
1463                 [Version (deprecated = true)]
1464                 public static void push ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned GLib.IOSchedulerJobFunc job_func, int io_priority, GLib.Cancellable? cancellable = null);
1465                 [Version (deprecated = true)]
1466                 public bool send_to_mainloop (owned GLib.SourceFunc func);
1467                 [Version (deprecated = true)]
1468                 public void send_to_mainloop_async (owned GLib.SourceFunc func);
1469         }
1470         [CCode (cheader_filename = "gio/gio.h", type_id = "g_io_stream_get_type ()")]
1471         public abstract class IOStream : GLib.Object {
1472                 [CCode (has_construct_function = false)]
1473                 protected IOStream ();
1474                 [Version (since = "2.22")]
1475                 public void clear_pending ();
1476                 [CCode (vfunc_name = "close_fn")]
1477                 [Version (since = "2.22")]
1478                 public virtual bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1479                 [Version (since = "2.22")]
1480                 public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1481                 [Version (since = "2.22")]
1482                 public virtual unowned GLib.InputStream get_input_stream ();
1483                 [Version (since = "2.22")]
1484                 public virtual unowned GLib.OutputStream get_output_stream ();
1485                 [Version (since = "2.22")]
1486                 public bool has_pending ();
1487                 [Version (since = "2.22")]
1488                 public bool is_closed ();
1489                 [Version (since = "2.22")]
1490                 public bool set_pending () throws GLib.Error;
1491                 [CCode (finish_instance = false)]
1492                 [Version (since = "2.28")]
1493                 public async bool splice_async (GLib.IOStream stream2, GLib.IOStreamSpliceFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1494                 [NoAccessorMethod]
1495                 public bool closed { get; }
1496                 public abstract GLib.InputStream input_stream { get; }
1497                 public abstract GLib.OutputStream output_stream { get; }
1498         }
1499         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
1500         [Compact]
1501         public class IOStreamAdapter {
1502         }
1503         [CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_address_get_type ()")]
1504         public class InetAddress : GLib.Object {
1505                 [CCode (has_construct_function = false)]
1506                 protected InetAddress ();
1507                 [CCode (has_construct_function = false)]
1508                 [Version (since = "2.22")]
1509                 public InetAddress.any (GLib.SocketFamily family);
1510                 [Version (since = "2.30")]
1511                 public bool equal (GLib.InetAddress other_address);
1512                 [CCode (has_construct_function = false)]
1513                 [Version (since = "2.22")]
1514                 public InetAddress.from_bytes ([CCode (array_length = false)] uint8[] bytes, GLib.SocketFamily family);
1515                 [CCode (has_construct_function = false)]
1516                 [Version (since = "2.22")]
1517                 public InetAddress.from_string (string string);
1518                 [Version (since = "2.22")]
1519                 public GLib.SocketFamily get_family ();
1520                 [Version (since = "2.22")]
1521                 public bool get_is_any ();
1522                 [Version (since = "2.22")]
1523                 public bool get_is_link_local ();
1524                 [Version (since = "2.22")]
1525                 public bool get_is_loopback ();
1526                 [Version (since = "2.22")]
1527                 public bool get_is_mc_global ();
1528                 [Version (since = "2.22")]
1529                 public bool get_is_mc_link_local ();
1530                 [Version (since = "2.22")]
1531                 public bool get_is_mc_node_local ();
1532                 [Version (since = "2.22")]
1533                 public bool get_is_mc_org_local ();
1534                 [Version (since = "2.22")]
1535                 public bool get_is_mc_site_local ();
1536                 [Version (since = "2.22")]
1537                 public bool get_is_multicast ();
1538                 [Version (since = "2.22")]
1539                 public bool get_is_site_local ();
1540                 [Version (since = "2.22")]
1541                 public size_t get_native_size ();
1542                 [CCode (has_construct_function = false)]
1543                 [Version (since = "2.22")]
1544                 public InetAddress.loopback (GLib.SocketFamily family);
1545                 [CCode (array_length = false)]
1546                 [Version (since = "2.22")]
1547                 public virtual unowned uint8[] to_bytes ();
1548                 [Version (since = "2.22")]
1549                 public virtual string to_string ();
1550                 [NoAccessorMethod]
1551                 public void* bytes { get; construct; }
1552                 public GLib.SocketFamily family { get; construct; }
1553                 [Version (since = "2.22")]
1554                 public bool is_any { get; }
1555                 [Version (since = "2.22")]
1556                 public bool is_link_local { get; }
1557                 [Version (since = "2.22")]
1558                 public bool is_loopback { get; }
1559                 [Version (since = "2.22")]
1560                 public bool is_mc_global { get; }
1561                 [Version (since = "2.22")]
1562                 public bool is_mc_link_local { get; }
1563                 [Version (since = "2.22")]
1564                 public bool is_mc_node_local { get; }
1565                 [Version (since = "2.22")]
1566                 public bool is_mc_org_local { get; }
1567                 [Version (since = "2.22")]
1568                 public bool is_mc_site_local { get; }
1569                 [Version (since = "2.22")]
1570                 public bool is_multicast { get; }
1571                 [Version (since = "2.22")]
1572                 public bool is_site_local { get; }
1573         }
1574         [CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_address_mask_get_type ()")]
1575         [Version (since = "2.32")]
1576         public class InetAddressMask : GLib.Object, GLib.Initable {
1577                 [CCode (has_construct_function = false)]
1578                 public InetAddressMask (GLib.InetAddress addr, uint length) throws GLib.Error;
1579                 public bool equal (GLib.InetAddressMask mask2);
1580                 [CCode (has_construct_function = false)]
1581                 public InetAddressMask.from_string (string mask_string) throws GLib.Error;
1582                 public unowned GLib.InetAddress get_address ();
1583                 public GLib.SocketFamily get_family ();
1584                 public uint get_length ();
1585                 public bool matches (GLib.InetAddress address);
1586                 public string to_string ();
1587                 [NoAccessorMethod]
1588                 public GLib.InetAddress address { owned get; set; }
1589                 public GLib.SocketFamily family { get; }
1590                 [NoAccessorMethod]
1591                 public uint length { get; set; }
1592         }
1593         [CCode (cheader_filename = "gio/gio.h", type_id = "g_inet_socket_address_get_type ()")]
1594         public class InetSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
1595                 [CCode (has_construct_function = false, type = "GSocketAddress*")]
1596                 [Version (since = "2.22")]
1597                 public InetSocketAddress (GLib.InetAddress address, uint16 port);
1598                 [CCode (has_construct_function = false, type = "GSocketAddress*")]
1599                 [Version (since = "2.40")]
1600                 public InetSocketAddress.from_string (string address, uint port);
1601                 [Version (since = "2.22")]
1602                 public unowned GLib.InetAddress get_address ();
1603                 [Version (since = "2.32")]
1604                 public uint32 get_flowinfo ();
1605                 [Version (since = "2.22")]
1606                 public uint16 get_port ();
1607                 [Version (since = "2.32")]
1608                 public uint32 get_scope_id ();
1609                 public GLib.InetAddress address { get; construct; }
1610                 [Version (since = "2.32")]
1611                 public uint flowinfo { get; construct; }
1612                 public uint port { get; construct; }
1613                 public uint scope_id { get; construct; }
1614         }
1615         [CCode (cheader_filename = "gio/gio.h", type_id = "g_input_stream_get_type ()")]
1616         public abstract class InputStream : GLib.Object {
1617                 [CCode (has_construct_function = false)]
1618                 protected InputStream ();
1619                 public void clear_pending ();
1620                 [CCode (vfunc_name = "close_fn")]
1621                 public abstract bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1622                 public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1623                 public bool has_pending ();
1624                 public bool is_closed ();
1625                 [CCode (vfunc_name = "read_fn")]
1626                 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;
1627                 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;
1628                 [Version (since = "2.44")]
1629                 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;
1630                 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;
1631                 [Version (since = "2.34")]
1632                 public GLib.Bytes read_bytes (size_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
1633                 [Version (since = "2.34")]
1634                 public async GLib.Bytes read_bytes_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1635                 public bool set_pending () throws GLib.Error;
1636                 public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1637                 public virtual async ssize_t skip_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1638         }
1639         [CCode (cheader_filename = "gio/gio.h", type_id = "g_list_store_get_type ()")]
1640         public class ListStore : GLib.Object, GLib.ListModel {
1641                 [CCode (has_construct_function = false)]
1642                 [Version (since = "2.44")]
1643                 public ListStore (GLib.Type item_type);
1644                 [Version (since = "2.44")]
1645                 public void append (GLib.Object item);
1646                 [Version (since = "2.44")]
1647                 public void insert (uint position, GLib.Object item);
1648                 [Version (since = "2.44")]
1649                 public uint insert_sorted (GLib.Object item, GLib.CompareDataFunc<GLib.Object> compare_func);
1650                 [Version (since = "2.44")]
1651                 public void remove (uint position);
1652                 [Version (since = "2.44")]
1653                 public void remove_all ();
1654                 [Version (since = "2.46")]
1655                 public void sort (GLib.CompareDataFunc<GLib.Object> compare_func);
1656                 [Version (since = "2.44")]
1657                 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);
1658                 [NoAccessorMethod]
1659                 [Version (since = "2.44")]
1660                 public GLib.Type item_type { get; construct; }
1661         }
1662         [CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_input_stream_get_type ()")]
1663         public class MemoryInputStream : GLib.InputStream, GLib.PollableInputStream, GLib.Seekable {
1664                 [CCode (has_construct_function = false, type = "GInputStream*")]
1665                 public MemoryInputStream ();
1666                 [Version (since = "2.34")]
1667                 public void add_bytes (GLib.Bytes bytes);
1668                 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);
1669                 [CCode (has_construct_function = false, type = "GInputStream*")]
1670                 [Version (since = "2.34")]
1671                 public MemoryInputStream.from_bytes (GLib.Bytes bytes);
1672                 [CCode (has_construct_function = false, type = "GInputStream*")]
1673                 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);
1674         }
1675         [CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_output_stream_get_type ()")]
1676         public class MemoryOutputStream : GLib.OutputStream, GLib.PollableOutputStream, GLib.Seekable {
1677                 [CCode (has_construct_function = false, type = "GOutputStream*")]
1678                 public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function = GLib.g_realloc, GLib.DestroyNotify? destroy_function = GLib.g_free);
1679                 [CCode (array_length = false)]
1680                 public unowned uint8[] get_data ();
1681                 [Version (since = "2.18")]
1682                 public size_t get_data_size ();
1683                 public size_t get_size ();
1684                 [CCode (has_construct_function = false, type = "GOutputStream*")]
1685                 [Version (since = "2.36")]
1686                 public MemoryOutputStream.resizable ();
1687                 [Version (since = "2.34")]
1688                 public GLib.Bytes steal_as_bytes ();
1689                 [CCode (array_length = false)]
1690                 [Version (since = "2.26")]
1691                 public uint8[] steal_data ();
1692                 [Version (since = "2.24")]
1693                 public void* data { get; construct; }
1694                 [Version (since = "2.24")]
1695                 public ulong data_size { get; }
1696                 [NoAccessorMethod]
1697                 [Version (since = "2.24")]
1698                 public GLib.DestroyNotify? destroy_function { get; construct; }
1699                 [NoAccessorMethod]
1700                 [Version (since = "2.24")]
1701                 public GLib.ReallocFunc? realloc_function { get; construct; }
1702                 [Version (since = "2.24")]
1703                 public ulong size { get; construct; }
1704         }
1705         [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_get_type ()")]
1706         [Version (since = "2.32")]
1707         public class Menu : GLib.MenuModel {
1708                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION")]
1709                 public const string ATTRIBUTE_ACTION;
1710                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ACTION_NAMESPACE")]
1711                 [Version (since = "2.36")]
1712                 public const string ATTRIBUTE_ACTION_NAMESPACE;
1713                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_ICON")]
1714                 [Version (since = "2.38")]
1715                 public const string ATTRIBUTE_ICON;
1716                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_LABEL")]
1717                 public const string ATTRIBUTE_LABEL;
1718                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_ATTRIBUTE_TARGET")]
1719                 public const string ATTRIBUTE_TARGET;
1720                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_LINK_SECTION")]
1721                 public const string LINK_SECTION;
1722                 [CCode (cheader_filename = "gio/gio.h", cname = "G_MENU_LINK_SUBMENU")]
1723                 public const string LINK_SUBMENU;
1724                 [CCode (has_construct_function = false)]
1725                 public Menu ();
1726                 public void append (string? label, string? detailed_action);
1727                 public void append_item (GLib.MenuItem item);
1728                 public void append_section (string? label, GLib.MenuModel section);
1729                 public void append_submenu (string? label, GLib.MenuModel submenu);
1730                 public void freeze ();
1731                 public void insert (int position, string? label, string? detailed_action);
1732                 public void insert_item (int position, GLib.MenuItem item);
1733                 public void insert_section (int position, string? label, GLib.MenuModel section);
1734                 public void insert_submenu (int position, string? label, GLib.MenuModel submenu);
1735                 public void prepend (string? label, string? detailed_action);
1736                 public void prepend_item (GLib.MenuItem item);
1737                 public void prepend_section (string? label, GLib.MenuModel section);
1738                 public void prepend_submenu (string? label, GLib.MenuModel submenu);
1739                 public void remove (int position);
1740                 [Version (since = "2.38")]
1741                 public void remove_all ();
1742         }
1743         [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_attribute_iter_get_type ()")]
1744         [Version (since = "2.32")]
1745         public abstract class MenuAttributeIter : GLib.Object {
1746                 [CCode (has_construct_function = false)]
1747                 protected MenuAttributeIter ();
1748                 public unowned string get_name ();
1749                 public virtual bool get_next (out unowned string out_name, out GLib.Variant value);
1750                 public GLib.Variant get_value ();
1751                 public bool next ();
1752         }
1753         [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_item_get_type ()")]
1754         [Version (since = "2.32")]
1755         public class MenuItem : GLib.Object {
1756                 [CCode (has_construct_function = false)]
1757                 public MenuItem (string? label, string? detailed_action);
1758                 [CCode (has_construct_function = false)]
1759                 [Version (since = "2.34")]
1760                 public MenuItem.from_model (GLib.MenuModel model, int item_index);
1761                 [Version (since = "2.34")]
1762                 public GLib.Variant get_attribute_value (string attribute, GLib.VariantType? expected_type);
1763                 [Version (since = "2.34")]
1764                 public GLib.MenuModel get_link (string link);
1765                 [CCode (has_construct_function = false)]
1766                 public MenuItem.section (string? label, GLib.MenuModel section);
1767                 public void set_action_and_target (string? action, string? format_string, ...);
1768                 public void set_action_and_target_value (string? action, GLib.Variant? target_value);
1769                 public void set_attribute (string attribute, string? format_string, ...);
1770                 public void set_attribute_value (string attribute, GLib.Variant? value);
1771                 public void set_detailed_action (string detailed_action);
1772                 [Version (since = "2.38")]
1773                 public void set_icon (GLib.Icon icon);
1774                 public void set_label (string? label);
1775                 public void set_link (string link, GLib.MenuModel? model);
1776                 public void set_section (GLib.MenuModel? section);
1777                 public void set_submenu (GLib.MenuModel? submenu);
1778                 [CCode (has_construct_function = false)]
1779                 public MenuItem.submenu (string? label, GLib.MenuModel submenu);
1780         }
1781         [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_link_iter_get_type ()")]
1782         [Version (since = "2.32")]
1783         public abstract class MenuLinkIter : GLib.Object {
1784                 [CCode (has_construct_function = false)]
1785                 protected MenuLinkIter ();
1786                 public unowned string get_name ();
1787                 public virtual bool get_next (out unowned string out_link, out GLib.MenuModel value);
1788                 public GLib.MenuModel get_value ();
1789                 public bool next ();
1790         }
1791         [CCode (cheader_filename = "gio/gio.h", type_id = "g_menu_model_get_type ()")]
1792         [Version (since = "2.32")]
1793         public abstract class MenuModel : GLib.Object {
1794                 [CCode (has_construct_function = false)]
1795                 protected MenuModel ();
1796                 public bool get_item_attribute (int item_index, string attribute, string format_string, ...);
1797                 public virtual GLib.Variant get_item_attribute_value (int item_index, string attribute, GLib.VariantType? expected_type);
1798                 [NoWrapper]
1799                 public virtual void get_item_attributes (int item_index, [CCode (type = "GHashTable**")] out GLib.HashTable<string,GLib.Variant>? attributes);
1800                 public virtual GLib.MenuModel get_item_link (int item_index, string link);
1801                 [NoWrapper]
1802                 public virtual void get_item_links (int item_index, out GLib.HashTable<string,GLib.MenuModel> links);
1803                 public virtual int get_n_items ();
1804                 public virtual bool is_mutable ();
1805                 public virtual GLib.MenuAttributeIter iterate_item_attributes (int item_index);
1806                 public virtual GLib.MenuLinkIter iterate_item_links (int item_index);
1807                 [HasEmitter]
1808                 public signal void items_changed (int position, int removed, int added);
1809         }
1810         [CCode (cheader_filename = "gio/gio.h", type_id = "g_mount_operation_get_type ()")]
1811         public class MountOperation : GLib.Object {
1812                 [CCode (has_construct_function = false)]
1813                 public MountOperation ();
1814                 public bool get_anonymous ();
1815                 public int get_choice ();
1816                 public unowned string get_domain ();
1817                 public unowned string get_password ();
1818                 public GLib.PasswordSave get_password_save ();
1819                 public unowned string get_username ();
1820                 public void set_anonymous (bool anonymous);
1821                 public void set_choice (int choice);
1822                 public void set_domain (string domain);
1823                 public void set_password (string password);
1824                 public void set_password_save (GLib.PasswordSave save);
1825                 public void set_username (string username);
1826                 public bool anonymous { get; set; }
1827                 public int choice { get; set; }
1828                 public string domain { get; set; }
1829                 public string password { get; set; }
1830                 public GLib.PasswordSave password_save { get; set; }
1831                 public string username { get; set; }
1832                 [Version (since = "2.20")]
1833                 public virtual signal void aborted ();
1834                 public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
1835                 public virtual signal void ask_question (string message, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
1836                 [HasEmitter]
1837                 public virtual signal void reply (GLib.MountOperationResult result);
1838                 [Version (since = "2.22")]
1839                 public signal void show_processes (string message, GLib.Array<GLib.Pid> processes, [CCode (array_length = false, array_null_terminated = true)] string[] choices);
1840                 [Version (since = "2.34")]
1841                 public virtual signal void show_unmount_progress (string message, int64 time_left, int64 bytes_left);
1842         }
1843         [CCode (cheader_filename = "gio/gio.h", type_id = "g_native_socket_address_get_type ()")]
1844         public class NativeSocketAddress : GLib.SocketAddress {
1845                 public NativeSocketAddress (void* native, size_t len);
1846         }
1847         [CCode (cheader_filename = "gio/gio.h", type_id = "g_native_volume_monitor_get_type ()")]
1848         public abstract class NativeVolumeMonitor : GLib.VolumeMonitor {
1849                 [CCode (has_construct_function = false)]
1850                 protected NativeVolumeMonitor ();
1851                 [NoWrapper]
1852                 public abstract GLib.Mount get_mount_for_mount_path (string mount_path, GLib.Cancellable? cancellable = null);
1853         }
1854         [CCode (cheader_filename = "gio/gio.h", type_id = "g_network_address_get_type ()")]
1855         public class NetworkAddress : GLib.Object, GLib.SocketConnectable {
1856                 [CCode (has_construct_function = false, type = "GSocketConnectable*")]
1857                 [Version (since = "2.22")]
1858                 public NetworkAddress (string hostname, uint16 port);
1859                 [Version (since = "2.22")]
1860                 public unowned string get_hostname ();
1861                 [Version (since = "2.22")]
1862                 public uint16 get_port ();
1863                 [Version (since = "2.26")]
1864                 public unowned string get_scheme ();
1865                 [CCode (has_construct_function = false, type = "GSocketConnectable*")]
1866                 [Version (since = "2.44")]
1867                 public NetworkAddress.loopback (uint16 port);
1868                 [Version (since = "2.22")]
1869                 public static GLib.NetworkAddress parse (string host_and_port, uint16 default_port) throws GLib.Error;
1870                 [Version (since = "2.26")]
1871                 public static GLib.NetworkAddress parse_uri (string uri, uint16 default_port) throws GLib.Error;
1872                 public string hostname { get; construct; }
1873                 public uint port { get; construct; }
1874                 public string scheme { get; construct; }
1875         }
1876         [CCode (cheader_filename = "gio/gio.h", type_id = "g_network_service_get_type ()")]
1877         public class NetworkService : GLib.Object, GLib.SocketConnectable {
1878                 [CCode (has_construct_function = false, type = "GSocketConnectable*")]
1879                 [Version (since = "2.22")]
1880                 public NetworkService (string service, string protocol, string domain);
1881                 [Version (since = "2.22")]
1882                 public unowned string get_domain ();
1883                 [Version (since = "2.22")]
1884                 public unowned string get_protocol ();
1885                 [Version (since = "2.26")]
1886                 public unowned string get_scheme ();
1887                 [Version (since = "2.22")]
1888                 public unowned string get_service ();
1889                 [Version (since = "2.26")]
1890                 public void set_scheme (string scheme);
1891                 public string domain { get; construct; }
1892                 public string protocol { get; construct; }
1893                 public string scheme { get; set; }
1894                 public string service { get; construct; }
1895         }
1896         [CCode (cheader_filename = "gio/gio.h", type_id = "g_notification_get_type ()")]
1897         [Version (since = "2.40")]
1898         public class Notification : GLib.Object {
1899                 [CCode (has_construct_function = false)]
1900                 public Notification (string title);
1901                 public void add_button (string label, string detailed_action);
1902                 public void add_button_with_target_value (string label, string action, GLib.Variant? target);
1903                 public void set_body (string? body);
1904                 public void set_default_action (string detailed_action);
1905                 public void set_default_action_and_target_value (string action, GLib.Variant? target);
1906                 public void set_icon (GLib.Icon icon);
1907                 public void set_priority (GLib.NotificationPriority priority);
1908                 public void set_title (string title);
1909                 public void set_urgent (bool urgent);
1910         }
1911         [CCode (cheader_filename = "gio/gio.h", type_id = "g_output_stream_get_type ()")]
1912         public abstract class OutputStream : GLib.Object {
1913                 [CCode (has_construct_function = false)]
1914                 protected OutputStream ();
1915                 public void clear_pending ();
1916                 [CCode (vfunc_name = "close_fn")]
1917                 public abstract bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
1918                 public virtual async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1919                 public virtual bool flush (GLib.Cancellable? cancellable = null) throws GLib.Error;
1920                 public virtual async bool flush_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1921                 public bool has_pending ();
1922                 public bool is_closed ();
1923                 [Version (since = "2.24")]
1924                 public bool is_closing ();
1925                 public bool set_pending () throws GLib.Error;
1926                 public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1927                 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;
1928                 [CCode (vfunc_name = "write_fn")]
1929                 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;
1930                 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;
1931                 [Version (since = "2.44")]
1932                 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;
1933                 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;
1934                 public ssize_t write_bytes (GLib.Bytes bytes, GLib.Cancellable? cancellable = null) throws GLib.Error;
1935                 public async ssize_t write_bytes_async (GLib.Bytes bytes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
1936         }
1937         [CCode (cheader_filename = "gio/gio.h", type_id = "g_permission_get_type ()")]
1938         public abstract class Permission : GLib.Object {
1939                 [CCode (has_construct_function = false)]
1940                 protected Permission ();
1941                 [Version (since = "2.26")]
1942                 public virtual bool acquire (GLib.Cancellable? cancellable = null) throws GLib.Error;
1943                 [Version (since = "2.26")]
1944                 public virtual async bool acquire_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
1945                 [Version (since = "2.26")]
1946                 public bool get_allowed ();
1947                 [Version (since = "2.26")]
1948                 public bool get_can_acquire ();
1949                 [Version (since = "2.26")]
1950                 public bool get_can_release ();
1951                 [Version (since = "2.26")]
1952                 public void impl_update (bool allowed, bool can_acquire, bool can_release);
1953                 [Version (since = "2.26")]
1954                 public virtual bool release (GLib.Cancellable? cancellable = null) throws GLib.Error;
1955                 [Version (since = "2.26")]
1956                 public virtual async bool release_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
1957                 public bool allowed { get; }
1958                 public bool can_acquire { get; }
1959                 public bool can_release { get; }
1960         }
1961         [CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
1962         [Compact]
1963         public class PollableSource : GLib.Source {
1964                 [CCode (type = "GSource*")]
1965                 public PollableSource (GLib.Object pollable_stream);
1966                 [CCode (type = "GSource*")]
1967                 public PollableSource.full (GLib.Object pollable_stream, GLib.Source? child_source, GLib.Cancellable? cancellable = null);
1968                 [CCode (cname = "g_source_set_callback")]
1969                 public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.PollableSourceFunc func);
1970         }
1971         [CCode (cheader_filename = "gio/gio.h", type_id = "g_property_action_get_type ()")]
1972         [Version (since = "2.38")]
1973         public class PropertyAction : GLib.Object, GLib.Action {
1974                 [CCode (has_construct_function = false)]
1975                 public PropertyAction (string name, GLib.Object object, string property_name);
1976                 [NoAccessorMethod]
1977                 [Version (since = "2.46")]
1978                 public bool invert_boolean { get; construct; }
1979                 [NoAccessorMethod]
1980                 public GLib.Object object { construct; }
1981                 [NoAccessorMethod]
1982                 public string property_name { construct; }
1983         }
1984         [CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_get_type ()")]
1985         [Version (since = "2.26")]
1986         public class ProxyAddress : GLib.InetSocketAddress, GLib.SocketConnectable {
1987                 [CCode (has_construct_function = false, type = "GSocketAddress*")]
1988                 public ProxyAddress (GLib.InetAddress inetaddr, uint16 port, string protocol, string dest_hostname, uint16 dest_port, string? username, string? password);
1989                 public unowned string get_destination_hostname ();
1990                 public uint16 get_destination_port ();
1991                 [Version (since = "2.34")]
1992                 public unowned string get_destination_protocol ();
1993                 public unowned string get_password ();
1994                 public unowned string get_protocol ();
1995                 [Version (since = "2.34")]
1996                 public unowned string get_uri ();
1997                 public unowned string get_username ();
1998                 public string destination_hostname { get; construct; }
1999                 public uint destination_port { get; construct; }
2000                 [Version (since = "2.34")]
2001                 public string destination_protocol { get; construct; }
2002                 public string password { get; construct; }
2003                 public string protocol { get; construct; }
2004                 [Version (since = "2.34")]
2005                 public string uri { get; construct; }
2006                 public string username { get; construct; }
2007         }
2008         [CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_enumerator_get_type ()")]
2009         public class ProxyAddressEnumerator : GLib.SocketAddressEnumerator {
2010                 [CCode (has_construct_function = false)]
2011                 protected ProxyAddressEnumerator ();
2012                 [NoAccessorMethod]
2013                 public GLib.SocketConnectable connectable { owned get; construct; }
2014                 [NoAccessorMethod]
2015                 [Version (since = "2.38")]
2016                 public uint default_port { get; construct; }
2017                 [NoAccessorMethod]
2018                 [Version (since = "2.36")]
2019                 public GLib.ProxyResolver proxy_resolver { owned get; set construct; }
2020                 [NoAccessorMethod]
2021                 public string uri { owned get; construct; }
2022         }
2023         [CCode (cheader_filename = "gio/gio.h", type_id = "g_resolver_get_type ()")]
2024         public abstract class Resolver : GLib.Object {
2025                 [CCode (has_construct_function = false)]
2026                 protected Resolver ();
2027                 [Version (since = "2.22")]
2028                 public static GLib.Resolver get_default ();
2029                 [Version (since = "2.22")]
2030                 public virtual string lookup_by_address (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
2031                 [Version (since = "2.22")]
2032                 public virtual async string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
2033                 [Version (since = "2.22")]
2034                 public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
2035                 [Version (since = "2.22")]
2036                 public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
2037                 [Version (since = "2.34")]
2038                 public virtual GLib.List<GLib.Variant> lookup_records (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
2039                 [Version (since = "2.34")]
2040                 public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
2041                 [Version (since = "2.22")]
2042                 public virtual GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
2043                 [CCode (finish_vfunc_name = "lookup_service_finish", vfunc_name = "lookup_service_async")]
2044                 public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
2045                 [Version (since = "2.22")]
2046                 public void set_default ();
2047                 public virtual signal void reload ();
2048         }
2049         [CCode (cheader_filename = "gio/gio.h", ref_function = "g_resource_ref", type_id = "g_resource_get_type ()", unref_function = "g_resource_unref")]
2050         [Compact]
2051         [Version (since = "2.32")]
2052         public class Resource {
2053                 [CCode (cname = "g_resources_register")]
2054                 public void _register ();
2055                 [CCode (cname = "g_resources_unregister")]
2056                 public void _unregister ();
2057                 [CCode (array_length = false, array_null_terminated = true)]
2058                 public string[] enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
2059                 [CCode (has_construct_function = false)]
2060                 public Resource.from_data (GLib.Bytes data) throws GLib.Error;
2061                 public bool get_info (string path, GLib.ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws GLib.Error;
2062                 [CCode (cheader_filename = "gio/gio.h")]
2063                 public static GLib.Resource load (string filename) throws GLib.Error;
2064                 public GLib.Bytes lookup_data (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
2065                 public GLib.InputStream open_stream (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
2066                 public unowned GLib.Resource @ref ();
2067                 public void unref ();
2068         }
2069         [CCode (cheader_filename = "gio/gio.h", type_id = "g_settings_get_type ()")]
2070         public class Settings : GLib.Object {
2071                 [CCode (has_construct_function = false)]
2072                 [Version (since = "2.26")]
2073                 public Settings (string schema_id);
2074                 public void apply ();
2075                 [Version (since = "2.26")]
2076                 public void bind (string key, GLib.Object object, string property, GLib.SettingsBindFlags flags);
2077                 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);
2078                 [Version (since = "2.26")]
2079                 public void bind_writable (string key, GLib.Object object, string property, bool inverted);
2080                 [Version (since = "2.32")]
2081                 public GLib.Action create_action (string key);
2082                 [Version (since = "2.26")]
2083                 public void delay ();
2084                 [CCode (has_construct_function = false)]
2085                 [Version (since = "2.32")]
2086                 public Settings.full (GLib.SettingsSchema schema, GLib.SettingsBackend? backend, string? path);
2087                 [CCode (sentinel = "")]
2088                 [Version (since = "2.26")]
2089                 public void @get (string key, string format, ...);
2090                 [Version (since = "2.26")]
2091                 public bool get_boolean (string key);
2092                 [Version (since = "2.26")]
2093                 public GLib.Settings get_child (string name);
2094                 [Version (since = "2.40")]
2095                 public GLib.Variant? get_default_value (string key);
2096                 [Version (since = "2.26")]
2097                 public double get_double (string key);
2098                 [Version (since = "2.26")]
2099                 public int get_enum (string key);
2100                 [Version (since = "2.26")]
2101                 public uint get_flags (string key);
2102                 [Version (since = "2.26")]
2103                 public bool get_has_unapplied ();
2104                 [Version (since = "2.26")]
2105                 public int get_int (string key);
2106                 [Version (since = "2.50")]
2107                 public int64 get_int64 (string key);
2108                 public void* get_mapped (string key, GLib.SettingsGetMapping mapping);
2109                 [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
2110                 public GLib.Variant get_range (string key);
2111                 [Version (since = "2.26")]
2112                 public string get_string (string key);
2113                 [CCode (array_length = false, array_null_terminated = true)]
2114                 [Version (since = "2.26")]
2115                 public string[] get_strv (string key);
2116                 [Version (since = "2.30")]
2117                 public uint get_uint (string key);
2118                 [Version (since = "2.50")]
2119                 public uint64 get_uint64 (string key);
2120                 [Version (since = "2.40")]
2121                 public GLib.Variant? get_user_value (string key);
2122                 [Version (since = "2.26")]
2123                 public GLib.Variant get_value (string key);
2124                 [Version (since = "2.26")]
2125                 public bool is_writable (string name);
2126                 [CCode (array_length = false, array_null_terminated = true)]
2127                 public string[] list_children ();
2128                 [CCode (array_length = false, array_null_terminated = true)]
2129                 public string[] list_keys ();
2130                 [CCode (array_length = false, array_null_terminated = true)]
2131                 [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
2132                 public static unowned string[] list_relocatable_schemas ();
2133                 [CCode (array_length = false, array_null_terminated = true)]
2134                 [Version (deprecated = true, deprecated_since = "2.40", since = "2.26")]
2135                 public static unowned string[] list_schemas ();
2136                 [Version (deprecated = true, deprecated_since = "2.40", since = "2.28")]
2137                 public bool range_check (string key, GLib.Variant value);
2138                 public void reset (string key);
2139                 public void revert ();
2140                 [CCode (sentinel = "")]
2141                 [Version (since = "2.26")]
2142                 public bool @set (string key, string format, ...);
2143                 [Version (since = "2.26")]
2144                 public bool set_boolean (string key, bool value);
2145                 [Version (since = "2.26")]
2146                 public bool set_double (string key, double value);
2147                 public bool set_enum (string key, int value);
2148                 public bool set_flags (string key, uint value);
2149                 [Version (since = "2.26")]
2150                 public bool set_int (string key, int value);
2151                 [Version (since = "2.50")]
2152                 public bool set_int64 (string key, int64 value);
2153                 [Version (since = "2.26")]
2154                 public bool set_string (string key, string value);
2155                 [Version (since = "2.26")]
2156                 public bool set_strv (string key, [CCode (array_length = false, array_null_terminated = true)] string[]? value);
2157                 [Version (since = "2.30")]
2158                 public bool set_uint (string key, uint value);
2159                 [Version (since = "2.50")]
2160                 public bool set_uint64 (string key, uint64 value);
2161                 [Version (since = "2.26")]
2162                 public bool set_value (string key, GLib.Variant value);
2163                 public static void sync ();
2164                 [Version (since = "2.26")]
2165                 public static void unbind (GLib.Object object, string property);
2166                 [CCode (has_construct_function = false)]
2167                 [Version (since = "2.26")]
2168                 public Settings.with_backend (string schema_id, GLib.SettingsBackend backend);
2169                 [CCode (has_construct_function = false)]
2170                 [Version (since = "2.26")]
2171                 public Settings.with_backend_and_path (string schema_id, GLib.SettingsBackend backend, string path);
2172                 [CCode (has_construct_function = false)]
2173                 [Version (since = "2.26")]
2174                 public Settings.with_path (string schema_id, string path);
2175                 [NoAccessorMethod]
2176                 public GLib.SettingsBackend backend { owned get; construct; }
2177                 [NoAccessorMethod]
2178                 [Version (since = "2.28")]
2179                 public bool delay_apply { get; }
2180                 public bool has_unapplied { get; }
2181                 [NoAccessorMethod]
2182                 public string path { owned get; construct; }
2183                 [NoAccessorMethod]
2184                 [Version (deprecated = true, deprecated_since = "2.32")]
2185                 public string schema { owned get; construct; }
2186                 [NoAccessorMethod]
2187                 public string schema_id { owned get; construct; }
2188                 [NoAccessorMethod]
2189                 public GLib.SettingsSchema settings_schema { owned get; construct; }
2190                 public virtual signal bool change_event ([CCode (array_length_cname = "n_keys", array_length_pos = 1.1)] GLib.Quark[]? keys);
2191                 public virtual signal void changed (string key);
2192                 public virtual signal bool writable_change_event (uint key);
2193                 public virtual signal void writable_changed (string key);
2194         }
2195         [CCode (cheader_filename = "gio/gio.h", type_id = "g_settings_backend_get_type ()")]
2196         public abstract class SettingsBackend : GLib.Object {
2197                 [CCode (has_construct_function = false)]
2198                 protected SettingsBackend ();
2199                 [Version (since = "2.26")]
2200                 public void changed (string key, void* origin_tag);
2201                 [Version (since = "2.26")]
2202                 public void changed_tree (GLib.Tree tree, void* origin_tag);
2203                 [Version (since = "2.26")]
2204                 public static void flatten_tree (GLib.Tree 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);
2205                 [Version (since = "2.28")]
2206                 public static GLib.SettingsBackend get_default ();
2207                 [NoWrapper]
2208                 public virtual bool get_writable (string key);
2209                 [CCode (cheader_filename = "gio/gio.h", cname = "g_keyfile_settings_backend_new")]
2210                 public static GLib.SettingsBackend keyfile_settings_backend_new (string filename, string root_path, string? root_group);
2211                 [Version (since = "2.26")]
2212                 public void keys_changed (string path, [CCode (array_length = false, array_null_terminated = true)] string[] items, void* origin_tag);
2213                 [CCode (cheader_filename = "gio/gio.h", cname = "g_memory_settings_backend_new")]
2214                 [Version (since = "2.28")]
2215                 public static GLib.SettingsBackend memory_settings_backend_new ();
2216                 [CCode (cheader_filename = "gio/gio.h", cname = "g_null_settings_backend_new")]
2217                 [Version (since = "2.28")]
2218                 public static GLib.SettingsBackend null_settings_backend_new ();
2219                 [Version (since = "2.26")]
2220                 public void path_changed (string path, void* origin_tag);
2221                 [Version (since = "2.26")]
2222                 public void path_writable_changed (string path);
2223                 [NoWrapper]
2224                 public virtual GLib.Variant read (string key, GLib.VariantType expected_type, bool default_value);
2225                 [NoWrapper]
2226                 public virtual GLib.Variant read_user_value (string key, GLib.VariantType expected_type);
2227                 [NoWrapper]
2228                 public virtual void reset (string key, void* origin_tag);
2229                 [NoWrapper]
2230                 public virtual void subscribe (string name);
2231                 [NoWrapper]
2232                 public virtual void sync ();
2233                 [NoWrapper]
2234                 public virtual void unsubscribe (string name);
2235                 [Version (since = "2.26")]
2236                 public void writable_changed (string key);
2237                 [NoWrapper]
2238                 public virtual bool write (string key, GLib.Variant value, void* origin_tag);
2239                 [NoWrapper]
2240                 public virtual bool write_tree (GLib.Tree tree, void* origin_tag);
2241         }
2242         [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")]
2243         [Compact]
2244         [Version (since = "2.32")]
2245         public class SettingsSchema {
2246                 public unowned string get_id ();
2247                 [Version (since = "2.40")]
2248                 public GLib.SettingsSchemaKey get_key (string name);
2249                 public unowned string get_path ();
2250                 [Version (since = "2.40")]
2251                 public bool has_key (string name);
2252                 [CCode (array_length = false, array_null_terminated = true)]
2253                 [Version (since = "2.44")]
2254                 public string[] list_children ();
2255                 [CCode (array_length = false, array_null_terminated = true)]
2256                 [Version (since = "2.46")]
2257                 public string[] list_keys ();
2258                 public unowned GLib.SettingsSchema @ref ();
2259                 public void unref ();
2260         }
2261         [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")]
2262         [Compact]
2263         public class SettingsSchemaKey {
2264                 [Version (since = "2.40")]
2265                 public GLib.Variant get_default_value ();
2266                 [Version (since = "2.34")]
2267                 public unowned string get_description ();
2268                 [Version (since = "2.44")]
2269                 public unowned string get_name ();
2270                 [Version (since = "2.40")]
2271                 public GLib.Variant get_range ();
2272                 [Version (since = "2.34")]
2273                 public unowned string get_summary ();
2274                 [Version (since = "2.40")]
2275                 public unowned GLib.VariantType get_value_type ();
2276                 [Version (since = "2.40")]
2277                 public bool range_check (GLib.Variant value);
2278                 [Version (since = "2.40")]
2279                 public unowned GLib.SettingsSchemaKey @ref ();
2280                 [Version (since = "2.40")]
2281                 public void unref ();
2282         }
2283         [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")]
2284         [Compact]
2285         [Version (since = "2.32")]
2286         public class SettingsSchemaSource {
2287                 [CCode (has_construct_function = false)]
2288                 public SettingsSchemaSource.from_directory (string directory, GLib.SettingsSchemaSource? parent, bool trusted) throws GLib.Error;
2289                 [CCode (cheader_filename = "gio/gio.h")]
2290                 public static unowned GLib.SettingsSchemaSource? get_default ();
2291                 [Version (since = "2.40")]
2292                 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);
2293                 public GLib.SettingsSchema? lookup (string schema_id, bool recursive);
2294                 public unowned GLib.SettingsSchemaSource @ref ();
2295                 public void unref ();
2296         }
2297         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_get_type ()")]
2298         public class SimpleAction : GLib.Object, GLib.Action {
2299                 [CCode (has_construct_function = false)]
2300                 [Version (since = "2.28")]
2301                 public SimpleAction (string name, GLib.VariantType? parameter_type);
2302                 [Version (since = "2.28")]
2303                 public void set_enabled (bool enabled);
2304                 [Version (since = "2.30")]
2305                 public void set_state (GLib.Variant value);
2306                 [Version (since = "2.44")]
2307                 public void set_state_hint (GLib.Variant? state_hint);
2308                 [CCode (has_construct_function = false)]
2309                 [Version (since = "2.28")]
2310                 public SimpleAction.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
2311                 [Version (since = "2.28")]
2312                 public signal void activate (GLib.Variant? parameter);
2313                 [Version (since = "2.30")]
2314                 public signal void change_state (GLib.Variant? value);
2315         }
2316         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_action_group_get_type ()")]
2317         [Version (since = "2.28")]
2318         public class SimpleActionGroup : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
2319                 [CCode (has_construct_function = false)]
2320                 public SimpleActionGroup ();
2321                 [Version (deprecated = true, deprecated_since = "2.38", since = "2.30")]
2322                 public void add_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
2323                 [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
2324                 public void insert (GLib.Action action);
2325                 [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
2326                 public unowned GLib.Action lookup (string action_name);
2327                 [Version (deprecated = true, deprecated_since = "2.38", since = "2.28")]
2328                 public void remove (string action_name);
2329         }
2330         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_async_result_get_type ()")]
2331         public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
2332                 [CCode (has_construct_function = false)]
2333                 public SimpleAsyncResult (GLib.Object? source_object, void* source_tag);
2334                 [Version (deprecated = true, deprecated_since = "2.46")]
2335                 public void complete ();
2336                 [Version (deprecated = true, deprecated_since = "2.46")]
2337                 public void complete_in_idle ();
2338                 [CCode (has_construct_function = false)]
2339                 [PrintfFormat]
2340                 public SimpleAsyncResult.error (GLib.Object? source_object, GLib.Quark domain, int code, string format, ...);
2341                 [CCode (has_construct_function = false)]
2342                 public SimpleAsyncResult.from_error (GLib.Object? source_object, GLib.Error error);
2343                 [Version (deprecated = true, deprecated_since = "2.46")]
2344                 public bool get_op_res_gboolean ();
2345                 [CCode (simple_generics = true)]
2346                 public unowned T get_op_res_gpointer<T> ();
2347                 [Version (deprecated = true, deprecated_since = "2.46")]
2348                 public ssize_t get_op_res_gssize ();
2349                 [Version (deprecated = true, deprecated_since = "2.46.")]
2350                 public void* get_source_tag ();
2351                 [Version (deprecated = true, deprecated_since = "2.46", since = "2.20")]
2352                 public static bool is_valid (GLib.AsyncResult result, GLib.Object? source, void* source_tag);
2353                 [Version (deprecated = true, deprecated_since = "2.46")]
2354                 public bool propagate_error () throws GLib.Error;
2355                 [CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
2356                 [Version (deprecated = true, deprecated_since = "2.46")]
2357                 public static async void report_gerror_in_idle (GLib.Object? object, GLib.Error error);
2358                 [Version (deprecated = true, deprecated_since = "2.46")]
2359                 public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
2360                 [Version (deprecated = true, deprecated_since = "2.46", since = "2.32")]
2361                 public void set_check_cancellable (GLib.Cancellable? check_cancellable);
2362                 [PrintfFormat]
2363                 [Version (deprecated = true, deprecated_since = "2.46")]
2364                 public void set_error (GLib.Quark domain, int code, string format, ...);
2365                 [Version (deprecated = true, deprecated_since = "2.46")]
2366                 public void set_error_va (GLib.Quark domain, int code, string format, va_list args);
2367                 [Version (deprecated = true, deprecated_since = "2.46")]
2368                 public void set_from_error (GLib.Error error);
2369                 [Version (deprecated = true, deprecated_since = "2.46")]
2370                 public void set_handle_cancellation (bool handle_cancellation);
2371                 [Version (deprecated = true, deprecated_since = "2.46")]
2372                 public void set_op_res_gboolean (bool op_res);
2373                 [CCode (simple_generics = true)]
2374                 public void set_op_res_gpointer<T> (owned T op_res);
2375                 [Version (deprecated = true, deprecated_since = "2.46")]
2376                 public void set_op_res_gssize (ssize_t op_res);
2377                 [Version (deprecated = true, deprecated_since = "2.46", since = "2.28")]
2378                 public void take_error (GLib.Error error);
2379         }
2380         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_io_stream_get_type ()")]
2381         [Version (since = "2.44")]
2382         public class SimpleIOStream : GLib.IOStream {
2383                 [CCode (has_construct_function = false, type = "GIOStream*")]
2384                 public SimpleIOStream (GLib.InputStream input_stream, GLib.OutputStream output_stream);
2385                 [NoAccessorMethod]
2386                 public GLib.InputStream input_stream { owned get; construct; }
2387                 [NoAccessorMethod]
2388                 public GLib.OutputStream output_stream { owned get; construct; }
2389         }
2390         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_permission_get_type ()")]
2391         public class SimplePermission : GLib.Permission {
2392                 [CCode (has_construct_function = false, type = "GPermission*")]
2393                 [Version (since = "2.26")]
2394                 public SimplePermission (bool allowed);
2395         }
2396         [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_proxy_resolver_get_type ()")]
2397         public class SimpleProxyResolver : GLib.Object, GLib.ProxyResolver {
2398                 [CCode (has_construct_function = false, type = "GProxyResolver*")]
2399                 [Version (since = "2.36")]
2400                 public SimpleProxyResolver (string? default_proxy, string? ignore_hosts);
2401                 [Version (since = "2.36")]
2402                 public void set_default_proxy (string default_proxy);
2403                 [Version (since = "2.36")]
2404                 public void set_ignore_hosts (string ignore_hosts);
2405                 [Version (since = "2.36")]
2406                 public void set_uri_proxy (string uri_scheme, string proxy);
2407                 [NoAccessorMethod]
2408                 public string default_proxy { owned get; set; }
2409                 [CCode (array_length = false, array_null_terminated = true)]
2410                 [NoAccessorMethod]
2411                 public string[] ignore_hosts { owned get; set; }
2412         }
2413         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_get_type ()")]
2414         [Version (since = "2.22")]
2415         public class Socket : GLib.Object, GLib.DatagramBased, GLib.Initable {
2416                 [CCode (has_construct_function = false)]
2417                 public Socket (GLib.SocketFamily family, GLib.SocketType type, GLib.SocketProtocol protocol) throws GLib.Error;
2418                 public GLib.Socket accept (GLib.Cancellable? cancellable = null) throws GLib.Error;
2419                 public bool bind (GLib.SocketAddress address, bool allow_reuse) throws GLib.Error;
2420                 public bool check_connect_result () throws GLib.Error;
2421                 public bool close () throws GLib.Error;
2422                 public GLib.IOCondition condition_check (GLib.IOCondition condition);
2423                 [Version (since = "2.32")]
2424                 public bool condition_timed_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
2425                 public bool condition_wait (GLib.IOCondition condition, GLib.Cancellable? cancellable = null) throws GLib.IOError;
2426                 public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
2427                 public GLib.SocketSource create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
2428                 [CCode (has_construct_function = false)]
2429                 public Socket.from_fd (int fd) throws GLib.Error;
2430                 [Version (since = "2.32")]
2431                 public ssize_t get_available_bytes ();
2432                 public bool get_blocking ();
2433                 [Version (since = "2.32")]
2434                 public bool get_broadcast ();
2435                 [Version (since = "2.26")]
2436                 public GLib.Credentials get_credentials () throws GLib.Error;
2437                 public GLib.SocketFamily get_family ();
2438                 public int get_fd ();
2439                 public bool get_keepalive ();
2440                 public int get_listen_backlog ();
2441                 public GLib.SocketAddress get_local_address () throws GLib.Error;
2442                 [Version (since = "2.32")]
2443                 public bool get_multicast_loopback ();
2444                 [Version (since = "2.32")]
2445                 public uint get_multicast_ttl ();
2446                 [Version (since = "2.36")]
2447                 public bool get_option (int level, int optname, out int value) throws GLib.Error;
2448                 public GLib.SocketProtocol get_protocol ();
2449                 public GLib.SocketAddress get_remote_address () throws GLib.Error;
2450                 public GLib.SocketType get_socket_type ();
2451                 [Version (since = "2.26")]
2452                 public uint get_timeout ();
2453                 [Version (since = "2.32")]
2454                 public uint get_ttl ();
2455                 public bool is_closed ();
2456                 public bool is_connected ();
2457                 [Version (since = "2.32")]
2458                 public bool join_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
2459                 [Version (since = "2.32")]
2460                 public bool leave_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error;
2461                 public bool listen () throws GLib.Error;
2462                 public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
2463                 public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
2464                 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;
2465                 [Version (since = "2.48")]
2466                 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;
2467                 [Version (since = "2.26")]
2468                 public ssize_t receive_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
2469                 public ssize_t send ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
2470                 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;
2471                 [Version (since = "2.44")]
2472                 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;
2473                 public ssize_t send_to (GLib.SocketAddress? address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
2474                 [Version (since = "2.26")]
2475                 public ssize_t send_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
2476                 public void set_blocking (bool blocking);
2477                 [Version (since = "2.32")]
2478                 public void set_broadcast (bool broadcast);
2479                 public void set_keepalive (bool keepalive);
2480                 public void set_listen_backlog (int backlog);
2481                 [Version (since = "2.32")]
2482                 public void set_multicast_loopback (bool loopback);
2483                 [Version (since = "2.32")]
2484                 public void set_multicast_ttl (uint ttl);
2485                 [Version (since = "2.36")]
2486                 public bool set_option (int level, int optname, int value) throws GLib.Error;
2487                 [Version (since = "2.26")]
2488                 public void set_timeout (uint timeout);
2489                 [Version (since = "2.32")]
2490                 public void set_ttl (uint ttl);
2491                 public bool shutdown (bool shutdown_read, bool shutdown_write) throws GLib.Error;
2492                 public bool speaks_ipv4 ();
2493                 public bool blocking { get; set; }
2494                 [Version (since = "2.32")]
2495                 public bool broadcast { get; set; }
2496                 public GLib.SocketFamily family { get; construct; }
2497                 public int fd { get; construct; }
2498                 public bool keepalive { get; set; }
2499                 public int listen_backlog { get; set; }
2500                 [NoAccessorMethod]
2501                 public GLib.SocketAddress local_address { owned get; }
2502                 [Version (since = "2.32")]
2503                 public bool multicast_loopback { get; set; }
2504                 [Version (since = "2.32")]
2505                 public uint multicast_ttl { get; set; }
2506                 public GLib.SocketProtocol protocol { get; construct; }
2507                 [NoAccessorMethod]
2508                 public GLib.SocketAddress remote_address { owned get; }
2509                 [Version (since = "2.26")]
2510                 public uint timeout { get; set; }
2511                 [Version (since = "2.32")]
2512                 public uint ttl { get; set; }
2513                 [NoAccessorMethod]
2514                 public GLib.SocketType type { get; construct; }
2515         }
2516         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_address_get_type ()")]
2517         public abstract class SocketAddress : GLib.Object, GLib.SocketConnectable {
2518                 [CCode (has_construct_function = false)]
2519                 protected SocketAddress ();
2520                 [CCode (has_construct_function = false)]
2521                 [Version (since = "2.22")]
2522                 public SocketAddress.from_native (void* native, size_t len);
2523                 [Version (since = "2.22")]
2524                 public virtual GLib.SocketFamily get_family ();
2525                 [Version (since = "2.22")]
2526                 public virtual ssize_t get_native_size ();
2527                 [Version (since = "2.22")]
2528                 public virtual bool to_native (void* dest, size_t destlen) throws GLib.Error;
2529                 public GLib.SocketFamily family { get; }
2530         }
2531         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_address_enumerator_get_type ()")]
2532         public abstract class SocketAddressEnumerator : GLib.Object {
2533                 [CCode (has_construct_function = false)]
2534                 protected SocketAddressEnumerator ();
2535                 public virtual GLib.SocketAddress next (GLib.Cancellable? cancellable = null) throws GLib.Error;
2536                 public virtual async GLib.SocketAddress next_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
2537         }
2538         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_client_get_type ()")]
2539         [Version (since = "2.22")]
2540         public class SocketClient : GLib.Object {
2541                 [CCode (has_construct_function = false)]
2542                 public SocketClient ();
2543                 public void add_application_proxy (string protocol);
2544                 public GLib.SocketConnection connect (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
2545                 public async GLib.SocketConnection connect_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
2546                 public GLib.SocketConnection connect_to_host (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
2547                 public async GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
2548                 public GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
2549                 public async GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable = null) throws GLib.Error;
2550                 [Version (since = "2.26")]
2551                 public GLib.SocketConnection connect_to_uri (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
2552                 [Version (since = "2.26")]
2553                 public async GLib.SocketConnection connect_to_uri_async (string uri, uint16 default_port, GLib.Cancellable? cancellable = null) throws GLib.Error;
2554                 [Version (since = "2.26")]
2555                 public bool get_enable_proxy ();
2556                 public GLib.SocketFamily get_family ();
2557                 public unowned GLib.SocketAddress get_local_address ();
2558                 public GLib.SocketProtocol get_protocol ();
2559                 [Version (since = "2.36")]
2560                 public unowned GLib.ProxyResolver get_proxy_resolver ();
2561                 public GLib.SocketType get_socket_type ();
2562                 [Version (since = "2.26")]
2563                 public uint get_timeout ();
2564                 [Version (since = "2.28")]
2565                 public bool get_tls ();
2566                 [Version (since = "2.28")]
2567                 public GLib.TlsCertificateFlags get_tls_validation_flags ();
2568                 [Version (since = "2.26")]
2569                 public void set_enable_proxy (bool enable);
2570                 public void set_family (GLib.SocketFamily family);
2571                 public void set_local_address (GLib.SocketAddress? address);
2572                 public void set_protocol (GLib.SocketProtocol protocol);
2573                 [Version (since = "2.36")]
2574                 public void set_proxy_resolver (GLib.ProxyResolver? proxy_resolver);
2575                 public void set_socket_type (GLib.SocketType type);
2576                 [Version (since = "2.26")]
2577                 public void set_timeout (uint timeout);
2578                 [Version (since = "2.28")]
2579                 public void set_tls (bool tls);
2580                 [Version (since = "2.28")]
2581                 public void set_tls_validation_flags (GLib.TlsCertificateFlags flags);
2582                 public bool enable_proxy { get; set construct; }
2583                 public GLib.SocketFamily family { get; set construct; }
2584                 public GLib.SocketAddress local_address { get; set construct; }
2585                 public GLib.SocketProtocol protocol { get; set construct; }
2586                 [Version (since = "2.36")]
2587                 public GLib.ProxyResolver proxy_resolver { get; set construct; }
2588                 public uint timeout { get; set construct; }
2589                 public bool tls { get; set construct; }
2590                 public GLib.TlsCertificateFlags tls_validation_flags { get; set construct; }
2591                 [NoAccessorMethod]
2592                 public GLib.SocketType type { get; set construct; }
2593                 [Version (since = "2.32")]
2594                 public virtual signal void event (GLib.SocketClientEvent event, GLib.SocketConnectable connectable, GLib.IOStream? connection);
2595         }
2596         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_connection_get_type ()")]
2597         [Version (since = "2.22")]
2598         public class SocketConnection : GLib.IOStream {
2599                 [CCode (has_construct_function = false)]
2600                 protected SocketConnection ();
2601                 [Version (since = "2.32")]
2602                 public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
2603                 [Version (since = "2.32")]
2604                 public async bool connect_async (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
2605                 public static GLib.SocketConnection factory_create_connection (GLib.Socket socket);
2606                 public static GLib.Type factory_lookup_type (GLib.SocketFamily family, GLib.SocketType type, int protocol_id);
2607                 public static void factory_register_type (GLib.Type g_type, GLib.SocketFamily family, GLib.SocketType type, int protocol);
2608                 public GLib.SocketAddress get_local_address () throws GLib.Error;
2609                 public GLib.SocketAddress get_remote_address () throws GLib.Error;
2610                 public unowned GLib.Socket get_socket ();
2611                 [Version (since = "2.32")]
2612                 public bool is_connected ();
2613                 public GLib.Socket socket { get; construct; }
2614         }
2615         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_control_message_get_type ()")]
2616         public abstract class SocketControlMessage : GLib.Object {
2617                 [CCode (has_construct_function = false)]
2618                 protected SocketControlMessage ();
2619                 [Version (since = "2.22")]
2620                 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);
2621                 [Version (since = "2.22")]
2622                 public virtual int get_level ();
2623                 [Version (since = "2.22")]
2624                 public int get_msg_type ();
2625                 [Version (since = "2.22")]
2626                 public virtual size_t get_size ();
2627                 [NoWrapper]
2628                 public virtual int get_type ();
2629                 [Version (since = "2.22")]
2630                 public virtual void serialize ([CCode (array_length = false, type = "gpointer")] uint8[] data);
2631         }
2632         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_listener_get_type ()")]
2633         [Version (since = "2.22")]
2634         public class SocketListener : GLib.Object {
2635                 [CCode (has_construct_function = false)]
2636                 public SocketListener ();
2637                 public GLib.SocketConnection accept (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
2638                 public async GLib.SocketConnection accept_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
2639                 public GLib.Socket accept_socket (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
2640                 public async GLib.Socket accept_socket_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
2641                 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;
2642                 [Version (since = "2.24")]
2643                 public uint16 add_any_inet_port (GLib.Object? source_object) throws GLib.Error;
2644                 public bool add_inet_port (uint16 port, GLib.Object? source_object) throws GLib.Error;
2645                 public bool add_socket (GLib.Socket socket, GLib.Object? source_object) throws GLib.Error;
2646                 [NoWrapper]
2647                 public virtual void changed ();
2648                 public void close ();
2649                 public void set_backlog (int listen_backlog);
2650                 [NoAccessorMethod]
2651                 public int listen_backlog { get; set construct; }
2652                 [Version (since = "2.46")]
2653                 public virtual signal void event (GLib.SocketListenerEvent event, GLib.Socket socket);
2654         }
2655         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_service_get_type ()")]
2656         [Version (since = "2.22")]
2657         public class SocketService : GLib.SocketListener {
2658                 [CCode (has_construct_function = false)]
2659                 public SocketService ();
2660                 public bool is_active ();
2661                 public void start ();
2662                 public void stop ();
2663                 [NoAccessorMethod]
2664                 [Version (since = "2.46")]
2665                 public bool active { get; set construct; }
2666                 public virtual signal bool incoming (GLib.SocketConnection connection, GLib.Object? source_object);
2667         }
2668         [CCode (cheader_filename = "gio/gio.h", cname = "GSource", ref_function = "g_source_ref", unref_function = "g_source_unref")]
2669         [Compact]
2670         public class SocketSource : GLib.Source {
2671                 [CCode (cname = "g_source_set_callback")]
2672                 public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.SocketSourceFunc func);
2673         }
2674         [CCode (cheader_filename = "gio/gio.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "g_srv_target_get_type ()")]
2675         [Compact]
2676         public class SrvTarget {
2677                 [CCode (has_construct_function = false)]
2678                 [Version (since = "2.22")]
2679                 public SrvTarget (string hostname, uint16 port, uint16 priority, uint16 weight);
2680                 [Version (since = "2.22")]
2681                 public GLib.SrvTarget copy ();
2682                 [Version (since = "2.22")]
2683                 public void free ();
2684                 [Version (since = "2.22")]
2685                 public unowned string get_hostname ();
2686                 [Version (since = "2.22")]
2687                 public uint16 get_port ();
2688                 [Version (since = "2.22")]
2689                 public uint16 get_priority ();
2690                 [Version (since = "2.22")]
2691                 public uint16 get_weight ();
2692                 [CCode (cheader_filename = "gio/gio.h")]
2693                 [Version (since = "2.22")]
2694                 public static GLib.List<GLib.SrvTarget> list_sort (owned GLib.List<GLib.SrvTarget> targets);
2695         }
2696         [CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_get_type ()")]
2697         [Version (since = "2.40")]
2698         public class Subprocess : GLib.Object, GLib.Initable {
2699                 [CCode (has_construct_function = false)]
2700                 public Subprocess (GLib.SubprocessFlags flags, ...) throws GLib.Error;
2701                 public bool communicate (GLib.Bytes? stdin_buf, GLib.Cancellable? cancellable, out GLib.Bytes stdout_buf, out GLib.Bytes stderr_buf) throws GLib.Error;
2702                 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;
2703                 public bool communicate_utf8 (string? stdin_buf, GLib.Cancellable? cancellable, out string stdout_buf, out string stderr_buf) throws GLib.Error;
2704                 public async bool communicate_utf8_async (string? stdin_buf, GLib.Cancellable? cancellable, out string stdout_buf, out string stderr_buf) throws GLib.Error;
2705                 public void force_exit ();
2706                 public int get_exit_status ();
2707                 public unowned string get_identifier ();
2708                 public bool get_if_exited ();
2709                 public bool get_if_signaled ();
2710                 public int get_status ();
2711                 public unowned GLib.InputStream get_stderr_pipe ();
2712                 public unowned GLib.OutputStream get_stdin_pipe ();
2713                 public unowned GLib.InputStream get_stdout_pipe ();
2714                 public bool get_successful ();
2715                 public int get_term_sig ();
2716                 [CCode (cname = "g_subprocess_newv", has_construct_function = false)]
2717                 public Subprocess.newv ([CCode (array_length = false, array_null_terminated = true)] string[] argv, GLib.SubprocessFlags flags) throws GLib.Error;
2718                 public void send_signal (int signal_num);
2719                 public bool wait (GLib.Cancellable? cancellable = null) throws GLib.Error;
2720                 public async bool wait_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
2721                 public bool wait_check (GLib.Cancellable? cancellable = null) throws GLib.Error;
2722                 public async bool wait_check_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
2723                 [CCode (array_length = false, array_null_terminated = true)]
2724                 [NoAccessorMethod]
2725                 public string[] argv { construct; }
2726                 [NoAccessorMethod]
2727                 public GLib.SubprocessFlags flags { construct; }
2728         }
2729         [CCode (cheader_filename = "gio/gio.h", type_id = "g_subprocess_launcher_get_type ()")]
2730         [Version (since = "2.40")]
2731         public class SubprocessLauncher : GLib.Object {
2732                 [CCode (has_construct_function = false)]
2733                 public SubprocessLauncher (GLib.SubprocessFlags flags);
2734                 public unowned string getenv (string variable);
2735                 public void set_child_setup (owned GLib.SpawnChildSetupFunc child_setup);
2736                 public void set_cwd (string cwd);
2737                 public void set_environ ([CCode (array_length = false, array_null_terminated = true)] string[] env);
2738                 public void set_flags (GLib.SubprocessFlags flags);
2739                 public void set_stderr_file_path (string? path);
2740                 public void set_stdin_file_path (string path);
2741                 public void set_stdout_file_path (string? path);
2742                 public void setenv (string variable, string value, bool overwrite);
2743                 public GLib.Subprocess spawnv ([CCode (array_length = false, array_null_terminated = true)] string[] argv) throws GLib.Error;
2744                 public void take_fd (int source_fd, int target_fd);
2745                 public void take_stderr_fd (int fd);
2746                 public void take_stdin_fd (int fd);
2747                 public void take_stdout_fd (int fd);
2748                 public void unsetenv (string variable);
2749                 [NoAccessorMethod]
2750                 public GLib.SubprocessFlags flags { construct; }
2751         }
2752         [CCode (cheader_filename = "gio/gio.h", type_id = "g_task_get_type ()")]
2753         public class Task : GLib.Object, GLib.AsyncResult {
2754                 [CCode (has_construct_function = false)]
2755                 [Version (since = "2.36")]
2756                 public Task (GLib.Object? source_object, GLib.Cancellable? cancellable, [CCode (scope = "async")] GLib.TaskReadyCallback callback);
2757                 [Version (since = "2.36")]
2758                 public void attach_source (GLib.Source source, [CCode (type = "GSourceFunc")] GLib.TaskSourceFunc callback);
2759                 [Version (since = "2.36")]
2760                 public unowned GLib.Cancellable get_cancellable ();
2761                 [Version (since = "2.36")]
2762                 public bool get_check_cancellable ();
2763                 [Version (since = "2.44")]
2764                 public bool get_completed ();
2765                 [Version (since = "2.36")]
2766                 public unowned GLib.MainContext get_context ();
2767                 [Version (since = "2.36")]
2768                 public int get_priority ();
2769                 [Version (since = "2.36")]
2770                 public bool get_return_on_cancel ();
2771                 [Version (since = "2.36")]
2772                 public void* get_source_tag ();
2773                 [Version (since = "2.36")]
2774                 public void* get_task_data ();
2775                 [CCode (cname = "g_task_get_source_object")]
2776                 [Version (since = "2.36")]
2777                 public unowned GLib.Object? get_unowned_source_object ();
2778                 [Version (since = "2.36")]
2779                 public bool had_error ();
2780                 [Version (since = "2.36")]
2781                 public static bool is_valid (GLib.AsyncResult result, GLib.Object? source_object);
2782                 [Version (since = "2.36")]
2783                 public bool propagate_boolean () throws GLib.Error;
2784                 [Version (since = "2.36")]
2785                 public ssize_t propagate_int () throws GLib.Error;
2786                 [Version (since = "2.36")]
2787                 public void* propagate_pointer () throws GLib.Error;
2788                 [Version (since = "2.36")]
2789                 public static void report_error (GLib.Object? source_object, [CCode (scope = "async")] GLib.AsyncReadyCallback callback, void* source_tag, owned GLib.Error error);
2790                 [PrintfFormat]
2791                 [Version (since = "2.36")]
2792                 public static void report_new_error (GLib.Object? source_object, [CCode (scope = "async")] GLib.AsyncReadyCallback callback, void* source_tag, GLib.Quark domain, int code, string format, ...);
2793                 [Version (since = "2.36")]
2794                 public void return_boolean (bool result);
2795                 [Version (since = "2.36")]
2796                 public void return_error (owned GLib.Error error);
2797                 [Version (since = "2.36")]
2798                 public bool return_error_if_cancelled ();
2799                 [Version (since = "2.36")]
2800                 public void return_int (ssize_t result);
2801                 [PrintfFormat]
2802                 [Version (since = "2.36")]
2803                 public void return_new_error (GLib.Quark domain, int code, string format, ...);
2804                 [Version (since = "2.36")]
2805                 public void return_pointer (owned void* result, GLib.DestroyNotify? result_destroy);
2806                 [Version (since = "2.36")]
2807                 public void run_in_thread (GLib.TaskThreadFunc task_func);
2808                 [Version (since = "2.36")]
2809                 public void run_in_thread_sync (GLib.TaskThreadFunc task_func);
2810                 [Version (since = "2.36")]
2811                 public void set_check_cancellable (bool check_cancellable);
2812                 [Version (since = "2.36")]
2813                 public void set_priority (int priority);
2814                 [Version (since = "2.36")]
2815                 public bool set_return_on_cancel (bool return_on_cancel);
2816                 [Version (since = "2.36")]
2817                 public void set_source_tag (void* source_tag);
2818                 [Version (since = "2.36")]
2819                 public void set_task_data (void* task_data, GLib.DestroyNotify? task_data_destroy);
2820                 [Version (since = "2.44")]
2821                 public bool completed { get; }
2822         }
2823         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_connection_get_type ()")]
2824         [Version (since = "2.22")]
2825         public class TcpConnection : GLib.SocketConnection {
2826                 [CCode (has_construct_function = false)]
2827                 protected TcpConnection ();
2828                 public bool get_graceful_disconnect ();
2829                 public void set_graceful_disconnect (bool graceful_disconnect);
2830                 public bool graceful_disconnect { get; set; }
2831         }
2832         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tcp_wrapper_connection_get_type ()")]
2833         public class TcpWrapperConnection : GLib.TcpConnection {
2834                 [CCode (has_construct_function = false, type = "GSocketConnection*")]
2835                 [Version (since = "2.28")]
2836                 public TcpWrapperConnection (GLib.IOStream base_io_stream, GLib.Socket socket);
2837                 public unowned GLib.IOStream get_base_io_stream ();
2838                 public GLib.IOStream base_io_stream { get; construct; }
2839         }
2840         [CCode (cheader_filename = "gio/gio.h", type_id = "g_test_dbus_get_type ()")]
2841         [Version (since = "2.34")]
2842         public class TestDBus : GLib.Object {
2843                 [CCode (has_construct_function = false)]
2844                 public TestDBus (GLib.TestDBusFlags flags);
2845                 public void add_service_dir (string path);
2846                 public void down ();
2847                 public unowned string? get_bus_address ();
2848                 public GLib.TestDBusFlags get_flags ();
2849                 public void stop ();
2850                 public static void unset ();
2851                 public void up ();
2852                 public GLib.TestDBusFlags flags { get; construct; }
2853         }
2854         [CCode (cheader_filename = "gio/gio.h", type_id = "g_themed_icon_get_type ()")]
2855         public class ThemedIcon : GLib.Object, GLib.Icon {
2856                 [CCode (has_construct_function = false, type = "GIcon*")]
2857                 public ThemedIcon (string iconname);
2858                 public void append_name (string iconname);
2859                 [CCode (has_construct_function = false, type = "GIcon*")]
2860                 public ThemedIcon.from_names ([CCode (array_length_cname = "len", array_length_pos = 1.1)] string[] iconnames);
2861                 [CCode (array_length = false, array_null_terminated = true)]
2862                 public unowned string[] get_names ();
2863                 [Version (since = "2.18")]
2864                 public void prepend_name (string iconname);
2865                 [CCode (has_construct_function = false, type = "GIcon*")]
2866                 public ThemedIcon.with_default_fallbacks (string iconname);
2867                 [NoAccessorMethod]
2868                 public string name { construct; }
2869                 [CCode (array_length = false, array_null_terminated = true)]
2870                 public string[] names { get; construct; }
2871                 [NoAccessorMethod]
2872                 public bool use_default_fallbacks { get; construct; }
2873         }
2874         [CCode (cheader_filename = "gio/gio.h", type_id = "g_threaded_socket_service_get_type ()")]
2875         [Version (since = "2.22")]
2876         public class ThreadedSocketService : GLib.SocketService {
2877                 [CCode (has_construct_function = false, type = "GSocketService*")]
2878                 public ThreadedSocketService (int max_threads);
2879                 [NoAccessorMethod]
2880                 public int max_threads { get; construct; }
2881                 public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
2882         }
2883         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
2884         [Version (since = "2.28")]
2885         public class TlsCertificate : GLib.Object {
2886                 [CCode (has_construct_function = false)]
2887                 protected TlsCertificate ();
2888                 [CCode (has_construct_function = false)]
2889                 public TlsCertificate.from_file (string file) throws GLib.Error;
2890                 [CCode (has_construct_function = false)]
2891                 public TlsCertificate.from_files (string cert_file, string key_file) throws GLib.Error;
2892                 [CCode (has_construct_function = false)]
2893                 public TlsCertificate.from_pem (string data, ssize_t length) throws GLib.Error;
2894                 public unowned GLib.TlsCertificate get_issuer ();
2895                 [Version (since = "2.34")]
2896                 public bool is_same (GLib.TlsCertificate cert_two);
2897                 public static GLib.List<GLib.TlsCertificate> list_new_from_file (string file) throws GLib.Error;
2898                 public virtual GLib.TlsCertificateFlags verify (GLib.SocketConnectable? identity, GLib.TlsCertificate? trusted_ca);
2899                 [NoAccessorMethod]
2900                 public GLib.ByteArray certificate { owned get; construct; }
2901                 [NoAccessorMethod]
2902                 public string certificate_pem { owned get; construct; }
2903                 public GLib.TlsCertificate issuer { get; construct; }
2904                 [NoAccessorMethod]
2905                 public GLib.ByteArray private_key { construct; }
2906                 [NoAccessorMethod]
2907                 public string private_key_pem { construct; }
2908         }
2909         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_connection_get_type ()")]
2910         [Version (since = "2.28")]
2911         public abstract class TlsConnection : GLib.IOStream {
2912                 [CCode (has_construct_function = false)]
2913                 protected TlsConnection ();
2914                 public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
2915                 public unowned GLib.TlsCertificate get_certificate ();
2916                 [Version (since = "2.30")]
2917                 public unowned GLib.TlsDatabase get_database ();
2918                 [Version (since = "2.30")]
2919                 public unowned GLib.TlsInteraction get_interaction ();
2920                 public unowned GLib.TlsCertificate get_peer_certificate ();
2921                 public GLib.TlsCertificateFlags get_peer_certificate_errors ();
2922                 public GLib.TlsRehandshakeMode get_rehandshake_mode ();
2923                 public bool get_require_close_notify ();
2924                 [Version (deprecated = true, deprecated_since = "2.30")]
2925                 public bool get_use_system_certdb ();
2926                 public virtual bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
2927                 public virtual async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
2928                 public void set_certificate (GLib.TlsCertificate certificate);
2929                 [Version (since = "2.30")]
2930                 public void set_database (GLib.TlsDatabase database);
2931                 [Version (since = "2.30")]
2932                 public void set_interaction (GLib.TlsInteraction? interaction);
2933                 public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
2934                 public void set_require_close_notify (bool require_close_notify);
2935                 [Version (deprecated = true, deprecated_since = "2.30")]
2936                 public void set_use_system_certdb (bool use_system_certdb);
2937                 [NoAccessorMethod]
2938                 public GLib.IOStream base_io_stream { owned get; construct; }
2939                 public GLib.TlsCertificate certificate { get; set; }
2940                 [Version (since = "2.30")]
2941                 public GLib.TlsDatabase database { get; set; }
2942                 [Version (since = "2.30")]
2943                 public GLib.TlsInteraction interaction { get; set; }
2944                 public GLib.TlsCertificate peer_certificate { get; }
2945                 public GLib.TlsCertificateFlags peer_certificate_errors { get; }
2946                 public GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
2947                 public bool require_close_notify { get; set construct; }
2948                 [Version (deprecated = true, deprecated_since = "2.30")]
2949                 public bool use_system_certdb { get; set construct; }
2950                 public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
2951         }
2952         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_database_get_type ()")]
2953         [Version (since = "2.30")]
2954         public abstract class TlsDatabase : GLib.Object {
2955                 [CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT")]
2956                 public const string PURPOSE_AUTHENTICATE_CLIENT;
2957                 [CCode (cheader_filename = "gio/gio.h", cname = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER")]
2958                 public const string PURPOSE_AUTHENTICATE_SERVER;
2959                 [CCode (has_construct_function = false)]
2960                 protected TlsDatabase ();
2961                 public virtual string? create_certificate_handle (GLib.TlsCertificate certificate);
2962                 public virtual GLib.TlsCertificate? lookup_certificate_for_handle (string handle, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
2963                 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;
2964                 public virtual GLib.TlsCertificate lookup_certificate_issuer (GLib.TlsCertificate certificate, GLib.TlsInteraction? interaction, GLib.TlsDatabaseLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
2965                 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;
2966                 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;
2967                 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;
2968                 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;
2969                 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;
2970         }
2971         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_interaction_get_type ()")]
2972         [Version (since = "2.30")]
2973         public class TlsInteraction : GLib.Object {
2974                 [CCode (has_construct_function = false)]
2975                 protected TlsInteraction ();
2976                 public virtual GLib.TlsInteractionResult ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
2977                 public virtual async GLib.TlsInteractionResult ask_password_async (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
2978                 public GLib.TlsInteractionResult invoke_ask_password (GLib.TlsPassword password, GLib.Cancellable? cancellable = null) throws GLib.Error;
2979                 [Version (since = "2.40")]
2980                 public GLib.TlsInteractionResult invoke_request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
2981                 [Version (since = "2.40")]
2982                 public virtual GLib.TlsInteractionResult request_certificate (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
2983                 [Version (since = "2.40")]
2984                 public virtual async GLib.TlsInteractionResult request_certificate_async (GLib.TlsConnection connection, GLib.TlsCertificateRequestFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
2985         }
2986         [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_password_get_type ()")]
2987         [Version (since = "2.30")]
2988         public class TlsPassword : GLib.Object {
2989                 [CCode (has_construct_function = false)]
2990                 public TlsPassword (GLib.TlsPasswordFlags flags, string description);
2991                 [NoWrapper]
2992                 public virtual unowned string get_default_warning ();
2993                 public unowned string get_description ();
2994                 public GLib.TlsPasswordFlags get_flags ();
2995                 [CCode (array_length_pos = 0.1)]
2996                 public virtual unowned uint8[] get_value ();
2997                 public unowned string get_warning ();
2998                 public void set_description (string description);
2999                 public void set_flags (GLib.TlsPasswordFlags flags);
3000                 public void set_value ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize", type = "const guchar*")] uint8[] value);
3001                 [CCode (vfunc_name = "set_value")]
3002                 public virtual void set_value_full ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gssize", type = "guchar*")] owned uint8[] value, GLib.DestroyNotify? notify = GLib.g_free);
3003                 public void set_warning (string warning);
3004                 public string description { get; set; }
3005                 public GLib.TlsPasswordFlags flags { get; set; }
3006                 public string warning { get; set; }
3007         }
3008         [CCode (cheader_filename = "gio/gunixfdlist.h", type_id = "g_unix_fd_list_get_type ()")]
3009         public class UnixFDList : GLib.Object {
3010                 [CCode (has_construct_function = false)]
3011                 [Version (since = "2.24")]
3012                 public UnixFDList ();
3013                 [Version (since = "2.24")]
3014                 public int append (int fd) throws GLib.Error;
3015                 [CCode (has_construct_function = false)]
3016                 [Version (since = "2.24")]
3017                 public UnixFDList.from_array ([CCode (array_length_cname = "n_fds", array_length_pos = 1.1)] int[] fds);
3018                 [Version (since = "2.24")]
3019                 public int @get (int index_) throws GLib.Error;
3020                 [Version (since = "2.24")]
3021                 public int get_length ();
3022                 [CCode (array_length_pos = 0.1)]
3023                 [Version (since = "2.24")]
3024                 public unowned int[] peek_fds ();
3025                 [CCode (array_length_pos = 0.1)]
3026                 [Version (since = "2.24")]
3027                 public int[] steal_fds ();
3028         }
3029         [CCode (cheader_filename = "gio/gio.h", type_id = "g_vfs_get_type ()")]
3030         public class Vfs : GLib.Object {
3031                 [CCode (has_construct_function = false)]
3032                 protected Vfs ();
3033                 [NoWrapper]
3034                 public virtual void add_writable_namespaces (GLib.FileAttributeInfoList list);
3035                 public static unowned GLib.Vfs get_default ();
3036                 public virtual GLib.File get_file_for_path (string path);
3037                 public virtual GLib.File get_file_for_uri (string uri);
3038                 public static unowned GLib.Vfs get_local ();
3039                 [CCode (array_length = false, array_null_terminated = true)]
3040                 public virtual unowned string[] get_supported_uri_schemes ();
3041                 public virtual bool is_active ();
3042                 [NoWrapper]
3043                 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);
3044                 [NoWrapper]
3045                 public virtual void local_file_moved (string source, string dest);
3046                 [NoWrapper]
3047                 public virtual void local_file_removed (string filename);
3048                 [NoWrapper]
3049                 public virtual bool local_file_set_attributes (string filename, GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3050                 public virtual GLib.File parse_name (string parse_name);
3051                 [Version (since = "2.50")]
3052                 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);
3053                 [Version (since = "2.50")]
3054                 public bool unregister_uri_scheme (string scheme);
3055         }
3056         [CCode (cheader_filename = "gio/gio.h", type_id = "g_volume_monitor_get_type ()")]
3057         public class VolumeMonitor : GLib.Object {
3058                 [CCode (has_construct_function = false)]
3059                 protected VolumeMonitor ();
3060                 [Version (deprecated = true, deprecated_since = "2.20")]
3061                 public static GLib.Volume adopt_orphan_mount (GLib.Mount mount);
3062                 public static GLib.VolumeMonitor @get ();
3063                 public virtual GLib.List<GLib.Drive> get_connected_drives ();
3064                 public virtual GLib.Mount get_mount_for_uuid (string uuid);
3065                 public virtual GLib.List<GLib.Mount> get_mounts ();
3066                 public virtual GLib.Volume get_volume_for_uuid (string uuid);
3067                 public virtual GLib.List<GLib.Volume> get_volumes ();
3068                 [NoWrapper]
3069                 public virtual bool is_supported ();
3070                 public virtual signal void drive_changed (GLib.Drive drive);
3071                 public virtual signal void drive_connected (GLib.Drive drive);
3072                 public virtual signal void drive_disconnected (GLib.Drive drive);
3073                 [Version (since = "2.18")]
3074                 public virtual signal void drive_eject_button (GLib.Drive drive);
3075                 [Version (since = "2.22")]
3076                 public virtual signal void drive_stop_button (GLib.Drive drive);
3077                 public virtual signal void mount_added (GLib.Mount mount);
3078                 public virtual signal void mount_changed (GLib.Mount mount);
3079                 public virtual signal void mount_pre_unmount (GLib.Mount mount);
3080                 public virtual signal void mount_removed (GLib.Mount mount);
3081                 public virtual signal void volume_added (GLib.Volume volume);
3082                 public virtual signal void volume_changed (GLib.Volume volume);
3083                 public virtual signal void volume_removed (GLib.Volume volume);
3084         }
3085         [CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_compressor_get_type ()")]
3086         public class ZlibCompressor : GLib.Object, GLib.Converter {
3087                 [CCode (has_construct_function = false)]
3088                 [Version (since = "2.24")]
3089                 public ZlibCompressor (GLib.ZlibCompressorFormat format, int level = -1);
3090                 [Version (since = "2.26")]
3091                 public unowned GLib.FileInfo get_file_info ();
3092                 [Version (since = "2.26")]
3093                 public void set_file_info (GLib.FileInfo? file_info);
3094                 [Version (since = "2.26")]
3095                 public GLib.FileInfo file_info { get; set; }
3096                 [NoAccessorMethod]
3097                 public GLib.ZlibCompressorFormat format { get; construct; }
3098                 [NoAccessorMethod]
3099                 public int level { get; construct; }
3100         }
3101         [CCode (cheader_filename = "gio/gio.h", type_id = "g_zlib_decompressor_get_type ()")]
3102         public class ZlibDecompressor : GLib.Object, GLib.Converter {
3103                 [CCode (has_construct_function = false)]
3104                 [Version (since = "2.24")]
3105                 public ZlibDecompressor (GLib.ZlibCompressorFormat format);
3106                 [Version (since = "2.26")]
3107                 public unowned GLib.FileInfo get_file_info ();
3108                 [Version (since = "2.26")]
3109                 public GLib.FileInfo file_info { get; }
3110                 [NoAccessorMethod]
3111                 public GLib.ZlibCompressorFormat format { get; construct; }
3112         }
3113         [CCode (cheader_filename = "gio/gio.h", type_cname = "GActionInterface", type_id = "g_action_get_type ()")]
3114         public interface Action : GLib.Object {
3115                 [Version (since = "2.28")]
3116                 public abstract void activate (GLib.Variant? parameter);
3117                 [Version (since = "2.30")]
3118                 public abstract void change_state (GLib.Variant value);
3119                 [Version (since = "2.28")]
3120                 public abstract bool get_enabled ();
3121                 [Version (since = "2.28")]
3122                 public abstract unowned string get_name ();
3123                 [Version (since = "2.28")]
3124                 public abstract unowned GLib.VariantType? get_parameter_type ();
3125                 [Version (since = "2.28")]
3126                 public abstract GLib.Variant get_state ();
3127                 [Version (since = "2.28")]
3128                 public abstract GLib.Variant? get_state_hint ();
3129                 [Version (since = "2.28")]
3130                 public abstract unowned GLib.VariantType? get_state_type ();
3131                 [Version (since = "2.38")]
3132                 public static bool name_is_valid (string action_name);
3133                 [Version (since = "2.38")]
3134                 public static bool parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error;
3135                 [Version (since = "2.38")]
3136                 public static string print_detailed_name (string action_name, GLib.Variant? target_value);
3137                 [Version (since = "2.28")]
3138                 public abstract bool enabled { get; }
3139                 [Version (since = "2.28")]
3140                 public abstract string name { get; }
3141                 [Version (since = "2.28")]
3142                 public abstract GLib.VariantType? parameter_type { get; }
3143                 [Version (since = "2.28")]
3144                 public abstract GLib.Variant? state { owned get; }
3145                 [Version (since = "2.28")]
3146                 public abstract GLib.VariantType? state_type { get; }
3147         }
3148         [CCode (cheader_filename = "gio/gio.h", type_cname = "GActionGroupInterface", type_id = "g_action_group_get_type ()")]
3149         public interface ActionGroup : GLib.Object {
3150                 [Version (since = "2.28")]
3151                 public abstract void activate_action (string action_name, GLib.Variant? parameter);
3152                 [Version (since = "2.28")]
3153                 public abstract void change_action_state (string action_name, GLib.Variant value);
3154                 [Version (since = "2.28")]
3155                 public abstract bool get_action_enabled (string action_name);
3156                 [Version (since = "2.28")]
3157                 public abstract unowned GLib.VariantType? get_action_parameter_type (string action_name);
3158                 [Version (since = "2.28")]
3159                 public abstract GLib.Variant? get_action_state (string action_name);
3160                 [Version (since = "2.28")]
3161                 public abstract GLib.Variant? get_action_state_hint (string action_name);
3162                 [Version (since = "2.28")]
3163                 public abstract unowned GLib.VariantType? get_action_state_type (string action_name);
3164                 [Version (since = "2.28")]
3165                 public abstract bool has_action (string action_name);
3166                 [CCode (array_length = false, array_null_terminated = true)]
3167                 [Version (since = "2.28")]
3168                 public abstract string[] list_actions ();
3169                 [Version (since = "2.32")]
3170                 public virtual bool query_action (string action_name, out bool enabled, out GLib.VariantType parameter_type, out GLib.VariantType state_type, out GLib.Variant state_hint, out GLib.Variant state);
3171                 [HasEmitter]
3172                 [Version (since = "2.28")]
3173                 public virtual signal void action_added (string action_name);
3174                 [HasEmitter]
3175                 [Version (since = "2.28")]
3176                 public virtual signal void action_enabled_changed (string action_name, bool enabled);
3177                 [HasEmitter]
3178                 [Version (since = "2.28")]
3179                 public virtual signal void action_removed (string action_name);
3180                 [HasEmitter]
3181                 [Version (since = "2.28")]
3182                 public virtual signal void action_state_changed (string action_name, GLib.Variant state);
3183         }
3184         [CCode (cheader_filename = "gio/gio.h", type_cname = "GActionMapInterface", type_id = "g_action_map_get_type ()")]
3185         public interface ActionMap : GLib.Object {
3186                 [Version (since = "2.32")]
3187                 public abstract void add_action (GLib.Action action);
3188                 [Version (since = "2.32")]
3189                 public void add_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5)] GLib.ActionEntry[] entries, void* user_data);
3190                 [Version (since = "2.32")]
3191                 public abstract unowned GLib.Action lookup_action (string action_name);
3192                 [Version (since = "2.32")]
3193                 public abstract void remove_action (string action_name);
3194         }
3195         [CCode (cheader_filename = "gio/gio.h", type_id = "g_app_info_get_type ()")]
3196         public interface AppInfo : GLib.Object {
3197                 public abstract bool add_supports_type (string content_type) throws GLib.Error;
3198                 [Version (since = "2.20")]
3199                 public abstract bool can_delete ();
3200                 public abstract bool can_remove_supports_type ();
3201                 public static GLib.AppInfo create_from_commandline (string commandline, string? application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
3202                 [CCode (vfunc_name = "do_delete")]
3203                 [Version (since = "2.20")]
3204                 public abstract bool @delete ();
3205                 public abstract GLib.AppInfo dup ();
3206                 public abstract bool equal (GLib.AppInfo appinfo2);
3207                 public static GLib.List<GLib.AppInfo> get_all ();
3208                 public static GLib.List<GLib.AppInfo> get_all_for_type (string content_type);
3209                 [NoWrapper]
3210                 public abstract unowned string get_commandline ();
3211                 public static GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
3212                 public static GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
3213                 public abstract unowned string get_description ();
3214                 [Version (since = "2.24")]
3215                 public abstract unowned string get_display_name ();
3216                 [NoWrapper]
3217                 public abstract unowned string get_executable ();
3218                 [Version (since = "2.28")]
3219                 public static GLib.List<GLib.AppInfo> get_fallback_for_type (string content_type);
3220                 public abstract unowned GLib.Icon get_icon ();
3221                 public abstract unowned string get_id ();
3222                 public abstract unowned string get_name ();
3223                 [Version (since = "2.28")]
3224                 public static GLib.List<GLib.AppInfo> get_recommended_for_type (string content_type);
3225                 [CCode (array_length = false, array_null_terminated = true)]
3226                 [Version (since = "2.34")]
3227                 public abstract unowned string[] get_supported_types ();
3228                 public abstract bool launch (GLib.List<GLib.File>? files, GLib.AppLaunchContext? launch_context) throws GLib.Error;
3229                 public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
3230                 [Version (since = "2.50")]
3231                 public static async bool launch_default_for_uri_async (string uri, GLib.AppLaunchContext launch_context, GLib.Cancellable? cancellable = null) throws GLib.Error;
3232                 public abstract bool launch_uris (GLib.List<string>? uris, GLib.AppLaunchContext? launch_context) throws GLib.Error;
3233                 public abstract bool remove_supports_type (string content_type) throws GLib.Error;
3234                 [Version (since = "2.20")]
3235                 public static void reset_type_associations (string content_type);
3236                 public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
3237                 public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
3238                 public abstract bool set_as_last_used_for_type (string content_type) throws GLib.Error;
3239                 public abstract bool should_show ();
3240                 public abstract bool supports_files ();
3241                 public abstract bool supports_uris ();
3242         }
3243         [CCode (cheader_filename = "gio/gio.h", type_id = "g_async_initable_get_type ()")]
3244         [Version (since = "2.22")]
3245         public interface AsyncInitable : GLib.Object {
3246                 public virtual async bool init_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3247                 [CCode (finish_function = "g_async_initable_new_finish")]
3248                 public static async GLib.Object new_async (GLib.Type object_type, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable, ...) throws GLib.Error;
3249                 [CCode (finish_function = "g_async_initable_new_finish")]
3250                 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);
3251                 [CCode (finish_function = "g_async_initable_new_finish")]
3252                 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);
3253         }
3254         [CCode (cheader_filename = "gio/gio.h", type_id = "g_async_result_get_type ()")]
3255         public interface AsyncResult : GLib.Object {
3256                 public abstract GLib.Object? get_source_object ();
3257                 public abstract void* get_user_data ();
3258                 [Version (since = "2.34")]
3259                 public abstract bool is_tagged (void* source_tag);
3260                 [Version (since = "2.34")]
3261                 public bool legacy_propagate_error () throws GLib.Error;
3262         }
3263         [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_get_type ()")]
3264         [Version (since = "2.24")]
3265         public interface Converter : GLib.Object {
3266                 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;
3267                 public abstract void reset ();
3268         }
3269         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_get_type ()")]
3270         [Version (since = "2.30")]
3271         public interface DBusInterface : GLib.Object {
3272                 [Version (since = "2.32")]
3273                 public abstract GLib.DBusObject dup_object ();
3274                 public abstract unowned GLib.DBusInterfaceInfo get_info ();
3275                 public abstract unowned GLib.DBusObject get_object ();
3276                 public abstract void set_object (GLib.DBusObject? object);
3277         }
3278         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_get_type ()")]
3279         public interface DBusObject : GLib.Object {
3280                 [Version (since = "2.30")]
3281                 public abstract GLib.DBusInterface get_interface (string interface_name);
3282                 [Version (since = "2.30")]
3283                 public abstract GLib.List<GLib.DBusInterface> get_interfaces ();
3284                 [Version (since = "2.30")]
3285                 public abstract unowned string get_object_path ();
3286                 [Version (since = "2.30")]
3287                 public virtual signal void interface_added (GLib.DBusInterface interface_);
3288                 [Version (since = "2.30")]
3289                 public virtual signal void interface_removed (GLib.DBusInterface interface_);
3290         }
3291         [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_get_type ()")]
3292         public interface DBusObjectManager : GLib.Object {
3293                 [Version (since = "2.30")]
3294                 public abstract GLib.DBusInterface get_interface (string object_path, string interface_name);
3295                 [Version (since = "2.30")]
3296                 public abstract GLib.DBusObject get_object (string object_path);
3297                 [Version (since = "2.30")]
3298                 public abstract unowned string get_object_path ();
3299                 [Version (since = "2.30")]
3300                 public abstract GLib.List<GLib.DBusObject> get_objects ();
3301                 [Version (since = "2.30")]
3302                 public virtual signal void interface_added (GLib.DBusObject object, GLib.DBusInterface interface_);
3303                 [Version (since = "2.30")]
3304                 public virtual signal void interface_removed (GLib.DBusObject object, GLib.DBusInterface interface_);
3305                 [Version (since = "2.30")]
3306                 public virtual signal void object_added (GLib.DBusObject object);
3307                 [Version (since = "2.30")]
3308                 public virtual signal void object_removed (GLib.DBusObject object);
3309         }
3310         [CCode (cheader_filename = "gio/gio.h", type_cname = "GDatagramBasedInterface", type_id = "g_datagram_based_get_type ()")]
3311         [Version (since = "2.48")]
3312         public interface DatagramBased : GLib.Object {
3313                 public GLib.IOCondition condition_check (GLib.IOCondition condition);
3314                 public bool condition_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
3315                 public GLib.Source create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
3316                 [CCode (vfunc_name = "condition_check")]
3317                 public virtual GLib.IOCondition datagram_condition_check (GLib.IOCondition condition);
3318                 [CCode (vfunc_name = "condition_wait")]
3319                 public virtual bool datagram_condition_wait (GLib.IOCondition condition, int64 timeout, GLib.Cancellable? cancellable = null) throws GLib.Error;
3320                 [CCode (vfunc_name = "create_source")]
3321                 public virtual GLib.Source datagram_create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null);
3322                 [CCode (vfunc_name = "receive_messages")]
3323                 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;
3324                 [CCode (vfunc_name = "send_messages")]
3325                 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;
3326                 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;
3327                 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;
3328         }
3329         [CCode (cheader_filename = "gio/gio.h", type_id = "g_drive_get_type ()")]
3330         public interface Drive : GLib.Object {
3331                 public abstract bool can_eject ();
3332                 public abstract bool can_poll_for_media ();
3333                 [Version (since = "2.22")]
3334                 public abstract bool can_start ();
3335                 [Version (since = "2.22")]
3336                 public abstract bool can_start_degraded ();
3337                 [Version (since = "2.22")]
3338                 public abstract bool can_stop ();
3339                 [Version (deprecated = true, deprecated_since = "2.22")]
3340                 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3341                 [Version (since = "2.22")]
3342                 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3343                 [CCode (array_length = false, array_null_terminated = true)]
3344                 public abstract string[] enumerate_identifiers ();
3345                 public abstract GLib.Icon get_icon ();
3346                 public abstract string get_identifier (string kind);
3347                 public abstract string get_name ();
3348                 [Version (since = "2.32")]
3349                 public virtual unowned string get_sort_key ();
3350                 [Version (since = "2.22")]
3351                 public abstract GLib.DriveStartStopType get_start_stop_type ();
3352                 [Version (since = "2.34")]
3353                 public abstract GLib.Icon get_symbolic_icon ();
3354                 public abstract GLib.List<GLib.Volume> get_volumes ();
3355                 public abstract bool has_media ();
3356                 public abstract bool has_volumes ();
3357                 public abstract bool is_media_check_automatic ();
3358                 public abstract bool is_media_removable ();
3359                 [Version (since = "2.50")]
3360                 public abstract bool is_removable ();
3361                 public abstract async bool poll_for_media (GLib.Cancellable? cancellable = null) throws GLib.Error;
3362                 [Version (since = "2.22")]
3363                 public abstract async bool start (GLib.DriveStartFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3364                 [Version (since = "2.22")]
3365                 public abstract async bool stop (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3366                 public virtual signal void changed ();
3367                 public virtual signal void disconnected ();
3368                 public virtual signal void eject_button ();
3369                 [Version (since = "2.22")]
3370                 public virtual signal void stop_button ();
3371         }
3372         [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsClientConnectionInterface", type_id = "g_dtls_client_connection_get_type ()")]
3373         [Version (since = "2.48")]
3374         public interface DtlsClientConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
3375                 public GLib.List<GLib.ByteArray> get_accepted_cas ();
3376                 public unowned GLib.SocketConnectable get_server_identity ();
3377                 public GLib.TlsCertificateFlags get_validation_flags ();
3378                 public static GLib.DtlsClientConnection @new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
3379                 public void set_server_identity (GLib.SocketConnectable identity);
3380                 public void set_validation_flags (GLib.TlsCertificateFlags flags);
3381                 [ConcreteAccessor]
3382                 public abstract GLib.List<void*> accepted_cas { owned get; }
3383                 [ConcreteAccessor]
3384                 public abstract GLib.SocketConnectable server_identity { get; set construct; }
3385                 [ConcreteAccessor]
3386                 public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
3387         }
3388         [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsConnectionInterface", type_id = "g_dtls_connection_get_type ()")]
3389         [Version (since = "2.48")]
3390         public interface DtlsConnection : GLib.DatagramBased, GLib.Object {
3391                 public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
3392                 public async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3393                 public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
3394                 public unowned GLib.TlsCertificate get_certificate ();
3395                 public unowned GLib.TlsDatabase get_database ();
3396                 public unowned GLib.TlsInteraction get_interaction ();
3397                 public unowned GLib.TlsCertificate get_peer_certificate ();
3398                 public GLib.TlsCertificateFlags get_peer_certificate_errors ();
3399                 public GLib.TlsRehandshakeMode get_rehandshake_mode ();
3400                 public bool get_require_close_notify ();
3401                 public abstract bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
3402                 public abstract async bool handshake_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3403                 public void set_certificate (GLib.TlsCertificate certificate);
3404                 public void set_database (GLib.TlsDatabase database);
3405                 public void set_interaction (GLib.TlsInteraction? interaction);
3406                 public void set_rehandshake_mode (GLib.TlsRehandshakeMode mode);
3407                 public void set_require_close_notify (bool require_close_notify);
3408                 public abstract bool shutdown (bool shutdown_read, bool shutdown_write, GLib.Cancellable? cancellable = null) throws GLib.Error;
3409                 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;
3410                 [NoAccessorMethod]
3411                 public abstract GLib.DatagramBased base_socket { owned get; construct; }
3412                 [ConcreteAccessor]
3413                 public abstract GLib.TlsCertificate certificate { get; set; }
3414                 [ConcreteAccessor]
3415                 public abstract GLib.TlsDatabase database { get; set; }
3416                 [ConcreteAccessor]
3417                 public abstract GLib.TlsInteraction interaction { get; set; }
3418                 [ConcreteAccessor]
3419                 public abstract GLib.TlsCertificate peer_certificate { get; }
3420                 [ConcreteAccessor]
3421                 public abstract GLib.TlsCertificateFlags peer_certificate_errors { get; }
3422                 [ConcreteAccessor]
3423                 public abstract GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
3424                 [ConcreteAccessor]
3425                 public abstract bool require_close_notify { get; set construct; }
3426                 public virtual signal bool accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
3427         }
3428         [CCode (cheader_filename = "gio/gio.h", type_cname = "GDtlsServerConnectionInterface", type_id = "g_dtls_server_connection_get_type ()")]
3429         [Version (since = "2.48")]
3430         public interface DtlsServerConnection : GLib.DatagramBased, GLib.DtlsConnection, GLib.Object {
3431                 public static GLib.DtlsServerConnection @new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
3432                 [NoAccessorMethod]
3433                 public abstract GLib.TlsAuthenticationMode authentication_mode { get; set; }
3434         }
3435         [CCode (cheader_filename = "gio/gio.h", type_id = "g_file_get_type ()")]
3436         public interface File : GLib.Object {
3437                 public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3438                 public virtual async GLib.FileOutputStream append_to_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3439                 public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
3440                 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;
3441                 public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3442                 public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3443                 public virtual async GLib.FileOutputStream create_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3444                 [Version (since = "2.22")]
3445                 public abstract GLib.FileIOStream create_readwrite (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3446                 [Version (since = "2.22")]
3447                 public virtual async GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3448                 [CCode (vfunc_name = "delete_file")]
3449                 public abstract bool @delete (GLib.Cancellable? cancellable = null) throws GLib.Error;
3450                 [CCode (vfunc_name = "delete_file_async")]
3451                 [Version (since = "2.34")]
3452                 public virtual async bool delete_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3453                 public abstract GLib.File dup ();
3454                 [Version (deprecated = true, deprecated_since = "2.22")]
3455                 public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3456                 [Version (since = "2.22")]
3457                 public abstract async bool eject_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3458                 public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3459                 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;
3460                 public abstract bool equal (GLib.File file2);
3461                 public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable = null) throws GLib.Error;
3462                 public virtual async GLib.Mount find_enclosing_mount_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3463                 [NoWrapper]
3464                 public abstract string? get_basename ();
3465                 public GLib.File get_child (string name);
3466                 public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
3467                 public abstract GLib.File? get_parent ();
3468                 public abstract string get_parse_name ();
3469                 [NoWrapper]
3470                 public abstract string? get_path ();
3471                 [NoWrapper]
3472                 public abstract string? get_relative_path (GLib.File descendant);
3473                 public abstract string get_uri ();
3474                 public abstract string get_uri_scheme ();
3475                 [Version (since = "2.24")]
3476                 public bool has_parent (GLib.File? parent);
3477                 [CCode (vfunc_name = "prefix_matches")]
3478                 public abstract bool has_prefix (GLib.File file);
3479                 public abstract bool has_uri_scheme (string uri_scheme);
3480                 public abstract uint hash ();
3481                 public abstract bool is_native ();
3482                 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;
3483                 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;
3484                 public async bool load_partial_contents_async (GLib.Cancellable? cancellable = null, 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;
3485                 public abstract bool make_directory (GLib.Cancellable? cancellable = null) throws GLib.Error;
3486                 [Version (since = "2.38")]
3487                 public virtual async bool make_directory_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3488                 [Version (since = "2.18")]
3489                 public bool make_directory_with_parents (GLib.Cancellable? cancellable = null) throws GLib.Error;
3490                 public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable = null) throws GLib.Error;
3491                 [Version (since = "2.38")]
3492                 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;
3493                 [Version (since = "2.38")]
3494                 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;
3495                 [Version (since = "2.18")]
3496                 public GLib.FileMonitor monitor (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3497                 [CCode (vfunc_name = "monitor_dir")]
3498                 public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
3499                 public abstract GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
3500                 public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3501                 public abstract async GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3502                 public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error;
3503                 public static GLib.File new_for_commandline_arg (string arg);
3504                 [Version (since = "2.36")]
3505                 public static GLib.File new_for_commandline_arg_and_cwd (string arg, string cwd);
3506                 public static GLib.File new_for_path (string path);
3507                 public static GLib.File new_for_uri (string uri);
3508                 [Version (since = "2.32")]
3509                 public static GLib.File new_tmp (string? tmpl, out GLib.FileIOStream iostream) throws GLib.Error;
3510                 [Version (since = "2.22")]
3511                 public abstract GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable = null) throws GLib.Error;
3512                 [Version (since = "2.22")]
3513                 public virtual async GLib.FileIOStream open_readwrite_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3514                 public static GLib.File parse_name (string parse_name);
3515                 [Version (since = "2.22")]
3516                 public abstract async bool poll_mountable (GLib.Cancellable? cancellable = null) throws GLib.Error;
3517                 [NoWrapper]
3518                 [Version (deprecated_since = "vala-0.16", replacement = "has_prefix")]
3519                 public abstract bool prefix_matches (GLib.File file);
3520                 public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable = null) throws GLib.Error;
3521                 public bool query_exists (GLib.Cancellable? cancellable = null);
3522                 [Version (since = "2.18")]
3523                 public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null);
3524                 public abstract GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
3525                 public virtual async GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3526                 public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3527                 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;
3528                 public abstract GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable? cancellable = null) throws GLib.Error;
3529                 public abstract GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable? cancellable = null) throws GLib.Error;
3530                 [CCode (vfunc_name = "read_fn")]
3531                 public abstract GLib.FileInputStream read (GLib.Cancellable? cancellable = null) throws GLib.Error;
3532                 public virtual async GLib.FileInputStream read_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3533                 [NoWrapper]
3534                 [Version (deprecated_since = "vala-0.16", replacement = "read")]
3535                 public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable = null) throws GLib.Error;
3536                 public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3537                 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;
3538                 public bool replace_contents ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string new_etag, GLib.Cancellable? cancellable = null) throws GLib.Error;
3539                 public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string new_etag) throws GLib.Error;
3540                 [Version (since = "2.40")]
3541                 public async void replace_contents_bytes_async (GLib.Bytes contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null);
3542                 [Version (since = "2.22")]
3543                 public abstract GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3544                 [Version (since = "2.22")]
3545                 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;
3546                 public abstract GLib.File resolve_relative_path (string relative_path);
3547                 public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3548                 public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3549                 public bool set_attribute_int32 (string attribute, int32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3550                 public bool set_attribute_int64 (string attribute, int64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3551                 public bool set_attribute_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3552                 public bool set_attribute_uint32 (string attribute, uint32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3553                 public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3554                 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;
3555                 public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3556                 public abstract GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
3557                 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;
3558                 [Version (since = "2.22")]
3559                 public abstract async bool start_mountable (GLib.DriveStartFlags flags, GLib.MountOperation? start_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3560                 [Version (since = "2.22")]
3561                 public abstract async bool stop_mountable (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3562                 [Version (since = "2.22")]
3563                 public bool supports_thread_contexts ();
3564                 public abstract bool trash (GLib.Cancellable? cancellable = null) throws GLib.Error;
3565                 [Version (since = "2.38")]
3566                 public virtual async bool trash_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
3567                 [Version (deprecated = true, deprecated_since = "2.22")]
3568                 public abstract async bool unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3569                 [Version (since = "2.22")]
3570                 public abstract async bool unmount_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3571         }
3572         [CCode (cheader_filename = "gio/gio.h", type_id = "g_icon_get_type ()")]
3573         public interface Icon : GLib.Object {
3574                 [Version (since = "2.38")]
3575                 public static GLib.Icon deserialize (GLib.Variant value);
3576                 public abstract bool equal (GLib.Icon? icon2);
3577                 [NoWrapper]
3578                 public virtual GLib.Icon? from_tokens (string[] tokens, int version) throws GLib.Error;
3579                 public abstract uint hash ();
3580                 [Version (since = "2.20")]
3581                 public static GLib.Icon? new_for_string (string str) throws GLib.Error;
3582                 [Version (since = "2.38")]
3583                 public virtual GLib.Variant serialize ();
3584                 [Version (since = "2.20")]
3585                 public string? to_string ();
3586                 [NoWrapper]
3587                 public virtual bool to_tokens (GLib.GenericArray<string> tokens, out int out_version);
3588         }
3589         [CCode (cheader_filename = "gio/gio.h", type_id = "g_initable_get_type ()")]
3590         [Version (since = "2.22")]
3591         public interface Initable : GLib.Object {
3592                 public abstract bool init (GLib.Cancellable? cancellable = null) throws GLib.Error;
3593                 public static GLib.Object @new (GLib.Type object_type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
3594                 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;
3595                 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;
3596         }
3597         [CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = "g_list_model_get_type ()")]
3598         public interface ListModel : GLib.Object {
3599                 [Version (since = "2.44")]
3600                 public abstract GLib.Object? get_item (uint position);
3601                 [Version (since = "2.44")]
3602                 public abstract GLib.Type get_item_type ();
3603                 [Version (since = "2.44")]
3604                 public abstract uint get_n_items ();
3605                 [Version (since = "2.44")]
3606                 public GLib.Object? get_object (uint position);
3607                 [HasEmitter]
3608                 [Version (since = "2.44")]
3609                 public signal void items_changed (uint position, uint removed, uint added);
3610         }
3611         [CCode (cheader_filename = "gio/gio.h", type_id = "g_loadable_icon_get_type ()")]
3612         public interface LoadableIcon : GLib.Icon, GLib.Object {
3613                 public abstract GLib.InputStream load (int size, out string? type, GLib.Cancellable? cancellable = null) throws GLib.Error;
3614                 public abstract async GLib.InputStream load_async (int size, GLib.Cancellable? cancellable = null, out string? type = null) throws GLib.Error;
3615         }
3616         [CCode (cheader_filename = "gio/gio.h", type_id = "g_mount_get_type ()")]
3617         public interface Mount : GLib.Object {
3618                 public abstract bool can_eject ();
3619                 public abstract bool can_unmount ();
3620                 [Version (deprecated = true, deprecated_since = "2.22")]
3621                 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3622                 [Version (since = "2.22")]
3623                 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3624                 public abstract GLib.File get_default_location ();
3625                 public abstract GLib.Drive get_drive ();
3626                 public abstract GLib.Icon get_icon ();
3627                 public abstract string get_name ();
3628                 public abstract GLib.File get_root ();
3629                 [Version (since = "2.32")]
3630                 public virtual unowned string get_sort_key ();
3631                 [Version (since = "2.34")]
3632                 public abstract GLib.Icon get_symbolic_icon ();
3633                 public abstract string get_uuid ();
3634                 public abstract GLib.Volume get_volume ();
3635                 [CCode (array_length = false, array_null_terminated = true)]
3636                 [Version (since = "2.18")]
3637                 public abstract async string[] guess_content_type (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
3638                 [CCode (array_length = false, array_null_terminated = true)]
3639                 [Version (since = "2.18")]
3640                 public abstract string[] guess_content_type_sync (bool force_rescan, GLib.Cancellable? cancellable = null) throws GLib.Error;
3641                 [Version (since = "2.20")]
3642                 public bool is_shadowed ();
3643                 public abstract async bool remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3644                 [Version (since = "2.20")]
3645                 public void shadow ();
3646                 [Version (deprecated = true, deprecated_since = "2.22")]
3647                 public abstract async bool unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3648                 [Version (since = "2.22")]
3649                 public abstract async bool unmount_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3650                 [Version (since = "2.20")]
3651                 public void unshadow ();
3652                 public virtual signal void changed ();
3653                 [Version (since = "2.22")]
3654                 public virtual signal void pre_unmount ();
3655                 public virtual signal void unmounted ();
3656         }
3657         [CCode (cheader_filename = "gio/gio.h", type_cname = "GNetworkMonitorInterface", type_id = "g_network_monitor_get_type ()")]
3658         [Version (since = "2.32")]
3659         public interface NetworkMonitor : GLib.Initable, GLib.Object {
3660                 public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
3661                 public abstract async bool can_reach_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable = null) throws GLib.Error;
3662                 [Version (since = "2.44")]
3663                 public GLib.NetworkConnectivity get_connectivity ();
3664                 public static unowned GLib.NetworkMonitor get_default ();
3665                 public bool get_network_available ();
3666                 [Version (since = "2.46")]
3667                 public bool get_network_metered ();
3668                 [ConcreteAccessor]
3669                 [Version (since = "2.44")]
3670                 public abstract GLib.NetworkConnectivity connectivity { get; }
3671                 [ConcreteAccessor]
3672                 public abstract bool network_available { get; }
3673                 [ConcreteAccessor]
3674                 [Version (since = "2.46")]
3675                 public abstract bool network_metered { get; }
3676                 public virtual signal void network_changed (bool available);
3677         }
3678         [CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableInputStreamInterface", type_id = "g_pollable_input_stream_get_type ()")]
3679         [Version (since = "2.28")]
3680         public interface PollableInputStream : GLib.InputStream {
3681                 public abstract bool can_poll ();
3682                 public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
3683                 public abstract bool is_readable ();
3684                 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;
3685                 [CCode (vfunc_name = "read_nonblocking")]
3686                 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;
3687         }
3688         [CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
3689         [Version (since = "2.28")]
3690         public interface PollableOutputStream : GLib.OutputStream {
3691                 public abstract bool can_poll ();
3692                 public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
3693                 public abstract bool is_writable ();
3694                 public abstract ssize_t write_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[]? buffer) throws GLib.Error;
3695         }
3696         [CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyInterface", type_id = "g_proxy_get_type ()")]
3697         [Version (since = "2.26")]
3698         public interface Proxy : GLib.Object {
3699                 public abstract GLib.IOStream connect (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
3700                 public abstract async GLib.IOStream connect_async (GLib.IOStream connection, GLib.ProxyAddress proxy_address, GLib.Cancellable? cancellable = null) throws GLib.Error;
3701                 public static GLib.Proxy get_default_for_protocol (string protocol);
3702                 public abstract bool supports_hostname ();
3703         }
3704         [CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyResolverInterface", type_id = "g_proxy_resolver_get_type ()")]
3705         [Version (since = "2.26")]
3706         public interface ProxyResolver : GLib.Object {
3707                 public static unowned GLib.ProxyResolver get_default ();
3708                 public abstract bool is_supported ();
3709                 [CCode (array_length = false, array_null_terminated = true)]
3710                 public abstract string[] lookup (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
3711                 [CCode (array_length = false, array_null_terminated = true)]
3712                 public abstract async string[] lookup_async (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
3713         }
3714         [CCode (cheader_filename = "gio/gio.h", type_cname = "GRemoteActionGroupInterface", type_id = "g_remote_action_group_get_type ()")]
3715         public interface RemoteActionGroup : GLib.ActionGroup, GLib.Object {
3716                 [Version (since = "2.32")]
3717                 public abstract void activate_action_full (string action_name, GLib.Variant? parameter, GLib.Variant platform_data);
3718                 [Version (since = "2.32")]
3719                 public abstract void change_action_state_full (string action_name, GLib.Variant value, GLib.Variant platform_data);
3720         }
3721         [CCode (cheader_filename = "gio/gio.h", type_id = "g_seekable_get_type ()")]
3722         public interface Seekable : GLib.Object {
3723                 public abstract bool can_seek ();
3724                 public abstract bool can_truncate ();
3725                 public abstract bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable = null) throws GLib.Error;
3726                 public abstract int64 tell ();
3727                 [CCode (vfunc_name = "truncate_fn")]
3728                 public abstract bool truncate (int64 offset, GLib.Cancellable? cancellable = null) throws GLib.Error;
3729         }
3730         [CCode (cheader_filename = "gio/gio.h", type_id = "g_socket_connectable_get_type ()")]
3731         public interface SocketConnectable : GLib.Object {
3732                 [Version (since = "2.22")]
3733                 public abstract GLib.SocketAddressEnumerator enumerate ();
3734                 [Version (since = "2.26")]
3735                 public abstract GLib.SocketAddressEnumerator proxy_enumerate ();
3736                 [Version (since = "2.48")]
3737                 public abstract string to_string ();
3738         }
3739         [CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsBackendInterface", type_id = "g_tls_backend_get_type ()")]
3740         [Version (since = "2.28")]
3741         public interface TlsBackend : GLib.Object {
3742                 public abstract GLib.Type get_certificate_type ();
3743                 public abstract GLib.Type get_client_connection_type ();
3744                 public static unowned GLib.TlsBackend get_default ();
3745                 [Version (since = "2.30")]
3746                 public abstract GLib.TlsDatabase get_default_database ();
3747                 [Version (since = "2.48")]
3748                 public GLib.Type get_dtls_client_connection_type ();
3749                 [Version (since = "2.48")]
3750                 public GLib.Type get_dtls_server_connection_type ();
3751                 [Version (since = "2.30")]
3752                 public abstract GLib.Type get_file_database_type ();
3753                 public abstract GLib.Type get_server_connection_type ();
3754                 [Version (since = "2.48")]
3755                 public abstract bool supports_dtls ();
3756                 public abstract bool supports_tls ();
3757         }
3758         [CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsClientConnectionInterface", type_id = "g_tls_client_connection_get_type ()")]
3759         [Version (since = "2.28")]
3760         public interface TlsClientConnection : GLib.TlsConnection {
3761                 [Version (since = "2.46")]
3762                 public abstract void copy_session_state (GLib.TlsClientConnection source);
3763                 public GLib.List<GLib.ByteArray> get_accepted_cas ();
3764                 public unowned GLib.SocketConnectable get_server_identity ();
3765                 public bool get_use_ssl3 ();
3766                 public GLib.TlsCertificateFlags get_validation_flags ();
3767                 public static GLib.TlsClientConnection? @new (GLib.IOStream base_io_stream, GLib.SocketConnectable? server_identity) throws GLib.Error;
3768                 public void set_server_identity (GLib.SocketConnectable identity);
3769                 public void set_use_ssl3 (bool use_ssl3);
3770                 public void set_validation_flags (GLib.TlsCertificateFlags flags);
3771                 [ConcreteAccessor]
3772                 public abstract GLib.List<GLib.ByteArray> accepted_cas { owned get; }
3773                 [ConcreteAccessor]
3774                 public abstract GLib.SocketConnectable server_identity { get; set construct; }
3775                 [ConcreteAccessor]
3776                 public abstract bool use_ssl3 { get; set construct; }
3777                 [ConcreteAccessor]
3778                 public abstract GLib.TlsCertificateFlags validation_flags { get; set construct; }
3779         }
3780         [CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsFileDatabaseInterface", type_id = "g_tls_file_database_get_type ()")]
3781         [Version (since = "2.30")]
3782         public interface TlsFileDatabase : GLib.TlsDatabase {
3783                 public static GLib.TlsFileDatabase? @new (string anchors) throws GLib.Error;
3784                 [NoAccessorMethod]
3785                 public abstract string anchors { owned get; set construct; }
3786         }
3787         [CCode (cheader_filename = "gio/gio.h", type_cname = "GTlsServerConnectionInterface", type_id = "g_tls_server_connection_get_type ()")]
3788         [Version (since = "2.28")]
3789         public interface TlsServerConnection : GLib.TlsConnection {
3790                 public static GLib.TlsServerConnection? @new (GLib.IOStream base_io_stream, GLib.TlsCertificate? certificate) throws GLib.Error;
3791                 [NoAccessorMethod]
3792                 public abstract GLib.TlsAuthenticationMode authentication_mode { get; set; }
3793         }
3794         [CCode (cheader_filename = "gio/gio.h", type_id = "g_volume_get_type ()")]
3795         public interface Volume : GLib.Object {
3796                 public abstract bool can_eject ();
3797                 public abstract bool can_mount ();
3798                 [Version (deprecated = true, deprecated_since = "2.22")]
3799                 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
3800                 [Version (since = "2.22")]
3801                 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3802                 [CCode (array_length = false, array_null_terminated = true)]
3803                 public abstract string[] enumerate_identifiers ();
3804                 [Version (since = "2.18")]
3805                 public abstract GLib.File? get_activation_root ();
3806                 public abstract GLib.Drive get_drive ();
3807                 public abstract GLib.Icon get_icon ();
3808                 public abstract string get_identifier (string kind);
3809                 public abstract GLib.Mount get_mount ();
3810                 public abstract string get_name ();
3811                 [Version (since = "2.32")]
3812                 public virtual unowned string get_sort_key ();
3813                 [Version (since = "2.34")]
3814                 public abstract GLib.Icon get_symbolic_icon ();
3815                 public abstract string get_uuid ();
3816                 [CCode (finish_vfunc_name = "mount_finish", vfunc_name = "mount_fn")]
3817                 public abstract async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable = null) throws GLib.Error;
3818                 public abstract bool should_automount ();
3819                 public virtual signal void changed ();
3820                 public virtual signal void removed ();
3821         }
3822         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3823         public struct ActionEntry {
3824                 public weak string name;
3825                 [Version (deprecated = true, deprecated_since = "vala-0.26", replacement = "activate_callback")]
3826                 public GLib.SimpleActionActivateCallback? activate;
3827                 public weak string parameter_type;
3828                 public weak string state;
3829                 [Version (deprecated_since = "vala-0.26", replacement = "change_state_callback")]
3830                 public GLib.SimpleActionChangeStateCallback? change_state;
3831                 [CCode (cname = "activate")]
3832                 public GLib.SimpleActionActivateFunc activate_callback;
3833                 [CCode (cname = "change_state")]
3834                 public GLib.SimpleActionChangeStateFunc? change_state_callback;
3835         }
3836         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3837         [Version (since = "2.26")]
3838         public struct DBusErrorEntry {
3839                 public int error_code;
3840                 public weak string dbus_error_name;
3841         }
3842         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3843         [Version (since = "2.26")]
3844         public struct DBusInterfaceVTable {
3845                 public weak GLib.DBusInterfaceMethodCallFunc method_call;
3846                 public weak GLib.DBusInterfaceGetPropertyFunc get_property;
3847                 public weak GLib.DBusInterfaceSetPropertyFunc set_property;
3848         }
3849         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3850         [Version (since = "2.26")]
3851         public struct DBusSubtreeVTable {
3852                 public weak GLib.DBusSubtreeEnumerateFunc enumerate;
3853                 public weak GLib.DBusSubtreeIntrospectFunc introspect;
3854                 public weak GLib.DBusSubtreeDispatchFunc dispatch;
3855         }
3856         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3857         public struct FileAttributeInfo {
3858                 public weak string name;
3859                 public GLib.FileAttributeType type;
3860                 public GLib.FileAttributeInfoFlags flags;
3861         }
3862         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3863         [Version (since = "2.48")]
3864         public struct InputMessage {
3865                 public weak GLib.SocketAddress address;
3866                 [CCode (array_length_cname = "num_vectors", array_length_type = "guint")]
3867                 public weak GLib.InputVector[] vectors;
3868                 public uint num_vectors;
3869                 public size_t bytes_received;
3870                 public int flags;
3871                 public GLib.SocketControlMessage*** control_messages;
3872                 public uint* num_control_messages;
3873         }
3874         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3875         [Version (since = "2.22")]
3876         public struct InputVector {
3877                 public void* buffer;
3878                 public size_t size;
3879         }
3880         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3881         [Version (since = "2.44")]
3882         public struct OutputMessage {
3883                 public weak GLib.SocketAddress address;
3884                 [CCode (array_length_cname = "num_vectors", array_length_type = "guint")]
3885                 public weak GLib.OutputVector[] vectors;
3886                 public uint num_vectors;
3887                 public uint bytes_sent;
3888                 public GLib.SocketControlMessage*** control_messages;
3889                 public uint* num_control_messages;
3890         }
3891         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3892         [Version (since = "2.22")]
3893         public struct OutputVector {
3894                 public void* buffer;
3895                 public size_t size;
3896         }
3897         [CCode (cheader_filename = "gio/gio.h", has_type_id = false)]
3898         public struct StaticResource {
3899                 [Version (since = "2.32")]
3900                 public void fini ();
3901                 [Version (since = "2.32")]
3902                 public unowned GLib.Resource get_resource ();
3903                 [Version (since = "2.32")]
3904                 public void init ();
3905         }
3906         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_APP_INFO_CREATE_", type_id = "g_app_info_create_flags_get_type ()")]
3907         [Flags]
3908         public enum AppInfoCreateFlags {
3909                 NONE,
3910                 NEEDS_TERMINAL,
3911                 SUPPORTS_URIS,
3912                 SUPPORTS_STARTUP_NOTIFICATION
3913         }
3914         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_APPLICATION_", type_id = "g_application_flags_get_type ()")]
3915         [Flags]
3916         [Version (since = "2.28")]
3917         public enum ApplicationFlags {
3918                 FLAGS_NONE,
3919                 IS_SERVICE,
3920                 IS_LAUNCHER,
3921                 HANDLES_OPEN,
3922                 HANDLES_COMMAND_LINE,
3923                 SEND_ENVIRONMENT,
3924                 NON_UNIQUE,
3925                 CAN_OVERRIDE_APP_ID
3926         }
3927         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_ASK_PASSWORD_", type_id = "g_ask_password_flags_get_type ()")]
3928         [Flags]
3929         public enum AskPasswordFlags {
3930                 NEED_PASSWORD,
3931                 NEED_USERNAME,
3932                 NEED_DOMAIN,
3933                 SAVING_SUPPORTED,
3934                 ANONYMOUS_SUPPORTED
3935         }
3936         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_OWNER_FLAGS_", type_id = "g_bus_name_owner_flags_get_type ()")]
3937         [Flags]
3938         [Version (since = "2.26")]
3939         public enum BusNameOwnerFlags {
3940                 NONE,
3941                 ALLOW_REPLACEMENT,
3942                 REPLACE
3943         }
3944         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_WATCHER_FLAGS_", type_id = "g_bus_name_watcher_flags_get_type ()")]
3945         [Flags]
3946         [Version (since = "2.26")]
3947         public enum BusNameWatcherFlags {
3948                 NONE,
3949                 AUTO_START
3950         }
3951         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_TYPE_", type_id = "g_bus_type_get_type ()")]
3952         [Version (since = "2.26")]
3953         public enum BusType {
3954                 STARTER,
3955                 NONE,
3956                 SYSTEM,
3957                 SESSION;
3958                 [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_for_bus_sync")]
3959                 public static string get_address_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
3960         }
3961         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_", type_id = "g_converter_flags_get_type ()")]
3962         [Flags]
3963         [Version (since = "2.24")]
3964         public enum ConverterFlags {
3965                 [Version (deprecated_since = "vala-0.16", replacement = "ConverterFlags.NONE")]
3966                 NO_FLAGS,
3967                 [CCode (cname = "G_CONVERTER_NO_FLAGS")]
3968                 NONE,
3969                 INPUT_AT_END,
3970                 FLUSH
3971         }
3972         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_CONVERTER_", type_id = "g_converter_result_get_type ()")]
3973         [Version (since = "2.24")]
3974         public enum ConverterResult {
3975                 ERROR,
3976                 CONVERTED,
3977                 FINISHED,
3978                 FLUSHED
3979         }
3980         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_CREDENTIALS_TYPE_", type_id = "g_credentials_type_get_type ()")]
3981         [Version (since = "2.26")]
3982         public enum CredentialsType {
3983                 INVALID,
3984                 LINUX_UCRED,
3985                 FREEBSD_CMSGCRED,
3986                 OPENBSD_SOCKPEERCRED,
3987                 SOLARIS_UCRED,
3988                 NETBSD_UNPCBID
3989         }
3990         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CALL_FLAGS_", type_id = "g_dbus_call_flags_get_type ()")]
3991         [Flags]
3992         [Version (since = "2.26")]
3993         public enum DBusCallFlags {
3994                 NONE,
3995                 NO_AUTO_START,
3996                 ALLOW_INTERACTIVE_AUTHORIZATION
3997         }
3998         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CAPABILITY_FLAGS_", type_id = "g_dbus_capability_flags_get_type ()")]
3999         [Flags]
4000         [Version (since = "2.26")]
4001         public enum DBusCapabilityFlags {
4002                 NONE,
4003                 UNIX_FD_PASSING
4004         }
4005         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CONNECTION_FLAGS_", type_id = "g_dbus_connection_flags_get_type ()")]
4006         [Flags]
4007         [Version (since = "2.26")]
4008         public enum DBusConnectionFlags {
4009                 NONE,
4010                 AUTHENTICATION_CLIENT,
4011                 AUTHENTICATION_SERVER,
4012                 AUTHENTICATION_ALLOW_ANONYMOUS,
4013                 MESSAGE_BUS_CONNECTION,
4014                 DELAY_MESSAGE_PROCESSING
4015         }
4016         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_INTERFACE_SKELETON_FLAGS_", type_id = "g_dbus_interface_skeleton_flags_get_type ()")]
4017         [Flags]
4018         [Version (since = "2.30")]
4019         public enum DBusInterfaceSkeletonFlags {
4020                 NONE,
4021                 HANDLE_METHOD_INVOCATIONS_IN_THREAD
4022         }
4023         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_BYTE_ORDER_", type_id = "g_dbus_message_byte_order_get_type ()")]
4024         [Version (since = "2.26")]
4025         public enum DBusMessageByteOrder {
4026                 BIG_ENDIAN,
4027                 LITTLE_ENDIAN
4028         }
4029         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_FLAGS_", type_id = "g_dbus_message_flags_get_type ()")]
4030         [Flags]
4031         [Version (since = "2.26")]
4032         public enum DBusMessageFlags {
4033                 NONE,
4034                 NO_REPLY_EXPECTED,
4035                 NO_AUTO_START,
4036                 ALLOW_INTERACTIVE_AUTHORIZATION
4037         }
4038         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_HEADER_FIELD_", type_id = "g_dbus_message_header_field_get_type ()")]
4039         [Version (since = "2.26")]
4040         public enum DBusMessageHeaderField {
4041                 INVALID,
4042                 PATH,
4043                 INTERFACE,
4044                 MEMBER,
4045                 ERROR_NAME,
4046                 REPLY_SERIAL,
4047                 DESTINATION,
4048                 SENDER,
4049                 SIGNATURE,
4050                 NUM_UNIX_FDS
4051         }
4052         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_MESSAGE_TYPE_", type_id = "g_dbus_message_type_get_type ()")]
4053         [Version (since = "2.26")]
4054         public enum DBusMessageType {
4055                 INVALID,
4056                 METHOD_CALL,
4057                 METHOD_RETURN,
4058                 ERROR,
4059                 SIGNAL
4060         }
4061         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_", type_id = "g_dbus_object_manager_client_flags_get_type ()")]
4062         [Flags]
4063         [Version (since = "2.30")]
4064         public enum DBusObjectManagerClientFlags {
4065                 NONE,
4066                 DO_NOT_AUTO_START
4067         }
4068         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROPERTY_INFO_FLAGS_", type_id = "g_dbus_property_info_flags_get_type ()")]
4069         [Flags]
4070         [Version (since = "2.26")]
4071         public enum DBusPropertyInfoFlags {
4072                 NONE,
4073                 READABLE,
4074                 WRITABLE
4075         }
4076         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_PROXY_FLAGS_", type_id = "g_dbus_proxy_flags_get_type ()")]
4077         [Flags]
4078         [Version (since = "2.26")]
4079         public enum DBusProxyFlags {
4080                 NONE,
4081                 DO_NOT_LOAD_PROPERTIES,
4082                 DO_NOT_CONNECT_SIGNALS,
4083                 DO_NOT_AUTO_START,
4084                 GET_INVALIDATED_PROPERTIES,
4085                 DO_NOT_AUTO_START_AT_CONSTRUCTION
4086         }
4087         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SEND_MESSAGE_FLAGS_", type_id = "g_dbus_send_message_flags_get_type ()")]
4088         [Flags]
4089         [Version (since = "2.26")]
4090         public enum DBusSendMessageFlags {
4091                 NONE,
4092                 PRESERVE_SERIAL
4093         }
4094         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SERVER_FLAGS_", type_id = "g_dbus_server_flags_get_type ()")]
4095         [Flags]
4096         [Version (since = "2.26")]
4097         public enum DBusServerFlags {
4098                 NONE,
4099                 RUN_IN_THREAD,
4100                 AUTHENTICATION_ALLOW_ANONYMOUS
4101         }
4102         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SIGNAL_FLAGS_", type_id = "g_dbus_signal_flags_get_type ()")]
4103         [Flags]
4104         [Version (since = "2.26")]
4105         public enum DBusSignalFlags {
4106                 NONE,
4107                 NO_MATCH_RULE,
4108                 MATCH_ARG0_NAMESPACE,
4109                 MATCH_ARG0_PATH
4110         }
4111         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_SUBTREE_FLAGS_", type_id = "g_dbus_subtree_flags_get_type ()")]
4112         [Flags]
4113         [Version (since = "2.26")]
4114         public enum DBusSubtreeFlags {
4115                 NONE,
4116                 DISPATCH_TO_UNENUMERATED_NODES
4117         }
4118         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DATA_STREAM_BYTE_ORDER_", type_id = "g_data_stream_byte_order_get_type ()")]
4119         public enum DataStreamByteOrder {
4120                 BIG_ENDIAN,
4121                 LITTLE_ENDIAN,
4122                 HOST_ENDIAN
4123         }
4124         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DATA_STREAM_NEWLINE_TYPE_", type_id = "g_data_stream_newline_type_get_type ()")]
4125         public enum DataStreamNewlineType {
4126                 LF,
4127                 CR,
4128                 CR_LF,
4129                 ANY
4130         }
4131         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_", type_id = "g_drive_start_flags_get_type ()")]
4132         [Flags]
4133         [Version (since = "2.22")]
4134         public enum DriveStartFlags {
4135                 NONE
4136         }
4137         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DRIVE_START_STOP_TYPE_", type_id = "g_drive_start_stop_type_get_type ()")]
4138         [Version (since = "2.22")]
4139         public enum DriveStartStopType {
4140                 UNKNOWN,
4141                 SHUTDOWN,
4142                 NETWORK,
4143                 MULTIDISK,
4144                 PASSWORD
4145         }
4146         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_EMBLEM_ORIGIN_", type_id = "g_emblem_origin_get_type ()")]
4147         [Version (since = "2.18")]
4148         public enum EmblemOrigin {
4149                 UNKNOWN,
4150                 DEVICE,
4151                 LIVEMETADATA,
4152                 TAG
4153         }
4154         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_INFO_", type_id = "g_file_attribute_info_flags_get_type ()")]
4155         [Flags]
4156         public enum FileAttributeInfoFlags {
4157                 NONE,
4158                 COPY_WITH_FILE,
4159                 COPY_WHEN_MOVED
4160         }
4161         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_STATUS_", type_id = "g_file_attribute_status_get_type ()")]
4162         public enum FileAttributeStatus {
4163                 UNSET,
4164                 SET,
4165                 ERROR_SETTING
4166         }
4167         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_ATTRIBUTE_TYPE_", type_id = "g_file_attribute_type_get_type ()")]
4168         public enum FileAttributeType {
4169                 INVALID,
4170                 STRING,
4171                 BYTE_STRING,
4172                 BOOLEAN,
4173                 UINT32,
4174                 INT32,
4175                 UINT64,
4176                 INT64,
4177                 OBJECT,
4178                 STRINGV
4179         }
4180         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_COPY_", type_id = "g_file_copy_flags_get_type ()")]
4181         [Flags]
4182         public enum FileCopyFlags {
4183                 NONE,
4184                 OVERWRITE,
4185                 BACKUP,
4186                 NOFOLLOW_SYMLINKS,
4187                 ALL_METADATA,
4188                 NO_FALLBACK_FOR_MOVE,
4189                 TARGET_DEFAULT_PERMS
4190         }
4191         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_CREATE_", type_id = "g_file_create_flags_get_type ()")]
4192         [Flags]
4193         public enum FileCreateFlags {
4194                 NONE,
4195                 PRIVATE,
4196                 REPLACE_DESTINATION
4197         }
4198         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MEASURE_", type_id = "g_file_measure_flags_get_type ()")]
4199         [Flags]
4200         [Version (since = "2.38")]
4201         public enum FileMeasureFlags {
4202                 NONE,
4203                 REPORT_ANY_ERROR,
4204                 APPARENT_SIZE,
4205                 NO_XDEV
4206         }
4207         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MONITOR_EVENT_", type_id = "g_file_monitor_event_get_type ()")]
4208         public enum FileMonitorEvent {
4209                 CHANGED,
4210                 CHANGES_DONE_HINT,
4211                 DELETED,
4212                 CREATED,
4213                 ATTRIBUTE_CHANGED,
4214                 PRE_UNMOUNT,
4215                 UNMOUNTED,
4216                 MOVED,
4217                 RENAMED,
4218                 MOVED_IN,
4219                 MOVED_OUT
4220         }
4221         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_MONITOR_", type_id = "g_file_monitor_flags_get_type ()")]
4222         [Flags]
4223         public enum FileMonitorFlags {
4224                 NONE,
4225                 WATCH_MOUNTS,
4226                 SEND_MOVED,
4227                 WATCH_HARD_LINKS,
4228                 WATCH_MOVES
4229         }
4230         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_QUERY_INFO_", type_id = "g_file_query_info_flags_get_type ()")]
4231         [Flags]
4232         public enum FileQueryInfoFlags {
4233                 NONE,
4234                 NOFOLLOW_SYMLINKS
4235         }
4236         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILE_TYPE_", type_id = "g_file_type_get_type ()")]
4237         public enum FileType {
4238                 UNKNOWN,
4239                 REGULAR,
4240                 DIRECTORY,
4241                 SYMBOLIC_LINK,
4242                 SPECIAL,
4243                 SHORTCUT,
4244                 MOUNTABLE
4245         }
4246         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_FILESYSTEM_PREVIEW_TYPE_", type_id = "g_filesystem_preview_type_get_type ()")]
4247         public enum FilesystemPreviewType {
4248                 IF_ALWAYS,
4249                 IF_LOCAL,
4250                 NEVER
4251         }
4252         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_MODULE_SCOPE_", type_id = "g_io_module_scope_flags_get_type ()")]
4253         [Version (since = "2.30")]
4254         public enum IOModuleScopeFlags {
4255                 NONE,
4256                 BLOCK_DUPLICATES
4257         }
4258         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_IO_STREAM_SPLICE_", type_id = "g_io_stream_splice_flags_get_type ()")]
4259         [Flags]
4260         [Version (since = "2.28")]
4261         public enum IOStreamSpliceFlags {
4262                 NONE,
4263                 CLOSE_STREAM1,
4264                 CLOSE_STREAM2,
4265                 WAIT_FOR_BOTH
4266         }
4267         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_MOUNT_", type_id = "g_mount_mount_flags_get_type ()")]
4268         [Flags]
4269         public enum MountMountFlags {
4270                 NONE
4271         }
4272         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_OPERATION_", type_id = "g_mount_operation_result_get_type ()")]
4273         public enum MountOperationResult {
4274                 HANDLED,
4275                 ABORTED,
4276                 UNHANDLED
4277         }
4278         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_MOUNT_UNMOUNT_", type_id = "g_mount_unmount_flags_get_type ()")]
4279         [Flags]
4280         public enum MountUnmountFlags {
4281                 NONE,
4282                 FORCE
4283         }
4284         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NETWORK_CONNECTIVITY_", type_id = "g_network_connectivity_get_type ()")]
4285         [Version (since = "2.44")]
4286         public enum NetworkConnectivity {
4287                 LOCAL,
4288                 LIMITED,
4289                 PORTAL,
4290                 FULL
4291         }
4292         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id = "g_notification_priority_get_type ()")]
4293         [Version (since = "2.42")]
4294         public enum NotificationPriority {
4295                 NORMAL,
4296                 LOW,
4297                 HIGH,
4298                 URGENT
4299         }
4300         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_OUTPUT_STREAM_SPLICE_", type_id = "g_output_stream_splice_flags_get_type ()")]
4301         [Flags]
4302         public enum OutputStreamSpliceFlags {
4303                 NONE,
4304                 CLOSE_SOURCE,
4305                 CLOSE_TARGET
4306         }
4307         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_PASSWORD_SAVE_", type_id = "g_password_save_get_type ()")]
4308         public enum PasswordSave {
4309                 NEVER,
4310                 FOR_SESSION,
4311                 PERMANENTLY
4312         }
4313         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_RECORD_", type_id = "g_resolver_record_type_get_type ()")]
4314         [Version (since = "2.34")]
4315         public enum ResolverRecordType {
4316                 SRV,
4317                 MX,
4318                 TXT,
4319                 SOA,
4320                 NS
4321         }
4322         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_FLAGS_", type_id = "g_resource_flags_get_type ()")]
4323         [Flags]
4324         [Version (since = "2.32")]
4325         public enum ResourceFlags {
4326                 NONE,
4327                 COMPRESSED
4328         }
4329         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_LOOKUP_FLAGS_", type_id = "g_resource_lookup_flags_get_type ()")]
4330         [Flags]
4331         [Version (since = "2.32")]
4332         public enum ResourceLookupFlags {
4333                 NONE
4334         }
4335         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SETTINGS_BIND_", type_id = "g_settings_bind_flags_get_type ()")]
4336         [Flags]
4337         public enum SettingsBindFlags {
4338                 DEFAULT,
4339                 GET,
4340                 SET,
4341                 NO_SENSITIVITY,
4342                 GET_NO_CHANGES,
4343                 INVERT_BOOLEAN
4344         }
4345         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_CLIENT_", type_id = "g_socket_client_event_get_type ()")]
4346         [Version (since = "2.32")]
4347         public enum SocketClientEvent {
4348                 RESOLVING,
4349                 RESOLVED,
4350                 CONNECTING,
4351                 CONNECTED,
4352                 PROXY_NEGOTIATING,
4353                 PROXY_NEGOTIATED,
4354                 TLS_HANDSHAKING,
4355                 TLS_HANDSHAKED,
4356                 COMPLETE
4357         }
4358         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_FAMILY_", type_id = "g_socket_family_get_type ()")]
4359         [Version (since = "2.22")]
4360         public enum SocketFamily {
4361                 INVALID,
4362                 UNIX,
4363                 IPV4,
4364                 IPV6
4365         }
4366         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_LISTENER_", type_id = "g_socket_listener_event_get_type ()")]
4367         [Version (since = "2.46")]
4368         public enum SocketListenerEvent {
4369                 BINDING,
4370                 BOUND,
4371                 LISTENING,
4372                 LISTENED
4373         }
4374         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_MSG_", type_id = "g_socket_msg_flags_get_type ()")]
4375         [Flags]
4376         [Version (since = "2.22")]
4377         public enum SocketMsgFlags {
4378                 NONE,
4379                 OOB,
4380                 PEEK,
4381                 DONTROUTE
4382         }
4383         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_PROTOCOL_", type_id = "g_socket_protocol_get_type ()")]
4384         [Version (since = "2.22")]
4385         public enum SocketProtocol {
4386                 UNKNOWN,
4387                 DEFAULT,
4388                 TCP,
4389                 UDP,
4390                 SCTP
4391         }
4392         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SOCKET_TYPE_", type_id = "g_socket_type_get_type ()")]
4393         [Version (since = "2.22")]
4394         public enum SocketType {
4395                 INVALID,
4396                 STREAM,
4397                 DATAGRAM,
4398                 SEQPACKET
4399         }
4400         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_SUBPROCESS_FLAGS_", type_id = "g_subprocess_flags_get_type ()")]
4401         [Flags]
4402         [Version (since = "2.40")]
4403         public enum SubprocessFlags {
4404                 NONE,
4405                 STDIN_PIPE,
4406                 STDIN_INHERIT,
4407                 STDOUT_PIPE,
4408                 STDOUT_SILENCE,
4409                 STDERR_PIPE,
4410                 STDERR_SILENCE,
4411                 STDERR_MERGE,
4412                 INHERIT_FDS
4413         }
4414         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TEST_DBUS_", type_id = "g_test_dbus_flags_get_type ()")]
4415         [Flags]
4416         [Version (since = "2.34")]
4417         public enum TestDBusFlags {
4418                 NONE
4419         }
4420         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_AUTHENTICATION_", type_id = "g_tls_authentication_mode_get_type ()")]
4421         [Version (since = "2.28")]
4422         public enum TlsAuthenticationMode {
4423                 NONE,
4424                 REQUESTED,
4425                 REQUIRED
4426         }
4427         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_", type_id = "g_tls_certificate_flags_get_type ()")]
4428         [Flags]
4429         [Version (since = "2.28")]
4430         public enum TlsCertificateFlags {
4431                 UNKNOWN_CA,
4432                 BAD_IDENTITY,
4433                 NOT_ACTIVATED,
4434                 EXPIRED,
4435                 REVOKED,
4436                 INSECURE,
4437                 GENERIC_ERROR,
4438                 VALIDATE_ALL
4439         }
4440         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CERTIFICATE_REQUEST_", type_id = "g_tls_certificate_request_flags_get_type ()")]
4441         [Version (since = "2.40")]
4442         public enum TlsCertificateRequestFlags {
4443                 NONE
4444         }
4445         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_LOOKUP_", type_id = "g_tls_database_lookup_flags_get_type ()")]
4446         [Version (since = "2.30")]
4447         public enum TlsDatabaseLookupFlags {
4448                 NONE,
4449                 KEYPAIR
4450         }
4451         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_VERIFY_", type_id = "g_tls_database_verify_flags_get_type ()")]
4452         [Flags]
4453         [Version (since = "2.30")]
4454         public enum TlsDatabaseVerifyFlags {
4455                 NONE
4456         }
4457         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_INTERACTION_", type_id = "g_tls_interaction_result_get_type ()")]
4458         [Version (since = "2.30")]
4459         public enum TlsInteractionResult {
4460                 UNHANDLED,
4461                 HANDLED,
4462                 FAILED
4463         }
4464         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_PASSWORD_", type_id = "g_tls_password_flags_get_type ()")]
4465         [Flags]
4466         [Version (since = "2.30")]
4467         public enum TlsPasswordFlags {
4468                 NONE,
4469                 RETRY,
4470                 MANY_TRIES,
4471                 FINAL_TRY
4472         }
4473         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_REHANDSHAKE_", type_id = "g_tls_rehandshake_mode_get_type ()")]
4474         [Version (since = "2.28")]
4475         public enum TlsRehandshakeMode {
4476                 NEVER,
4477                 SAFELY,
4478                 UNSAFELY
4479         }
4480         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_UNIX_SOCKET_ADDRESS_", type_id = "g_unix_socket_address_type_get_type ()")]
4481         [Version (since = "2.26")]
4482         public enum UnixSocketAddressType {
4483                 INVALID,
4484                 ANONYMOUS,
4485                 PATH,
4486                 ABSTRACT,
4487                 ABSTRACT_PADDED
4488         }
4489         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_ZLIB_COMPRESSOR_FORMAT_", type_id = "g_zlib_compressor_format_get_type ()")]
4490         [Version (since = "2.24")]
4491         public enum ZlibCompressorFormat {
4492                 ZLIB,
4493                 GZIP,
4494                 RAW
4495         }
4496         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_ERROR_")]
4497         [Version (since = "2.26")]
4498         public errordomain DBusError {
4499                 FAILED,
4500                 NO_MEMORY,
4501                 SERVICE_UNKNOWN,
4502                 NAME_HAS_NO_OWNER,
4503                 NO_REPLY,
4504                 IO_ERROR,
4505                 BAD_ADDRESS,
4506                 NOT_SUPPORTED,
4507                 LIMITS_EXCEEDED,
4508                 ACCESS_DENIED,
4509                 AUTH_FAILED,
4510                 NO_SERVER,
4511                 TIMEOUT,
4512                 NO_NETWORK,
4513                 ADDRESS_IN_USE,
4514                 DISCONNECTED,
4515                 INVALID_ARGS,
4516                 FILE_NOT_FOUND,
4517                 FILE_EXISTS,
4518                 UNKNOWN_METHOD,
4519                 TIMED_OUT,
4520                 MATCH_RULE_NOT_FOUND,
4521                 MATCH_RULE_INVALID,
4522                 SPAWN_EXEC_FAILED,
4523                 SPAWN_FORK_FAILED,
4524                 SPAWN_CHILD_EXITED,
4525                 SPAWN_CHILD_SIGNALED,
4526                 SPAWN_FAILED,
4527                 SPAWN_SETUP_FAILED,
4528                 SPAWN_CONFIG_INVALID,
4529                 SPAWN_SERVICE_INVALID,
4530                 SPAWN_SERVICE_NOT_FOUND,
4531                 SPAWN_PERMISSIONS_INVALID,
4532                 SPAWN_FILE_INVALID,
4533                 SPAWN_NO_MEMORY,
4534                 UNIX_PROCESS_ID_UNKNOWN,
4535                 INVALID_SIGNATURE,
4536                 INVALID_FILE_CONTENT,
4537                 SELINUX_SECURITY_CONTEXT_UNKNOWN,
4538                 ADT_AUDIT_DATA_UNKNOWN,
4539                 OBJECT_PATH_IN_USE,
4540                 UNKNOWN_OBJECT,
4541                 UNKNOWN_INTERFACE,
4542                 UNKNOWN_PROPERTY,
4543                 PROPERTY_READ_ONLY;
4544                 [CCode (cheader_filename = "gio/gio.h")]
4545                 public static string encode_gerror (GLib.Error error);
4546                 [CCode (cheader_filename = "gio/gio.h")]
4547                 public static string get_remote_error (GLib.Error error);
4548                 [CCode (cheader_filename = "gio/gio.h")]
4549                 public static bool is_remote_error (GLib.Error error);
4550                 [CCode (cheader_filename = "gio/gio.h")]
4551                 public static GLib.Error new_for_dbus_error (string dbus_error_name, string dbus_error_message);
4552                 [CCode (cheader_filename = "gio/gio.h")]
4553                 public static GLib.Quark quark ();
4554                 [CCode (cheader_filename = "gio/gio.h")]
4555                 public static bool register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
4556                 [CCode (cheader_filename = "gio/gio.h")]
4557                 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);
4558                 [CCode (cheader_filename = "gio/gio.h")]
4559                 public static bool strip_remote_error (GLib.Error error);
4560                 [CCode (cheader_filename = "gio/gio.h")]
4561                 public static bool unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
4562         }
4563         [CCode (cheader_filename = "gio/gio.h", cname = "GIOErrorEnum", cprefix = "G_IO_ERROR_")]
4564         [GIR (name = "IOErrorEnum")]
4565         public errordomain IOError {
4566                 FAILED,
4567                 NOT_FOUND,
4568                 EXISTS,
4569                 IS_DIRECTORY,
4570                 NOT_DIRECTORY,
4571                 NOT_EMPTY,
4572                 NOT_REGULAR_FILE,
4573                 NOT_SYMBOLIC_LINK,
4574                 NOT_MOUNTABLE_FILE,
4575                 FILENAME_TOO_LONG,
4576                 INVALID_FILENAME,
4577                 TOO_MANY_LINKS,
4578                 NO_SPACE,
4579                 INVALID_ARGUMENT,
4580                 PERMISSION_DENIED,
4581                 NOT_SUPPORTED,
4582                 NOT_MOUNTED,
4583                 ALREADY_MOUNTED,
4584                 CLOSED,
4585                 CANCELLED,
4586                 PENDING,
4587                 READ_ONLY,
4588                 CANT_CREATE_BACKUP,
4589                 WRONG_ETAG,
4590                 TIMED_OUT,
4591                 WOULD_RECURSE,
4592                 BUSY,
4593                 WOULD_BLOCK,
4594                 HOST_NOT_FOUND,
4595                 WOULD_MERGE,
4596                 FAILED_HANDLED,
4597                 TOO_MANY_OPEN_FILES,
4598                 NOT_INITIALIZED,
4599                 ADDRESS_IN_USE,
4600                 PARTIAL_INPUT,
4601                 INVALID_DATA,
4602                 DBUS_ERROR,
4603                 HOST_UNREACHABLE,
4604                 NETWORK_UNREACHABLE,
4605                 CONNECTION_REFUSED,
4606                 PROXY_FAILED,
4607                 PROXY_AUTH_FAILED,
4608                 PROXY_NEED_AUTH,
4609                 PROXY_NOT_ALLOWED,
4610                 BROKEN_PIPE,
4611                 CONNECTION_CLOSED,
4612                 NOT_CONNECTED,
4613                 MESSAGE_TOO_LARGE;
4614                 [CCode (cheader_filename = "gio/gio.h")]
4615                 public static unowned GLib.IOError from_errno (int err_no);
4616                 [CCode (cheader_filename = "gio/gio.h")]
4617                 public static GLib.Quark quark ();
4618         }
4619         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_ERROR_")]
4620         [Version (since = "2.22")]
4621         public errordomain ResolverError {
4622                 NOT_FOUND,
4623                 TEMPORARY_FAILURE,
4624                 INTERNAL;
4625                 [CCode (cheader_filename = "gio/gio.h")]
4626                 public static GLib.Quark quark ();
4627         }
4628         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_ERROR_")]
4629         [Version (since = "2.32")]
4630         public errordomain ResourceError {
4631                 NOT_FOUND,
4632                 INTERNAL;
4633                 [CCode (cheader_filename = "gio/gio.h")]
4634                 public static GLib.Quark quark ();
4635         }
4636         [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_")]
4637         [Version (since = "2.28")]
4638         public errordomain TlsError {
4639                 UNAVAILABLE,
4640                 MISC,
4641                 BAD_CERTIFICATE,
4642                 NOT_TLS,
4643                 HANDSHAKE,
4644                 CERTIFICATE_REQUIRED,
4645                 EOF
4646         }
4647         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4648         public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
4649         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4650         [Version (since = "2.26")]
4651         public delegate void BusAcquiredCallback (GLib.DBusConnection connection, string name);
4652         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4653         [Version (since = "2.26")]
4654         public delegate void BusNameAcquiredCallback (GLib.DBusConnection connection, string name);
4655         [CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
4656         [Version (since = "2.26")]
4657         public delegate void BusNameAppearedCallback (GLib.DBusConnection connection, string name, string name_owner);
4658         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4659         [Version (since = "2.26")]
4660         public delegate void BusNameLostCallback (GLib.DBusConnection connection, string name);
4661         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4662         [Version (since = "2.26")]
4663         public delegate void BusNameVanishedCallback (GLib.DBusConnection connection, string name);
4664         [CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
4665         [Version (since = "2.28")]
4666         public delegate bool CancellableSourceFunc (GLib.Cancellable? cancellable = null);
4667         [CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
4668         public delegate GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name) throws GLib.Error;
4669         [CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
4670         [Version (since = "2.26")]
4671         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);
4672         [CCode (cheader_filename = "gio/gio.h", instance_pos = 7.9)]
4673         public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value) throws GLib.Error;
4674         [CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
4675         [Version (since = "2.26")]
4676         public delegate GLib.DBusMessage? DBusMessageFilterFunction (GLib.DBusConnection connection, owned GLib.DBusMessage message, bool incoming);
4677         [CCode (cheader_filename = "gio/gio.h", instance_pos = 3.9)]
4678         [Version (since = "2.30")]
4679         public delegate GLib.Type DBusProxyTypeFunc (GLib.DBusObjectManagerClient manager, string object_path, string? interface_name);
4680         [CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
4681         [Version (since = "2.26")]
4682         public delegate void DBusSignalCallback (GLib.DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters);
4683         [CCode (cheader_filename = "gio/gio.h", instance_pos = 6.9)]
4684         [Version (since = "2.26")]
4685         public delegate unowned GLib.DBusInterfaceVTable? DBusSubtreeDispatchFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data);
4686         [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h", instance_pos = 3.9)]
4687         [Version (since = "2.26")]
4688         public delegate string[] DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
4689         [CCode (cheader_filename = "gio/gio.h", instance_pos = 4.9)]
4690         [Version (since = "2.26")]
4691         public delegate GLib.DBusInterfaceInfo DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
4692         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4693         [Version (since = "2.48")]
4694         public delegate bool DatagramBasedSourceFunc (GLib.DatagramBased datagram_based, GLib.IOCondition condition);
4695         [CCode (cheader_filename = "gio/gio.h", instance_pos = 4.9)]
4696         [Version (since = "2.38")]
4697         public delegate void FileMeasureProgressCallback (bool reporting, uint64 current_size, uint64 num_dirs, uint64 num_files);
4698         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4699         public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
4700         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4701         public delegate bool FileReadMoreCallback (string file_contents, int64 file_size, void* callback_data);
4702         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4703         public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable? cancellable = null);
4704         [CCode (cheader_filename = "gio/gio.h", instance_pos = 1.9)]
4705         [Version (since = "2.28")]
4706         public delegate bool PollableSourceFunc (GLib.Object pollable_stream);
4707         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4708         public delegate void* ReallocFunc (void* data, size_t size);
4709         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4710         public delegate bool SettingsBindGetMapping (GLib.Value value, GLib.Variant variant);
4711         [CCode (cheader_filename = "gio/gio.h", cname = "GSettingsBindGetMapping", has_target = false)]
4712         public delegate bool SettingsBindGetMappingShared (GLib.Value value, GLib.Variant variant, void* user_data);
4713         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4714         public delegate GLib.Variant SettingsBindSetMapping (GLib.Value value, GLib.VariantType expected_type);
4715         [CCode (cheader_filename = "gio/gio.h", cname = "GSettingsBindSetMapping", has_target = false)]
4716         public delegate GLib.Variant SettingsBindSetMappingShared (GLib.Value value, GLib.VariantType expected_type, void* user_data);
4717         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4718         public delegate bool SettingsGetMapping (GLib.Variant value, out void* result);
4719         [CCode (cheader_filename = "gio/gio.h")]
4720         [Version (deprecated_since = "vala-0.26", replacement = "SimplActionActivateFunc")]
4721         public delegate void SimpleActionActivateCallback (GLib.SimpleAction action, GLib.Variant? parameter);
4722         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4723         public delegate void SimpleActionActivateFunc (GLib.SimpleAction action, GLib.Variant? parameter, void* user_data);
4724         [CCode (cheader_filename = "gio/gio.h")]
4725         [Version (deprecated_since = "vala-0.26", replacement = "SimplActionChangeStateFunc")]
4726         public delegate void SimpleActionChangeStateCallback (GLib.SimpleAction action, GLib.Variant value);
4727         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4728         public delegate void SimpleActionChangeStateFunc (GLib.SimpleAction action, GLib.Variant value, void* user_data);
4729         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4730         public delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable? cancellable = null);
4731         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4732         [Version (since = "2.22")]
4733         public delegate bool SocketSourceFunc (GLib.Socket socket, GLib.IOCondition condition);
4734         [CCode (cheader_filename = "gio/gio.h", cname = "GAsyncReadyCallback", instance_pos = 2.9)]
4735         public delegate void TaskReadyCallback (GLib.Object? source_object, GLib.Task task);
4736         [CCode (cheader_filename = "gio/gio.h", cname = "GSourceFunc", has_target = false)]
4737         public delegate bool TaskSourceFunc (GLib.Task task);
4738         [CCode (cheader_filename = "gio/gio.h", has_target = false)]
4739         [Version (since = "2.36")]
4740         public delegate void TaskThreadFunc (GLib.Task task, GLib.Object source_object, void* task_data, GLib.Cancellable? cancellable = null);
4741         [CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
4742         [Version (since = "2.50")]
4743         public delegate GLib.File VfsFileLookupFunc (GLib.Vfs vfs, string identifier);
4744         [CCode (cheader_filename = "gio/gio.h")]
4745         [Version (deprecated_since = "vala-0.16", replacement = "File.equal")]
4746         public static GLib.EqualFunc<GLib.File> file_equal;
4747         [CCode (cheader_filename = "gio/gio.h")]
4748         [Version (deprecated_since = "vala-0.16", replacement = "File.hash")]
4749         public static GLib.HashFunc<GLib.File> file_hash;
4750         [CCode (cheader_filename = "glib.h", cname = "g_realloc")]
4751         public static GLib.ReallocFunc g_realloc;
4752         [CCode (cheader_filename = "gio/gio.h")]
4753         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_DELETE")]
4754         public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
4755         [CCode (cheader_filename = "gio/gio.h")]
4756         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_EXECUTE")]
4757         public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
4758         [CCode (cheader_filename = "gio/gio.h")]
4759         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_READ")]
4760         public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
4761         [CCode (cheader_filename = "gio/gio.h")]
4762         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_RENAME")]
4763         public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
4764         [CCode (cheader_filename = "gio/gio.h")]
4765         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_TRASH")]
4766         public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
4767         [CCode (cheader_filename = "gio/gio.h")]
4768         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ACCESS_CAN_WRITE")]
4769         public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
4770         [CCode (cheader_filename = "gio/gio.h")]
4771         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_ARCHIVE")]
4772         public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
4773         [CCode (cheader_filename = "gio/gio.h")]
4774         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.DOS_IS_SYSTEM")]
4775         public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
4776         [CCode (cheader_filename = "gio/gio.h")]
4777         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ETAG_VALUE")]
4778         public const string FILE_ATTRIBUTE_ETAG_VALUE;
4779         [CCode (cheader_filename = "gio/gio.h")]
4780         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_FREE")]
4781         public const string FILE_ATTRIBUTE_FILESYSTEM_FREE;
4782         [CCode (cheader_filename = "gio/gio.h")]
4783         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_READONLY")]
4784         public const string FILE_ATTRIBUTE_FILESYSTEM_READONLY;
4785         [CCode (cheader_filename = "gio/gio.h")]
4786         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_SIZE")]
4787         public const string FILE_ATTRIBUTE_FILESYSTEM_SIZE;
4788         [CCode (cheader_filename = "gio/gio.h")]
4789         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_TYPE")]
4790         public const string FILE_ATTRIBUTE_FILESYSTEM_TYPE;
4791         [CCode (cheader_filename = "gio/gio.h")]
4792         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.FILESYSTEM_USE_PREVIEW")]
4793         public const string FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW;
4794         [CCode (cheader_filename = "gio/gio.h")]
4795         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.GVFS_BACKEND")]
4796         public const string FILE_ATTRIBUTE_GVFS_BACKEND;
4797         [CCode (cheader_filename = "gio/gio.h")]
4798         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILE")]
4799         public const string FILE_ATTRIBUTE_ID_FILE;
4800         [CCode (cheader_filename = "gio/gio.h")]
4801         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.ID_FILESYSTEM")]
4802         public const string FILE_ATTRIBUTE_ID_FILESYSTEM;
4803         [CCode (cheader_filename = "gio/gio.h")]
4804         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_EJECT")]
4805         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
4806         [CCode (cheader_filename = "gio/gio.h")]
4807         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_MOUNT")]
4808         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
4809         [CCode (cheader_filename = "gio/gio.h")]
4810         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_POLL")]
4811         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL;
4812         [CCode (cheader_filename = "gio/gio.h")]
4813         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START")]
4814         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START;
4815         [CCode (cheader_filename = "gio/gio.h")]
4816         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_START_DEGRADED")]
4817         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED;
4818         [CCode (cheader_filename = "gio/gio.h")]
4819         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_STOP")]
4820         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP;
4821         [CCode (cheader_filename = "gio/gio.h")]
4822         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_CAN_UNMOUNT")]
4823         public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
4824         [CCode (cheader_filename = "gio/gio.h")]
4825         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_HAL_UDI")]
4826         public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
4827         [CCode (cheader_filename = "gio/gio.h")]
4828         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
4829         public const string FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
4830         [CCode (cheader_filename = "gio/gio.h")]
4831         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_START_STOP_TYPE")]
4832         public const string FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE;
4833         [CCode (cheader_filename = "gio/gio.h")]
4834         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE")]
4835         public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
4836         [CCode (cheader_filename = "gio/gio.h")]
4837         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.MOUNTABLE_UNIX_DEVICE_FILE")]
4838         public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE;
4839         [CCode (cheader_filename = "gio/gio.h")]
4840         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_GROUP")]
4841         public const string FILE_ATTRIBUTE_OWNER_GROUP;
4842         [CCode (cheader_filename = "gio/gio.h")]
4843         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER")]
4844         public const string FILE_ATTRIBUTE_OWNER_USER;
4845         [CCode (cheader_filename = "gio/gio.h")]
4846         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.OWNER_USER_REAL")]
4847         public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
4848         [CCode (cheader_filename = "gio/gio.h")]
4849         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.PREVIEW_ICON")]
4850         public const string FILE_ATTRIBUTE_PREVIEW_ICON;
4851         [CCode (cheader_filename = "gio/gio.h")]
4852         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.SELINUX_CONTEXT")]
4853         public const string FILE_ATTRIBUTE_SELINUX_CONTEXT;
4854         [CCode (cheader_filename = "gio/gio.h")]
4855         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ALLOCATED_SIZE")]
4856         public const string FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE;
4857         [CCode (cheader_filename = "gio/gio.h")]
4858         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_CONTENT_TYPE")]
4859         public const string FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
4860         [CCode (cheader_filename = "gio/gio.h")]
4861         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_COPY_NAME")]
4862         public const string FILE_ATTRIBUTE_STANDARD_COPY_NAME;
4863         [CCode (cheader_filename = "gio/gio.h")]
4864         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DESCRIPTION")]
4865         public const string FILE_ATTRIBUTE_STANDARD_DESCRIPTION;
4866         [CCode (cheader_filename = "gio/gio.h")]
4867         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_DISPLAY_NAME")]
4868         public const string FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME;
4869         [CCode (cheader_filename = "gio/gio.h")]
4870         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_EDIT_NAME")]
4871         public const string FILE_ATTRIBUTE_STANDARD_EDIT_NAME;
4872         [CCode (cheader_filename = "gio/gio.h")]
4873         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_FAST_CONTENT_TYPE")]
4874         public const string FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE;
4875         [CCode (cheader_filename = "gio/gio.h")]
4876         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_ICON")]
4877         public const string FILE_ATTRIBUTE_STANDARD_ICON;
4878         [CCode (cheader_filename = "gio/gio.h")]
4879         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_BACKUP")]
4880         public const string FILE_ATTRIBUTE_STANDARD_IS_BACKUP;
4881         [CCode (cheader_filename = "gio/gio.h")]
4882         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_HIDDEN")]
4883         public const string FILE_ATTRIBUTE_STANDARD_IS_HIDDEN;
4884         [CCode (cheader_filename = "gio/gio.h")]
4885         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_SYMLINK")]
4886         public const string FILE_ATTRIBUTE_STANDARD_IS_SYMLINK;
4887         [CCode (cheader_filename = "gio/gio.h")]
4888         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_IS_VIRTUAL")]
4889         public const string FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL;
4890         [CCode (cheader_filename = "gio/gio.h")]
4891         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_NAME")]
4892         public const string FILE_ATTRIBUTE_STANDARD_NAME;
4893         [CCode (cheader_filename = "gio/gio.h")]
4894         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SIZE")]
4895         public const string FILE_ATTRIBUTE_STANDARD_SIZE;
4896         [CCode (cheader_filename = "gio/gio.h")]
4897         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SORT_ORDER")]
4898         public const string FILE_ATTRIBUTE_STANDARD_SORT_ORDER;
4899         [CCode (cheader_filename = "gio/gio.h")]
4900         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_SYMLINK_TARGET")]
4901         public const string FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET;
4902         [CCode (cheader_filename = "gio/gio.h")]
4903         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TARGET_URI")]
4904         public const string FILE_ATTRIBUTE_STANDARD_TARGET_URI;
4905         [CCode (cheader_filename = "gio/gio.h")]
4906         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.STANDARD_TYPE")]
4907         public const string FILE_ATTRIBUTE_STANDARD_TYPE;
4908         [CCode (cheader_filename = "gio/gio.h")]
4909         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAILING_FAILED")]
4910         public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
4911         [CCode (cheader_filename = "gio/gio.h")]
4912         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.THUMBNAIL_PATH")]
4913         public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
4914         [CCode (cheader_filename = "gio/gio.h")]
4915         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS")]
4916         public const string FILE_ATTRIBUTE_TIME_ACCESS;
4917         [CCode (cheader_filename = "gio/gio.h")]
4918         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_ACCESS_USEC")]
4919         public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
4920         [CCode (cheader_filename = "gio/gio.h")]
4921         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED")]
4922         public const string FILE_ATTRIBUTE_TIME_CHANGED;
4923         [CCode (cheader_filename = "gio/gio.h")]
4924         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CHANGED_USEC")]
4925         public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
4926         [CCode (cheader_filename = "gio/gio.h")]
4927         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED")]
4928         public const string FILE_ATTRIBUTE_TIME_CREATED;
4929         [CCode (cheader_filename = "gio/gio.h")]
4930         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_CREATED_USEC")]
4931         public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
4932         [CCode (cheader_filename = "gio/gio.h")]
4933         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED")]
4934         public const string FILE_ATTRIBUTE_TIME_MODIFIED;
4935         [CCode (cheader_filename = "gio/gio.h")]
4936         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TIME_MODIFIED_USEC")]
4937         public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
4938         [CCode (cheader_filename = "gio/gio.h")]
4939         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_DELETION_DATE")]
4940         public const string FILE_ATTRIBUTE_TRASH_DELETION_DATE;
4941         [CCode (cheader_filename = "gio/gio.h")]
4942         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ITEM_COUNT")]
4943         public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
4944         [CCode (cheader_filename = "gio/gio.h")]
4945         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.TRASH_ORIG_PATH")]
4946         public const string FILE_ATTRIBUTE_TRASH_ORIG_PATH;
4947         [CCode (cheader_filename = "gio/gio.h")]
4948         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCKS")]
4949         public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
4950         [CCode (cheader_filename = "gio/gio.h")]
4951         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_BLOCK_SIZE")]
4952         public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
4953         [CCode (cheader_filename = "gio/gio.h")]
4954         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_DEVICE")]
4955         public const string FILE_ATTRIBUTE_UNIX_DEVICE;
4956         [CCode (cheader_filename = "gio/gio.h")]
4957         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_GID")]
4958         public const string FILE_ATTRIBUTE_UNIX_GID;
4959         [CCode (cheader_filename = "gio/gio.h")]
4960         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_INODE")]
4961         public const string FILE_ATTRIBUTE_UNIX_INODE;
4962         [CCode (cheader_filename = "gio/gio.h")]
4963         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_IS_MOUNTPOINT")]
4964         public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
4965         [CCode (cheader_filename = "gio/gio.h")]
4966         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_MODE")]
4967         public const string FILE_ATTRIBUTE_UNIX_MODE;
4968         [CCode (cheader_filename = "gio/gio.h")]
4969         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_NLINK")]
4970         public const string FILE_ATTRIBUTE_UNIX_NLINK;
4971         [CCode (cheader_filename = "gio/gio.h")]
4972         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_RDEV")]
4973         public const string FILE_ATTRIBUTE_UNIX_RDEV;
4974         [CCode (cheader_filename = "gio/gio.h")]
4975         [Version (deprecated_since = "vala-0.16", replacement = "FileAttribute.UNIX_UID")]
4976         public const string FILE_ATTRIBUTE_UNIX_UID;
4977         [CCode (cheader_filename = "gio/gio.h")]
4978         [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_ACTION")]
4979         public const string MENU_ATTRIBUTE_ACTION;
4980         [CCode (cheader_filename = "gio/gio.h")]
4981         [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_LABEL")]
4982         public const string MENU_ATTRIBUTE_LABEL;
4983         [CCode (cheader_filename = "gio/gio.h")]
4984         [Version (deprecated_since = "vala-0.16", replacement = "Menu.ATTRIBUTE_TARGET")]
4985         public const string MENU_ATTRIBUTE_TARGET;
4986         [CCode (cheader_filename = "gio/gio.h")]
4987         [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SECTION_SECTION")]
4988         public const string MENU_LINK_SECTION;
4989         [CCode (cheader_filename = "gio/gio.h")]
4990         [Version (deprecated_since = "vala-0.16", replacement = "Menu.LINK_SUBMENU")]
4991         public const string MENU_LINK_SUBMENU;
4992         [CCode (cheader_filename = "gio/gio.h")]
4993         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NATIVE_VOLUME_MONITOR")]
4994         public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
4995         [CCode (cheader_filename = "gio/gio.h")]
4996         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.NETWORK_MONITOR")]
4997         public const string NETWORK_MONITOR_EXTENSION_POINT_NAME;
4998         [CCode (cheader_filename = "gio/gio.h")]
4999         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY")]
5000         public const string PROXY_EXTENSION_POINT_NAME;
5001         [CCode (cheader_filename = "gio/gio.h")]
5002         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.PROXY_RESOLVER")]
5003         public const string PROXY_RESOLVER_EXTENSION_POINT_NAME;
5004         [CCode (cheader_filename = "gio/gio.h")]
5005         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.TLS_BACKEND")]
5006         public const string TLS_BACKEND_EXTENSION_POINT_NAME;
5007         [CCode (cheader_filename = "gio/gio.h")]
5008         [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_CLIENT")]
5009         public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT;
5010         [CCode (cheader_filename = "gio/gio.h")]
5011         [Version (deprecated_since = "vala-0.16", replacement = "TlsDatabase.PURPOSE_AUTHENTICATE_SERVER")]
5012         public const string TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER;
5013         [CCode (cheader_filename = "gio/gio.h")]
5014         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VFS")]
5015         public const string VFS_EXTENSION_POINT_NAME;
5016         [CCode (cheader_filename = "gio/gio.h")]
5017         [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.HAL_UDI")]
5018         public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
5019         [CCode (cheader_filename = "gio/gio.h")]
5020         [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.LABEL")]
5021         public const string VOLUME_IDENTIFIER_KIND_LABEL;
5022         [CCode (cheader_filename = "gio/gio.h")]
5023         [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.NFS_MOUNT")]
5024         public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
5025         [CCode (cheader_filename = "gio/gio.h")]
5026         [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UNIX_DEVICE")]
5027         public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
5028         [CCode (cheader_filename = "gio/gio.h")]
5029         [Version (deprecated_since = "vala-0.16", replacement = "GLib.VolumeIdentifier.UUID")]
5030         public const string VOLUME_IDENTIFIER_KIND_UUID;
5031         [CCode (cheader_filename = "gio/gio.h")]
5032         [Version (deprecated_since = "vala-0.16", replacement = "IOExtensionPoint.VOLUME_MONITOR")]
5033         public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
5034         [CCode (cheader_filename = "gio/gio.h")]
5035         [Version (since = "2.38")]
5036         public static bool action_name_is_valid (string action_name);
5037         [CCode (cheader_filename = "gio/gio.h")]
5038         [Version (since = "2.38")]
5039         public static bool action_parse_detailed_name (string detailed_name, out string action_name, out GLib.Variant target_value) throws GLib.Error;
5040         [CCode (cheader_filename = "gio/gio.h")]
5041         [Version (since = "2.38")]
5042         public static string action_print_detailed_name (string action_name, GLib.Variant? target_value);
5043         [CCode (cheader_filename = "gio/gio.h")]
5044         [Version (since = "2.48")]
5045         public static GLib.DtlsClientConnection dtls_client_connection_new (GLib.DatagramBased base_socket, GLib.SocketConnectable? server_identity) throws GLib.Error;
5046         [CCode (cheader_filename = "gio/gio.h")]
5047         [Version (since = "2.48")]
5048         public static GLib.DtlsServerConnection dtls_server_connection_new (GLib.DatagramBased base_socket, GLib.TlsCertificate? certificate) throws GLib.Error;
5049         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_can_be_executable")]
5050         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.can_be_executable")]
5051         public static bool g_content_type_can_be_executable (string type);
5052         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_equals")]
5053         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.equals")]
5054         public static bool g_content_type_equals (string type1, string type2);
5055         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_from_mime_type")]
5056         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.from_mime_type")]
5057         public static string? g_content_type_from_mime_type (string mime_type);
5058         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_description")]
5059         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_description")]
5060         public static string g_content_type_get_description (string type);
5061         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_icon")]
5062         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_icon")]
5063         public static GLib.Icon g_content_type_get_icon (string type);
5064         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_get_mime_type")]
5065         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.get_mime_type")]
5066         public static string? g_content_type_get_mime_type (string type);
5067         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_guess")]
5068         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess")]
5069         public static string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
5070         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_guess_for_tree")]
5071         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.guess_for_tree")]
5072         public static string g_content_type_guess_for_tree (GLib.File root);
5073         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_is_a")]
5074         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_a")]
5075         public static bool g_content_type_is_a (string type, string supertype);
5076         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_type_is_unknown")]
5077         [Version (deprecated_since = "vala-0.12", replacement = "GLib.ContentType.is_unknown")]
5078         public static bool g_content_type_is_unknown (string type);
5079         [CCode (cheader_filename = "gio/gio.h", cname = "g_content_types_get_registered")]
5080         [Version (deprecated_since = "vala-0.16", replacement = "ContentType.list_registered")]
5081         public static GLib.List<string> g_content_types_get_registered ();
5082         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_for_bus_sync")]
5083         [Version (deprecated_since = "vala-0.16", replacement = "BusType.get_address_sync")]
5084         public static unowned string g_dbus_address_get_for_bus_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
5085         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream")]
5086         [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream")]
5087         public static async void g_dbus_address_get_stream (string address, GLib.Cancellable? cancellable = null);
5088         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_finish")]
5089         [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_finish")]
5090         public static unowned GLib.IOStream g_dbus_address_get_stream_finish (GLib.AsyncResult res, string out_guid) throws GLib.Error;
5091         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_address_get_stream_sync")]
5092         [Version (deprecated_since = "vala-0.16", replacement = "DBus.address_get_stream_sync")]
5093         public static unowned GLib.IOStream g_dbus_address_get_stream_sync (string address, string out_guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
5094         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_encode_gerror")]
5095         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.encode_gerror")]
5096         public static unowned string g_dbus_error_encode_gerror (GLib.Error error);
5097         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_get_remote_error")]
5098         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.get_remote_error")]
5099         public static unowned string g_dbus_error_get_remote_error (GLib.Error error);
5100         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_is_remote_error")]
5101         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.error_is_remote_error")]
5102         public static bool g_dbus_error_is_remote_error (GLib.Error error);
5103         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_new_for_dbus_error")]
5104         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.new_for_dbus_error")]
5105         public static unowned GLib.Error g_dbus_error_new_for_dbus_error (string dbus_error_name, string dbus_error_message);
5106         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_quark")]
5107         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.quark")]
5108         public static GLib.Quark g_dbus_error_quark ();
5109         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error")]
5110         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error")]
5111         public static bool g_dbus_error_register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
5112         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_register_error_domain")]
5113         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.register_error_domain")]
5114         public static void g_dbus_error_register_error_domain (string error_domain_quark_name, size_t quark_volatile, GLib.DBusErrorEntry entries, uint num_entries);
5115         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error")]
5116         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error")]
5117         public static void g_dbus_error_set_dbus_error (string dbus_error_name, string dbus_error_message, string format) throws GLib.Error;
5118         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_set_dbus_error_valist")]
5119         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.set_dbus_error_valist")]
5120         public static void g_dbus_error_set_dbus_error_valist (string dbus_error_name, string dbus_error_message, string format, void* var_args) throws GLib.Error;
5121         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_strip_remote_error")]
5122         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.strip_remote_error")]
5123         public static bool g_dbus_error_strip_remote_error (GLib.Error error);
5124         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_error_unregister_error")]
5125         [Version (deprecated_since = "vala-0.16", replacement = "DBusError.unregister_error")]
5126         public static bool g_dbus_error_unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
5127         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_generate_guid")]
5128         [Version (deprecated_since = "vala-0.16", replacement = "DBus.generate_guid")]
5129         public static unowned string g_dbus_generate_guid ();
5130         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvalue_to_gvariant")]
5131         [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvalue_to_gvariant")]
5132         public static unowned GLib.Variant g_dbus_gvalue_to_gvariant (GLib.Value gvalue, GLib.VariantType type);
5133         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_gvariant_to_gvalue")]
5134         [Version (deprecated_since = "vala-0.16", replacement = "DBus.gvariant_to_gvalue")]
5135         public static void g_dbus_gvariant_to_gvalue (GLib.Variant value, GLib.Value out_gvalue);
5136         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_address")]
5137         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_address")]
5138         public static bool g_dbus_is_address (string str);
5139         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_guid")]
5140         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_guid")]
5141         public static bool g_dbus_is_guid (string str);
5142         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_interface_name")]
5143         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_interface_name")]
5144         public static bool g_dbus_is_interface_name (string str);
5145         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_member_name")]
5146         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_member_name")]
5147         public static bool g_dbus_is_member_name (string str);
5148         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_name")]
5149         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_name")]
5150         public static bool g_dbus_is_name (string str);
5151         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_supported_address")]
5152         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_supported_address")]
5153         public static bool g_dbus_is_supported_address (string str) throws GLib.Error;
5154         [CCode (cheader_filename = "gio/gio.h", cname = "g_dbus_is_unique_name")]
5155         [Version (deprecated_since = "vala-0.16", replacement = "DBus.is_unique_name")]
5156         public static bool g_dbus_is_unique_name (string str);
5157         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_from_errno")]
5158         [Version (deprecated_since = "vala-0.16", replacement = "IOError.from_errno")]
5159         public static unowned GLib.IOError g_io_error_from_errno (int err_no);
5160         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_error_quark")]
5161         [Version (deprecated_since = "vala-0.16", replacement = "IOError.quark")]
5162         public static GLib.Quark g_io_error_quark ();
5163         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory")]
5164         [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory")]
5165         public static GLib.List<weak GLib.TypeModule> g_io_modules_load_all_in_directory (string dirname);
5166         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_load_all_in_directory_with_scope")]
5167         [Version (deprecated_since = "vala-0.16", replacement = "IOModule.load_all_in_directory_with_scope")]
5168         public static unowned GLib.List g_io_modules_load_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
5169         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory")]
5170         [Version (deprecated_since = "vala-0.16", replacement = "IOModule.scan_all_in_directory")]
5171         public static void g_io_modules_scan_all_in_directory (string dirname);
5172         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_modules_scan_all_in_directory_with_scope")]
5173         [Version (deprecated_since = "vala-0.16", replacement = "IOModule.xscan_all_in_directory_with_scope")]
5174         public static void g_io_modules_scan_all_in_directory_with_scope (string dirname, GLib.IOModuleScope scope);
5175         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_cancel_all_jobs")]
5176         [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.cancel_all")]
5177         public static void g_io_scheduler_cancel_all_jobs ();
5178         [CCode (cheader_filename = "gio/gio.h", cname = "g_io_scheduler_push_job")]
5179         [Version (deprecated_since = "vala-0.16", replacement = "IOSchedulerJob.push")]
5180         public static void g_io_scheduler_push_job (owned GLib.IOSchedulerJobFunc job_func, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
5181         [CCode (cheader_filename = "gio/gio.h", cname = "g_pollable_source_new")]
5182         [Version (deprecated_since = "vala-0.16", replacement = "PollableSource")]
5183         public static unowned GLib.TimeoutSource g_pollable_source_new (GLib.Object pollable_stream);
5184         [CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_error_in_idle")]
5185         [Version (deprecated_since = "vala-0.16", replacement = "report_error_in_idle")]
5186         public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
5187         [CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_gerror_in_idle")]
5188         [Version (deprecated_since = "vala-0.16", replacement = "report_gerror_in_idle")]
5189         public static void g_simple_async_report_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
5190         [CCode (cheader_filename = "gio/gio.h", cname = "g_simple_async_report_take_gerror_in_idle")]
5191         [Version (deprecated_since = "vala-0.16", replacement = "report_take_gerror_in_idle")]
5192         public static void g_simple_async_report_take_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);
5193         [CCode (cheader_filename = "gio/gio.h", cname = "g_tls_error_quark")]
5194         [Version (deprecated_since = "vala-0.16", replacement = "TlsError.quark")]
5195         public static GLib.Quark g_tls_error_quark ();
5196         [CCode (cheader_filename = "gio/gio.h")]
5197         [Version (since = "2.36")]
5198         public static void networking_init ();
5199         [CCode (cheader_filename = "gio/gio.h")]
5200         [Version (since = "2.34")]
5201         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;
5202         [CCode (cheader_filename = "gio/gio.h")]
5203         [Version (since = "2.34")]
5204         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;
5205         [CCode (cheader_filename = "gio/gio.h")]
5206         [Version (since = "2.34")]
5207         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;
5208         [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
5209         [Version (since = "2.32")]
5210         public static string[] resources_enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
5211         [CCode (cheader_filename = "gio/gio.h")]
5212         [Version (since = "2.32")]
5213         public static bool resources_get_info (string path, GLib.ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws GLib.Error;
5214         [CCode (cheader_filename = "gio/gio.h")]
5215         [Version (since = "2.32")]
5216         public static GLib.Bytes resources_lookup_data (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
5217         [CCode (cheader_filename = "gio/gio.h")]
5218         [Version (since = "2.32")]
5219         public static GLib.InputStream resources_open_stream (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
5220         [CCode (cheader_filename = "gio/gio.h")]
5221         [Version (since = "2.32")]
5222         public static void resources_register (GLib.Resource resource);
5223         [CCode (cheader_filename = "gio/gio.h")]
5224         [Version (since = "2.32")]
5225         public static void resources_unregister (GLib.Resource resource);