1 /* gio-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "G", lower_case_cprefix = "g_", gir_namespace = "Gio", gir_version = "2.0")]
5 [CCode (cprefix = "GBus", lower_case_cprefix = "g_bus_")]
7 [CCode (cheader_filename = "gio/gio.h")]
8 public static async GLib.DBusConnection @get (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
9 [CCode (cheader_filename = "gio/gio.h")]
10 public static T get_proxy_sync<T> (GLib.BusType bus_type, string name, string object_path, GLib.Cancellable? cancellable = null) throws GLib.IOError;
11 [CCode (cheader_filename = "gio/gio.h")]
12 public static GLib.DBusConnection get_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable = null) throws GLib.IOError;
13 [CCode (cheader_filename = "gio/gio.h")]
14 public static uint own_name (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, GLib.BusAcquiredCallback bus_acquired_handler, GLib.BusNameAcquiredCallback name_acquired_handler, GLib.BusNameLostCallback name_lost_handler);
15 [CCode (cheader_filename = "gio/gio.h")]
16 public static uint own_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, GLib.BusNameAcquiredCallback name_acquired_handler, GLib.BusNameLostCallback name_lost_handler);
17 [CCode (cheader_filename = "gio/gio.h")]
18 public static uint own_name_on_connection_with_closures (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, GLib.Closure name_acquired_closure, GLib.Closure name_lost_closure);
19 [CCode (cheader_filename = "gio/gio.h")]
20 public static uint own_name_with_closures (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, GLib.Closure bus_acquired_closure, GLib.Closure name_acquired_closure, GLib.Closure name_lost_closure);
21 [CCode (cheader_filename = "gio/gio.h")]
22 public static void unown_name (uint owner_id);
23 [CCode (cheader_filename = "gio/gio.h")]
24 public static void unwatch_name (uint watcher_id);
25 [CCode (cheader_filename = "gio/gio.h")]
26 public static uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, GLib.BusNameAppearedCallback name_appeared_handler, GLib.BusNameVanishedCallback name_vanished_handler);
27 [CCode (cheader_filename = "gio/gio.h")]
28 public static uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, GLib.BusNameAppearedCallback name_appeared_handler, GLib.BusNameVanishedCallback name_vanished_handler);
29 [CCode (cheader_filename = "gio/gio.h")]
30 public static uint watch_name_on_connection_with_closures (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, GLib.Closure name_appeared_closure, GLib.Closure name_vanished_closure);
31 [CCode (cheader_filename = "gio/gio.h")]
32 public static uint watch_name_with_closures (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, GLib.Closure name_appeared_closure, GLib.Closure name_vanished_closure);
34 [CCode (cheader_filename = "gio/gio.h")]
35 public class AppLaunchContext : GLib.Object {
36 [CCode (has_construct_function = false)]
37 public AppLaunchContext ();
38 public virtual unowned string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
39 public virtual unowned string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
40 public virtual void launch_failed (string startup_notify_id);
42 [CCode (cheader_filename = "gio/gio.h")]
43 public class Application : GLib.Object, GLib.Initable {
44 [CCode (has_construct_function = false)]
45 public Application (string appid, [CCode (array_length_pos = 1.9)] ref unowned string[]? argv = null);
46 public void add_action (string name, string description);
47 public unowned string get_action_description (string name);
48 public bool get_action_enabled (string name);
49 public unowned string get_id ();
50 public static unowned GLib.Application get_instance ();
51 public void invoke_action (string name, GLib.Variant platform_data);
52 public unowned string list_actions ();
53 [CCode (cname = "g_application_quit_with_data")]
54 public bool quit (GLib.Variant? platform_data = null);
55 public bool register ();
56 public void remove_action (string name);
57 public virtual void run ();
58 public void set_action_enabled (string name, bool enabled);
59 public static unowned GLib.Application try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
60 public static unowned GLib.Application unregistered_try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
62 public string application_id { owned get; construct; }
64 public GLib.Variant argv { owned get; construct; }
66 public bool default_quit { get; construct; }
68 public bool is_remote { get; }
70 public GLib.Variant platform_data { owned get; construct; }
71 public virtual signal void action_with_data (string action_name, GLib.Variant platform_data);
72 public virtual signal void prepare_activation (GLib.Variant arguments, GLib.Variant platform_data);
74 public virtual signal bool quit_with_data (GLib.Variant platform_data);
76 [CCode (cheader_filename = "gio/gio.h")]
77 public class BufferedInputStream : GLib.FilterInputStream {
78 [CCode (type = "GInputStream*", has_construct_function = false)]
79 public BufferedInputStream (GLib.InputStream base_stream);
80 public virtual ssize_t fill (ssize_t count, GLib.Cancellable? cancellable) throws GLib.Error;
81 public virtual async ssize_t fill_async (ssize_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
82 public virtual ssize_t fill_finish (GLib.AsyncResult _result) throws GLib.Error;
83 public size_t get_available ();
84 public size_t get_buffer_size ();
85 public size_t peek (void* buffer, size_t offset, size_t count);
86 public void* peek_buffer (out size_t count);
87 public int read_byte (GLib.Cancellable? cancellable) throws GLib.Error;
88 public void set_buffer_size (size_t size);
89 [CCode (type = "GInputStream*", has_construct_function = false)]
90 public BufferedInputStream.sized (GLib.InputStream base_stream, size_t size);
91 public uint buffer_size { get; set construct; }
93 [CCode (cheader_filename = "gio/gio.h")]
94 public class BufferedOutputStream : GLib.FilterOutputStream {
95 [CCode (type = "GOutputStream*", has_construct_function = false)]
96 public BufferedOutputStream (GLib.OutputStream base_stream);
97 public bool get_auto_grow ();
98 public size_t get_buffer_size ();
99 public void set_auto_grow (bool auto_grow);
100 public void set_buffer_size (size_t size);
101 [CCode (type = "GOutputStream*", has_construct_function = false)]
102 public BufferedOutputStream.sized (GLib.OutputStream base_stream, size_t size);
103 public bool auto_grow { get; set; }
104 public uint buffer_size { get; set construct; }
106 [CCode (cheader_filename = "gio/gio.h")]
107 public class Cancellable : GLib.Object {
108 [CCode (has_construct_function = false)]
109 public Cancellable ();
110 public void cancel ();
111 public ulong connect (GLib.Callback callback, void* data, GLib.DestroyNotify data_destroy_func);
112 public void disconnect (ulong handler_id);
113 public static unowned GLib.Cancellable get_current ();
114 public int get_fd ();
115 public bool is_cancelled ();
116 public bool make_pollfd (GLib.PollFD pollfd);
117 public void pop_current ();
118 public void push_current ();
119 public void release_fd ();
120 public void reset ();
121 public bool set_error_if_cancelled () throws GLib.Error;
122 public virtual signal void cancelled ();
124 [CCode (cheader_filename = "gio/gio.h")]
125 public class CharsetConverter : GLib.Object, GLib.Converter, GLib.Initable {
126 [CCode (has_construct_function = false)]
127 public CharsetConverter (string to_charset, string from_charset) throws GLib.Error;
128 public uint get_num_fallbacks ();
129 public bool get_use_fallback ();
130 public void set_use_fallback (bool use_fallback);
132 public string from_charset { owned get; construct; }
134 public string to_charset { owned get; construct; }
135 public bool use_fallback { get; set construct; }
137 [CCode (cheader_filename = "gio/gio.h")]
138 public class ConverterInputStream : GLib.FilterInputStream {
139 [CCode (type = "GInputStream*", has_construct_function = false)]
140 public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
141 public unowned GLib.Converter get_converter ();
142 public GLib.Converter converter { get; construct; }
144 [CCode (cheader_filename = "gio/gio.h")]
145 public class ConverterOutputStream : GLib.FilterOutputStream {
146 [CCode (type = "GOutputStream*", has_construct_function = false)]
147 public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
148 public unowned GLib.Converter get_converter ();
149 public GLib.Converter converter { get; construct; }
151 [CCode (cheader_filename = "gio/gio.h")]
152 public class Credentials : GLib.Object {
153 [CCode (has_construct_function = false)]
154 public Credentials ();
155 public void* get_native ();
156 public uint get_unix_user () throws GLib.Error;
157 public bool is_same_user (GLib.Credentials other_credentials) throws GLib.Error;
158 public void set_native (void* native);
159 public bool set_unix_user (uint uid) throws GLib.Error;
160 public unowned string to_string ();
163 [CCode (ref_function = "g_dbus_annotation_info_ref", unref_function = "g_dbus_annotation_info_unref", type_id = "G_TYPE_DBUS_ANNOTATION_INFO", cheader_filename = "gio/gio.h")]
164 public class DBusAnnotationInfo {
165 public weak GLib.DBusAnnotationInfo annotations;
166 public weak string key;
167 public int ref_count;
168 public weak string value;
169 public unowned string lookup (string name);
172 [CCode (ref_function = "g_dbus_arg_info_ref", unref_function = "g_dbus_arg_info_unref", type_id = "G_TYPE_DBUS_ARG_INFO", cheader_filename = "gio/gio.h")]
173 public class DBusArgInfo {
174 public weak GLib.DBusAnnotationInfo annotations;
175 public weak string name;
176 public int ref_count;
177 public weak string signature;
179 [CCode (cheader_filename = "gio/gio.h")]
180 public class DBusAuthObserver : GLib.Object {
181 [CCode (has_construct_function = false)]
182 public DBusAuthObserver ();
184 public virtual signal bool authorize_authenticated_peer (GLib.IOStream stream, GLib.Credentials credentials);
186 [CCode (cheader_filename = "gio/gio.h")]
187 public class DBusConnection : GLib.Object, GLib.Initable, GLib.AsyncInitable {
188 [CCode (type = "void", has_construct_function = false)]
189 public DBusConnection (GLib.IOStream stream, string guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
190 public uint add_filter (GLib.DBusMessageFilterFunction filter_function, GLib.DestroyNotify user_data_free_func);
191 public void 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, GLib.AsyncReadyCallback callback);
192 public unowned GLib.Variant call_finish (GLib.AsyncResult res) throws GLib.Error;
193 public unowned 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) throws GLib.Error;
194 public void close ();
195 public bool emit_signal (string destination_bus_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters) throws GLib.Error;
196 [CCode (has_construct_function = false)]
197 public DBusConnection.finish (GLib.AsyncResult res) throws GLib.Error;
198 [CCode (type = "void", has_construct_function = false)]
199 public DBusConnection.for_address (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
200 [CCode (has_construct_function = false)]
201 public DBusConnection.for_address_finish (GLib.AsyncResult res) throws GLib.Error;
202 [CCode (has_construct_function = false)]
203 public DBusConnection.for_address_sync (string address, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable) throws GLib.Error;
204 public GLib.DBusCapabilityFlags get_capabilities ();
205 public bool get_exit_on_close ();
206 public unowned string get_guid ();
207 public unowned GLib.Credentials get_peer_credentials ();
208 public unowned GLib.IOStream get_stream ();
209 public unowned string get_unique_name ();
210 public bool is_closed ();
211 public uint register_object<T> (string object_path, T object) throws GLib.IOError;
212 public uint register_subtree (string object_path, GLib.DBusSubtreeVTable vtable, GLib.DBusSubtreeFlags flags, GLib.DestroyNotify user_data_free_func) throws GLib.Error;
213 public void remove_filter (uint filter_id);
214 public bool send_message (GLib.DBusMessage message, uint32 out_serial) throws GLib.Error;
215 public void send_message_with_reply (GLib.DBusMessage message, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
216 public unowned GLib.DBusMessage send_message_with_reply_finish (GLib.AsyncResult res) throws GLib.Error;
217 public unowned GLib.DBusMessage send_message_with_reply_sync (GLib.DBusMessage message, int timeout_msec, uint32 out_serial, GLib.Cancellable? cancellable) throws GLib.Error;
218 public void set_exit_on_close (bool exit_on_close);
219 public uint signal_subscribe (string sender, string interface_name, string member, string object_path, string arg0, GLib.DBusSignalCallback callback, GLib.DestroyNotify user_data_free_func);
220 public void signal_unsubscribe (uint subscription_id);
221 [CCode (has_construct_function = false)]
222 public DBusConnection.sync (GLib.IOStream stream, string guid, GLib.DBusConnectionFlags flags, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable) throws GLib.Error;
223 public bool unregister_object (uint registration_id);
224 public bool unregister_subtree (uint registration_id);
225 public string address { construct; }
226 public GLib.DBusAuthObserver authentication_observer { construct; }
227 public GLib.DBusCapabilityFlags capabilities { get; }
228 public bool exit_on_close { get; set; }
229 public GLib.DBusConnectionFlags flags { construct; }
230 public string guid { get; construct; }
231 public GLib.IOStream stream { get; construct; }
232 public string unique_name { get; }
233 public virtual signal void closed (bool remote_peer_vanished, GLib.Error error);
236 [CCode (cheader_filename = "gio/gio.h")]
237 public class DBusErrorEntry {
238 public weak string dbus_error_name;
239 public int error_code;
242 [CCode (ref_function = "g_dbus_interface_info_ref", unref_function = "g_dbus_interface_info_unref", type_id = "G_TYPE_DBUS_INTERFACE_INFO", cheader_filename = "gio/gio.h")]
243 public class DBusInterfaceInfo {
244 public weak GLib.DBusAnnotationInfo annotations;
245 public weak GLib.DBusMethodInfo methods;
246 public weak string name;
247 public weak GLib.DBusPropertyInfo properties;
248 public int ref_count;
249 public weak GLib.DBusSignalInfo signals;
250 public void generate_xml (uint indent, GLib.StringBuilder string_builder);
251 public unowned GLib.DBusMethodInfo lookup_method (string name);
252 public unowned GLib.DBusPropertyInfo lookup_property (string name);
253 public unowned GLib.DBusSignalInfo lookup_signal (string name);
256 [CCode (cheader_filename = "gio/gio.h")]
257 public class DBusInterfaceVTable {
258 public weak GLib.DBusInterfaceGetPropertyFunc get_property;
259 public weak GLib.DBusInterfaceMethodCallFunc method_call;
260 public weak GLib.DBusInterfaceSetPropertyFunc set_property;
262 [CCode (cheader_filename = "gio/gio.h")]
263 public class DBusMessage : GLib.Object {
264 [CCode (has_construct_function = false)]
265 public DBusMessage ();
266 public static ssize_t bytes_needed (uchar[] blob, size_t blob_len) throws GLib.Error;
267 [CCode (has_construct_function = false)]
268 public DBusMessage.from_blob (uchar[] blob, size_t blob_len, GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
269 public unowned string get_arg0 ();
270 public unowned GLib.Variant get_body ();
271 public unowned string get_destination ();
272 public unowned string get_error_name ();
273 public GLib.DBusMessageFlags get_flags ();
274 public unowned GLib.Variant get_header (GLib.DBusMessageHeaderField header_field);
275 public unowned uchar[] get_header_fields ();
276 public unowned string get_interface ();
277 public unowned string get_member ();
278 public GLib.DBusMessageType get_message_type ();
279 public uint32 get_num_unix_fds ();
280 public unowned string get_path ();
281 public uint32 get_reply_serial ();
282 public unowned string get_sender ();
283 public uint32 get_serial ();
284 public unowned string get_signature ();
285 public unowned GLib.UnixFDList get_unix_fd_list ();
286 [CCode (has_construct_function = false)]
287 public DBusMessage.method_call (string name, string path, string interface_, string method);
288 [CCode (has_construct_function = false)]
289 public DBusMessage.method_error (GLib.DBusMessage method_call_message, string error_name, string error_message_format);
290 [CCode (has_construct_function = false)]
291 public DBusMessage.method_error_literal (GLib.DBusMessage method_call_message, string error_name, string error_message);
292 [CCode (has_construct_function = false)]
293 public DBusMessage.method_error_valist (GLib.DBusMessage method_call_message, string error_name, string error_message_format, void* var_args);
294 [CCode (has_construct_function = false)]
295 public DBusMessage.method_reply (GLib.DBusMessage method_call_message);
296 public unowned string print (uint indent);
297 public void set_body (GLib.Variant body);
298 public void set_destination (string value);
299 public void set_error_name (string value);
300 public void set_flags (GLib.DBusMessageFlags flags);
301 public void set_header (GLib.DBusMessageHeaderField header_field, GLib.Variant value);
302 public void set_interface (string value);
303 public void set_member (string value);
304 public void set_message_type (GLib.DBusMessageType type);
305 public void set_num_unix_fds (uint32 value);
306 public void set_path (string value);
307 public void set_reply_serial (uint32 value);
308 public void set_sender (string value);
309 public void set_serial (uint32 serial);
310 public void set_signature (string value);
311 public void set_unix_fd_list (GLib.UnixFDList fd_list);
312 [CCode (has_construct_function = false)]
313 public DBusMessage.@signal (string path, string interface_, string @signal);
314 public unowned uchar[] to_blob (size_t out_size, GLib.DBusCapabilityFlags capabilities) throws GLib.Error;
315 public bool to_gerror () throws GLib.Error;
318 [CCode (ref_function = "g_dbus_method_info_ref", unref_function = "g_dbus_method_info_unref", type_id = "G_TYPE_DBUS_METHOD_INFO", cheader_filename = "gio/gio.h")]
319 public class DBusMethodInfo {
320 public weak GLib.DBusAnnotationInfo annotations;
321 public weak GLib.DBusArgInfo in_args;
322 public weak string name;
323 public weak GLib.DBusArgInfo out_args;
324 public int ref_count;
326 [CCode (cheader_filename = "gio/gio.h")]
327 public class DBusMethodInvocation : GLib.Object {
328 [CCode (has_construct_function = false)]
329 public DBusMethodInvocation (string sender, string object_path, string interface_name, string method_name, GLib.DBusMethodInfo method_info, GLib.DBusConnection connection, GLib.DBusMessage message, GLib.Variant parameters);
330 public unowned GLib.DBusConnection get_connection ();
331 public unowned string get_interface_name ();
332 public unowned GLib.DBusMessage get_message ();
333 public unowned GLib.DBusMethodInfo get_method_info ();
334 public unowned string get_method_name ();
335 public unowned string get_object_path ();
336 public unowned GLib.Variant get_parameters ();
337 public unowned string get_sender ();
338 public void* get_user_data ();
339 public void return_dbus_error (string error_name, string error_message);
340 public void return_error (GLib.Quark domain, int code, string format);
341 public void return_error_literal (GLib.Quark domain, int code, string message);
342 public void return_error_valist (GLib.Quark domain, int code, string format, void* var_args);
343 public void return_gerror (GLib.Error error);
344 public void return_value (GLib.Variant parameters);
347 [CCode (ref_function = "g_dbus_node_info_ref", unref_function = "g_dbus_node_info_unref", type_id = "G_TYPE_DBUS_NODE_INFO", cheader_filename = "gio/gio.h")]
348 public class DBusNodeInfo {
349 public weak GLib.DBusAnnotationInfo annotations;
350 public weak GLib.DBusInterfaceInfo interfaces;
351 public weak GLib.DBusNodeInfo nodes;
352 public weak string path;
353 public int ref_count;
354 [CCode (has_construct_function = false)]
355 public DBusNodeInfo.for_xml (string xml_data) throws GLib.Error;
356 public void generate_xml (uint indent, GLib.StringBuilder string_builder);
357 public unowned GLib.DBusInterfaceInfo lookup_interface (string name);
360 [CCode (ref_function = "g_dbus_property_info_ref", unref_function = "g_dbus_property_info_unref", type_id = "G_TYPE_DBUS_PROPERTY_INFO", cheader_filename = "gio/gio.h")]
361 public class DBusPropertyInfo {
362 public weak GLib.DBusAnnotationInfo annotations;
363 public GLib.DBusPropertyInfoFlags flags;
364 public weak string name;
365 public int ref_count;
366 public weak string signature;
368 [CCode (cheader_filename = "gio/gio.h")]
369 public class DBusProxy : GLib.Object, GLib.Initable, GLib.AsyncInitable {
370 [CCode (type = "void", has_construct_function = false)]
371 public DBusProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
372 public void call (string method_name, GLib.Variant parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
373 public unowned GLib.Variant call_finish (GLib.AsyncResult res) throws GLib.Error;
374 public unowned GLib.Variant call_sync (string method_name, GLib.Variant parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable) throws GLib.Error;
375 [CCode (has_construct_function = false)]
376 public DBusProxy.finish (GLib.AsyncResult res) throws GLib.Error;
377 [CCode (type = "void", has_construct_function = false)]
378 public DBusProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
379 [CCode (has_construct_function = false)]
380 public DBusProxy.for_bus_finish (GLib.AsyncResult res) throws GLib.Error;
381 [CCode (has_construct_function = false)]
382 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) throws GLib.Error;
383 public unowned GLib.Variant get_cached_property (string property_name);
384 public unowned string get_cached_property_names ();
385 public unowned GLib.DBusConnection get_connection ();
386 public int get_default_timeout ();
387 public GLib.DBusProxyFlags get_flags ();
388 public unowned GLib.DBusInterfaceInfo get_interface_info ();
389 public unowned string get_interface_name ();
390 public unowned string get_name ();
391 public unowned string get_name_owner ();
392 public unowned string get_object_path ();
393 public void set_cached_property (string property_name, GLib.Variant value);
394 public void set_default_timeout (int timeout_msec);
395 public void set_interface_info (GLib.DBusInterfaceInfo info);
396 [CCode (has_construct_function = false)]
397 public DBusProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable) throws GLib.Error;
398 public GLib.BusType g_bus_type { construct; }
400 public GLib.DBusConnection g_connection { owned get; construct; }
402 public int g_default_timeout { get; set construct; }
404 public GLib.DBusProxyFlags g_flags { get; construct; }
406 public GLib.DBusInterfaceInfo g_interface_info { owned get; set; }
408 public string g_interface_name { owned get; construct; }
410 public string g_name { owned get; construct; }
412 public string g_name_owner { owned get; }
414 public string g_object_path { owned get; construct; }
415 public virtual signal void g_properties_changed (GLib.Variant changed_properties, string[] invalidated_properties);
416 public virtual signal void g_signal (string sender_name, string signal_name, GLib.Variant parameters);
418 [CCode (cheader_filename = "gio/gio.h")]
419 public class DBusServer : GLib.Object, GLib.Initable {
420 public unowned string get_client_address ();
421 public GLib.DBusServerFlags get_flags ();
422 public unowned string get_guid ();
423 public bool is_active ();
424 public void start ();
426 [CCode (has_construct_function = false)]
427 public DBusServer.sync (string address, GLib.DBusServerFlags flags, string guid, GLib.DBusAuthObserver observer, GLib.Cancellable? cancellable) throws GLib.Error;
429 public string active { owned get; }
431 public string address { owned get; construct; }
433 public GLib.DBusAuthObserver authentication_observer { owned get; construct; }
434 public string client_address { get; }
435 public GLib.DBusServerFlags flags { get; construct; }
436 public string guid { get; construct; }
437 public virtual signal void new_connection (GLib.DBusConnection connection);
440 [CCode (ref_function = "g_dbus_signal_info_ref", unref_function = "g_dbus_signal_info_unref", type_id = "G_TYPE_DBUS_SIGNAL_INFO", cheader_filename = "gio/gio.h")]
441 public class DBusSignalInfo {
442 public weak GLib.DBusAnnotationInfo annotations;
443 public weak GLib.DBusArgInfo args;
444 public weak string name;
445 public int ref_count;
448 [CCode (cheader_filename = "gio/gio.h")]
449 public class DBusSubtreeVTable {
450 public weak GLib.DBusSubtreeDispatchFunc dispatch;
451 public weak GLib.DBusSubtreeEnumerateFunc enumerate;
452 public weak GLib.DBusSubtreeIntrospectFunc introspect;
454 [CCode (cheader_filename = "gio/gio.h")]
455 public class DataInputStream : GLib.BufferedInputStream {
456 [CCode (has_construct_function = false)]
457 public DataInputStream (GLib.InputStream base_stream);
458 public GLib.DataStreamByteOrder get_byte_order ();
459 public GLib.DataStreamNewlineType get_newline_type ();
460 public uchar read_byte (GLib.Cancellable? cancellable) throws GLib.Error;
461 public int16 read_int16 (GLib.Cancellable? cancellable) throws GLib.Error;
462 public int32 read_int32 (GLib.Cancellable? cancellable) throws GLib.Error;
463 public int64 read_int64 (GLib.Cancellable? cancellable) throws GLib.Error;
464 public string? read_line (out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
465 public async string? read_line_async (int io_priority, GLib.Cancellable? cancellable, out size_t length) throws GLib.Error;
466 public string? read_line_finish (GLib.AsyncResult _result, out unowned size_t length) throws GLib.Error;
467 public uint16 read_uint16 (GLib.Cancellable? cancellable) throws GLib.Error;
468 public uint32 read_uint32 (GLib.Cancellable? cancellable) throws GLib.Error;
469 public uint64 read_uint64 (GLib.Cancellable? cancellable) throws GLib.Error;
470 public string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
471 public async string? read_until_async (string stop_chars, int io_priority, GLib.Cancellable? cancellable, out size_t length) throws GLib.Error;
472 public string? read_until_finish (GLib.AsyncResult _result, out unowned size_t length) throws GLib.Error;
473 public void set_byte_order (GLib.DataStreamByteOrder order);
474 public void set_newline_type (GLib.DataStreamNewlineType type);
475 public GLib.DataStreamByteOrder byte_order { get; set; }
476 public GLib.DataStreamNewlineType newline_type { get; set; }
478 [CCode (cheader_filename = "gio/gio.h")]
479 public class DataOutputStream : GLib.FilterOutputStream {
480 [CCode (has_construct_function = false)]
481 public DataOutputStream (GLib.OutputStream base_stream);
482 public GLib.DataStreamByteOrder get_byte_order ();
483 public bool put_byte (uchar data, GLib.Cancellable? cancellable) throws GLib.Error;
484 public bool put_int16 (int16 data, GLib.Cancellable? cancellable) throws GLib.Error;
485 public bool put_int32 (int32 data, GLib.Cancellable? cancellable) throws GLib.Error;
486 public bool put_int64 (int64 data, GLib.Cancellable? cancellable) throws GLib.Error;
487 public bool put_string (string str, GLib.Cancellable? cancellable) throws GLib.Error;
488 public bool put_uint16 (uint16 data, GLib.Cancellable? cancellable) throws GLib.Error;
489 public bool put_uint32 (uint32 data, GLib.Cancellable? cancellable) throws GLib.Error;
490 public bool put_uint64 (uint64 data, GLib.Cancellable? cancellable) throws GLib.Error;
491 public void set_byte_order (GLib.DataStreamByteOrder order);
492 public GLib.DataStreamByteOrder byte_order { get; set; }
494 [CCode (cheader_filename = "gio/gio.h")]
495 public class Emblem : GLib.Object, GLib.Icon {
496 [CCode (has_construct_function = false)]
497 public Emblem (GLib.Icon icon);
498 public unowned GLib.Icon get_icon ();
499 public GLib.EmblemOrigin get_origin ();
500 [CCode (has_construct_function = false)]
501 public Emblem.with_origin (GLib.Icon icon, GLib.EmblemOrigin origin);
502 public GLib.Object icon { get; construct; }
503 public GLib.EmblemOrigin origin { get; construct; }
506 [CCode (cheader_filename = "gio/gio.h")]
507 public class EmblemClass {
509 [CCode (cheader_filename = "gio/gio.h")]
510 public class EmblemedIcon : GLib.Object, GLib.Icon {
511 [CCode (type = "GIcon*", has_construct_function = false)]
512 public EmblemedIcon (GLib.Icon icon, GLib.Emblem emblem);
513 public void add_emblem (GLib.Emblem emblem);
514 public unowned GLib.List<GLib.Emblem> get_emblems ();
515 public unowned GLib.Icon get_icon ();
518 [CCode (cheader_filename = "gio/gio.h")]
519 public class EmblemedIconClass {
522 [CCode (cheader_filename = "gio/gio.h")]
523 public class FileAttributeInfo {
524 public GLib.FileAttributeInfoFlags flags;
525 public weak string name;
526 public GLib.FileAttributeType type;
529 [CCode (ref_function = "g_file_attribute_info_list_ref", unref_function = "g_file_attribute_info_list_unref", type_id = "G_TYPE_FILE_ATTRIBUTE_INFO_LIST", cheader_filename = "gio/gio.h")]
530 public class FileAttributeInfoList {
531 public weak GLib.FileAttributeInfo infos;
533 [CCode (has_construct_function = false)]
534 public FileAttributeInfoList ();
535 public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeInfoFlags flags);
536 public unowned GLib.FileAttributeInfoList dup ();
537 public unowned GLib.FileAttributeInfo lookup (string name);
540 [CCode (ref_function = "g_file_attribute_matcher_ref", unref_function = "g_file_attribute_matcher_unref", type_id = "G_TYPE_FILE_ATTRIBUTE_MATCHER", cheader_filename = "gio/gio.h")]
541 public class FileAttributeMatcher {
542 [CCode (has_construct_function = false)]
543 public FileAttributeMatcher (string attributes);
544 public bool enumerate_namespace (string ns);
545 public unowned string enumerate_next ();
546 public bool matches (string attribute);
547 public bool matches_only (string attribute);
549 [CCode (cheader_filename = "gio/gio.h")]
550 public class FileEnumerator : GLib.Object {
551 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
552 public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
553 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
555 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
556 public unowned GLib.File get_container ();
557 public bool has_pending ();
558 public bool is_closed ();
559 public virtual GLib.FileInfo next_file (GLib.Cancellable? cancellable) throws GLib.Error;
560 public virtual async GLib.List<GLib.FileInfo> next_files_async (int num_files, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
561 public virtual GLib.List<GLib.FileInfo> next_files_finish (GLib.AsyncResult _result) throws GLib.Error;
562 public void set_pending (bool pending);
563 public GLib.File container { construct; }
565 [CCode (cheader_filename = "gio/gio.h")]
566 public class FileIOStream : GLib.IOStream, GLib.Seekable {
568 public virtual bool can_seek ();
570 public virtual bool can_truncate ();
571 public virtual unowned string get_etag ();
572 public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
573 public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
574 public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
576 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
578 public virtual int64 tell ();
580 public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable) throws GLib.Error;
582 [CCode (cheader_filename = "gio/gio.h")]
583 public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
584 [CCode (type = "GIcon*", has_construct_function = false)]
585 public FileIcon (GLib.File file);
586 public unowned GLib.File get_file ();
587 public GLib.File file { get; construct; }
590 [CCode (cheader_filename = "gio/gio.h")]
591 public class FileIconClass {
593 [CCode (cheader_filename = "gio/gio.h")]
594 public class FileInfo : GLib.Object {
595 [CCode (has_construct_function = false)]
597 public void clear_status ();
598 public void copy_into (GLib.FileInfo dest_info);
599 public unowned GLib.FileInfo dup ();
600 public unowned string get_attribute_as_string (string attribute);
601 public bool get_attribute_boolean (string attribute);
602 public unowned string get_attribute_byte_string (string attribute);
603 public bool get_attribute_data (string attribute, GLib.FileAttributeType? type, void* value_pp, GLib.FileAttributeStatus? status);
604 public int32 get_attribute_int32 (string attribute);
605 public int64 get_attribute_int64 (string attribute);
606 public unowned GLib.Object get_attribute_object (string attribute);
607 public GLib.FileAttributeStatus get_attribute_status (string attribute);
608 public unowned string get_attribute_string (string attribute);
609 public unowned string get_attribute_stringv (string attribute);
610 public GLib.FileAttributeType get_attribute_type (string attribute);
611 public uint32 get_attribute_uint32 (string attribute);
612 public uint64 get_attribute_uint64 (string attribute);
613 public unowned string get_content_type ();
614 public unowned string get_display_name ();
615 public unowned string get_edit_name ();
616 public unowned string get_etag ();
617 public GLib.FileType get_file_type ();
618 public unowned GLib.Icon get_icon ();
619 public bool get_is_backup ();
620 public bool get_is_hidden ();
621 public bool get_is_symlink ();
622 public void get_modification_time (out GLib.TimeVal _result);
623 public unowned string get_name ();
624 public int64 get_size ();
625 public int32 get_sort_order ();
626 public unowned string get_symlink_target ();
627 public bool has_attribute (string attribute);
628 public bool has_namespace (string name_space);
629 public unowned string list_attributes (string name_space);
630 public void remove_attribute (string attribute);
631 public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p);
632 public void set_attribute_boolean (string attribute, bool attr_value);
633 public void set_attribute_byte_string (string attribute, string attr_value);
634 public void set_attribute_int32 (string attribute, int32 attr_value);
635 public void set_attribute_int64 (string attribute, int64 attr_value);
636 public void set_attribute_mask (GLib.FileAttributeMatcher mask);
637 public void set_attribute_object (string attribute, GLib.Object attr_value);
638 public bool set_attribute_status (string attribute, GLib.FileAttributeStatus status);
639 public void set_attribute_string (string attribute, string attr_value);
640 public void set_attribute_stringv (string attribute, out unowned string attr_value);
641 public void set_attribute_uint32 (string attribute, uint32 attr_value);
642 public void set_attribute_uint64 (string attribute, uint64 attr_value);
643 public void set_content_type (string content_type);
644 public void set_display_name (string display_name);
645 public void set_edit_name (string edit_name);
646 public void set_file_type (GLib.FileType type);
647 public void set_icon (GLib.Icon icon);
648 public void set_is_hidden (bool is_hidden);
649 public void set_is_symlink (bool is_symlink);
650 public void set_modification_time (GLib.TimeVal mtime);
651 public void set_name (string name);
652 public void set_size (int64 size);
653 public void set_sort_order (int32 sort_order);
654 public void set_symlink_target (string symlink_target);
655 public void unset_attribute_mask ();
658 [CCode (cheader_filename = "gio/gio.h")]
659 public class FileInfoClass {
661 [CCode (cheader_filename = "gio/gio.h")]
662 public class FileInputStream : GLib.InputStream, GLib.Seekable {
664 public virtual bool can_seek ();
665 public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
666 public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
667 public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
669 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
671 public virtual int64 tell ();
673 [CCode (cheader_filename = "gio/gio.h")]
674 public class FileMonitor : GLib.Object {
675 public virtual bool cancel ();
676 public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
677 public bool is_cancelled ();
678 public void set_rate_limit (int limit_msecs);
680 public bool cancelled { get; }
682 public int rate_limit { get; set; }
683 public virtual signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
685 [CCode (cheader_filename = "gio/gio.h")]
686 public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
688 public virtual bool can_seek ();
690 public virtual bool can_truncate ();
691 public virtual unowned string get_etag ();
692 public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
693 public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
694 public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
696 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
698 public virtual int64 tell ();
700 public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable) throws GLib.Error;
702 [CCode (cheader_filename = "gio/gio.h")]
703 public class FilenameCompleter : GLib.Object {
704 [CCode (has_construct_function = false)]
705 public FilenameCompleter ();
706 public unowned string get_completion_suffix (string initial_text);
707 public unowned string get_completions (string initial_text);
708 public void set_dirs_only (bool dirs_only);
709 public virtual signal void got_completion_data ();
711 [CCode (cheader_filename = "gio/gio.h")]
712 public class FilterInputStream : GLib.InputStream {
713 public unowned GLib.InputStream get_base_stream ();
714 public bool get_close_base_stream ();
715 public void set_close_base_stream (bool close_base);
716 public GLib.InputStream base_stream { get; construct; }
717 public bool close_base_stream { get; construct; }
719 [CCode (cheader_filename = "gio/gio.h")]
720 public class FilterOutputStream : GLib.OutputStream {
721 public unowned GLib.OutputStream get_base_stream ();
722 public bool get_close_base_stream ();
723 public void set_close_base_stream (bool close_base);
724 public GLib.OutputStream base_stream { get; construct; }
725 public bool close_base_stream { get; construct; }
728 [CCode (cheader_filename = "gio/gio.h")]
729 public class IOExtension {
730 public unowned string get_name ();
731 public int get_priority ();
732 public GLib.Type get_type ();
733 public unowned GLib.TypeClass ref_class ();
736 [CCode (cheader_filename = "gio/gio.h")]
737 public class IOExtensionPoint {
738 public unowned GLib.IOExtension get_extension_by_name (string name);
739 public unowned GLib.List<GLib.IOExtension> get_extensions ();
740 public GLib.Type get_required_type ();
741 public static unowned GLib.IOExtension implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
742 public static unowned GLib.IOExtensionPoint lookup (string name);
743 public static unowned GLib.IOExtensionPoint register (string name);
744 public void set_required_type (GLib.Type type);
746 [CCode (cheader_filename = "gio/gio.h")]
747 public class IOModule : GLib.TypeModule, GLib.TypePlugin {
748 [CCode (has_construct_function = false)]
749 public IOModule (string filename);
751 public static unowned string query ();
752 public void unload ();
755 [CCode (cheader_filename = "gio/gio.h")]
756 public class IOModuleClass {
759 [CCode (cheader_filename = "gio/gio.h")]
760 public class IOSchedulerJob {
761 public bool send_to_mainloop (GLib.SourceFunc func, GLib.DestroyNotify? notify);
762 public void send_to_mainloop_async (GLib.SourceFunc func, GLib.DestroyNotify? notify);
764 [CCode (cheader_filename = "gio/gio.h")]
765 public class IOStream : GLib.Object {
766 public void clear_pending ();
767 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
768 public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
769 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
771 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
772 public virtual unowned GLib.InputStream get_input_stream ();
773 public virtual unowned GLib.OutputStream get_output_stream ();
774 public bool has_pending ();
775 public bool is_closed ();
776 public bool set_pending () throws GLib.Error;
778 public bool closed { get; set; }
779 public GLib.InputStream input_stream { get; }
780 public GLib.OutputStream output_stream { get; }
782 [CCode (cheader_filename = "gio/gio.h")]
783 public class InetAddress : GLib.Object {
784 [CCode (has_construct_function = false)]
785 public InetAddress.any (GLib.SocketFamily family);
786 [CCode (has_construct_function = false)]
787 public InetAddress.from_bytes (uchar bytes, GLib.SocketFamily family);
788 [CCode (has_construct_function = false)]
789 public InetAddress.from_string (string str);
790 public GLib.SocketFamily get_family ();
791 public bool get_is_any ();
792 public bool get_is_link_local ();
793 public bool get_is_loopback ();
794 public bool get_is_mc_global ();
795 public bool get_is_mc_link_local ();
796 public bool get_is_mc_node_local ();
797 public bool get_is_mc_org_local ();
798 public bool get_is_mc_site_local ();
799 public bool get_is_multicast ();
800 public bool get_is_site_local ();
801 public size_t get_native_size ();
802 [CCode (has_construct_function = false)]
803 public InetAddress.loopback (GLib.SocketFamily family);
804 [CCode (array_length = false)]
805 public virtual unowned uint8[] to_bytes ();
806 public virtual string to_string ();
808 public void* bytes { get; construct; }
809 public GLib.SocketFamily family { get; construct; }
810 public bool is_any { get; }
811 public bool is_link_local { get; }
812 public bool is_loopback { get; }
813 public bool is_mc_global { get; }
814 public bool is_mc_link_local { get; }
815 public bool is_mc_node_local { get; }
816 public bool is_mc_org_local { get; }
817 public bool is_mc_site_local { get; }
818 public bool is_multicast { get; }
819 public bool is_site_local { get; }
821 [CCode (cheader_filename = "gio/gio.h")]
822 public class InetSocketAddress : GLib.SocketAddress, GLib.SocketConnectable {
823 [CCode (type = "GSocketAddress*", has_construct_function = false)]
824 public InetSocketAddress (GLib.InetAddress address, uint16 port);
825 public unowned GLib.InetAddress get_address ();
826 public uint16 get_port ();
827 public GLib.InetAddress address { get; construct; }
828 public uint port { get; construct; }
830 [CCode (cheader_filename = "gio/gio.h")]
831 public class InputStream : GLib.Object {
832 public void clear_pending ();
833 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
834 public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
835 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
837 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
838 public bool has_pending ();
839 public bool is_closed ();
840 public ssize_t read (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
841 public bool read_all (void* buffer, size_t count, out size_t bytes_read, GLib.Cancellable? cancellable) throws GLib.Error;
842 public virtual async ssize_t read_async (void* buffer, size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
843 public virtual ssize_t read_finish (GLib.AsyncResult _result) throws GLib.Error;
845 public virtual ssize_t read_fn (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
846 public bool set_pending () throws GLib.Error;
847 public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
848 public virtual async ssize_t skip_async (size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
849 public virtual ssize_t skip_finish (GLib.AsyncResult _result) throws GLib.Error;
852 [CCode (cheader_filename = "gio/gio.h")]
853 public class InputVector {
857 [CCode (cheader_filename = "gio/gio.h")]
858 public class MemoryInputStream : GLib.InputStream, GLib.Seekable {
859 [CCode (type = "GInputStream*", has_construct_function = false)]
860 public MemoryInputStream ();
861 public void add_data (void* data, ssize_t len, GLib.DestroyNotify? destroy);
862 [CCode (type = "GInputStream*", has_construct_function = false)]
863 public MemoryInputStream.from_data (void* data, ssize_t len, GLib.DestroyNotify? destroy);
865 [CCode (cheader_filename = "gio/gio.h")]
866 public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
867 [CCode (type = "GOutputStream*", has_construct_function = false)]
868 public MemoryOutputStream (void* data, size_t size, GLib.ReallocFunc realloc_function, GLib.DestroyNotify? destroy_function);
869 public void* get_data ();
870 public size_t get_data_size ();
871 public size_t get_size ();
872 public void* data { get; construct; }
873 public ulong data_size { get; }
875 public void* destroy_function { get; construct; }
877 public void* realloc_function { get; construct; }
878 public ulong size { get; construct; }
880 [CCode (cheader_filename = "gio/gio.h")]
881 public class MountOperation : GLib.Object {
882 [CCode (has_construct_function = false)]
883 public MountOperation ();
884 public bool get_anonymous ();
885 public int get_choice ();
886 public unowned string get_domain ();
887 public unowned string get_password ();
888 public GLib.PasswordSave get_password_save ();
889 public unowned string get_username ();
890 public void set_anonymous (bool anonymous);
891 public void set_choice (int choice);
892 public void set_domain (string domain);
893 public void set_password (string password);
894 public void set_password_save (GLib.PasswordSave save);
895 public void set_username (string username);
896 public bool anonymous { get; set; }
897 public int choice { get; set; }
898 public string domain { get; set; }
899 public string password { get; set; }
900 public GLib.PasswordSave password_save { get; set; }
901 public string username { get; set; }
902 public virtual signal void aborted ();
903 public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
904 public virtual signal void ask_question (string message, string[] choices);
906 public virtual signal void reply (GLib.MountOperationResult result);
907 public virtual signal void show_processes (string message, GLib.Array processes, string[] choices);
909 [CCode (cheader_filename = "gio/gio.h")]
910 public class NativeVolumeMonitor : GLib.VolumeMonitor {
912 public virtual unowned GLib.Mount get_mount_for_mount_path (string mount_path, GLib.Cancellable? cancellable);
914 [CCode (cheader_filename = "gio/gio.h")]
915 public class NetworkAddress : GLib.Object, GLib.SocketConnectable {
916 [CCode (type = "GSocketConnectable*", has_construct_function = false)]
917 public NetworkAddress (string hostname, uint16 port);
918 public unowned string get_hostname ();
919 public uint16 get_port ();
920 public static unowned GLib.SocketConnectable parse (string host_and_port, uint16 default_port) throws GLib.Error;
921 public string hostname { get; construct; }
922 public uint port { get; construct; }
924 [CCode (cheader_filename = "gio/gio.h")]
925 public class NetworkService : GLib.Object, GLib.SocketConnectable {
926 [CCode (type = "GSocketConnectable*", has_construct_function = false)]
927 public NetworkService (string service, string protocol, string domain);
928 public unowned string get_domain ();
929 public unowned string get_protocol ();
930 public unowned string get_service ();
931 public string domain { get; construct; }
932 public string protocol { get; construct; }
933 public string service { get; construct; }
935 [CCode (cheader_filename = "gio/gio.h")]
936 public class OutputStream : GLib.Object {
937 public void clear_pending ();
938 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
939 public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
940 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
942 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
943 public virtual bool flush (GLib.Cancellable? cancellable) throws GLib.Error;
944 public virtual async bool flush_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
945 public virtual bool flush_finish (GLib.AsyncResult _result) throws GLib.Error;
946 public bool has_pending ();
947 public bool is_closed ();
948 public bool is_closing ();
949 public bool set_pending () throws GLib.Error;
950 public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
951 public virtual async ssize_t splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
952 public virtual ssize_t splice_finish (GLib.AsyncResult _result) throws GLib.Error;
953 public ssize_t write (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
954 public bool write_all (void* buffer, size_t count, out size_t bytes_written, GLib.Cancellable? cancellable) throws GLib.Error;
955 public virtual async ssize_t write_async (void* buffer, size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
956 public virtual ssize_t write_finish (GLib.AsyncResult _result) throws GLib.Error;
958 public virtual ssize_t write_fn (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
961 [CCode (cheader_filename = "gio/gio.h")]
962 public class OutputVector {
966 [CCode (cheader_filename = "gio/gio.h")]
967 public class Permission : GLib.Object {
968 public virtual bool acquire (GLib.Cancellable? cancellable) throws GLib.Error;
969 public virtual async bool acquire_async (GLib.Cancellable? cancellable) throws GLib.Error;
970 public virtual bool acquire_finish (GLib.AsyncResult _result) throws GLib.Error;
971 public bool get_allowed ();
972 public bool get_can_acquire ();
973 public bool get_can_release ();
974 public void impl_update (bool allowed, bool can_acquire, bool can_release);
975 public virtual bool release (GLib.Cancellable? cancellable) throws GLib.Error;
976 public virtual async bool release_async (GLib.Cancellable? cancellable) throws GLib.Error;
977 public virtual bool release_finish (GLib.AsyncResult _result) throws GLib.Error;
978 public bool allowed { get; }
979 public bool can_acquire { get; }
980 public bool can_release { get; }
982 [CCode (cheader_filename = "gio/gio.h")]
983 public class Resolver : GLib.Object {
984 public static GLib.Quark error_quark ();
985 public static unowned GLib.Resolver get_default ();
986 public virtual unowned string lookup_by_address (GLib.InetAddress address, GLib.Cancellable? cancellable) throws GLib.Error;
987 public virtual async unowned string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable) throws GLib.Error;
988 public virtual unowned string lookup_by_address_finish (GLib.AsyncResult _result) throws GLib.Error;
989 public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable) throws GLib.Error;
990 public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable) throws GLib.Error;
991 public virtual GLib.List<GLib.InetAddress> lookup_by_name_finish (GLib.AsyncResult _result) throws GLib.Error;
992 public virtual GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable) throws GLib.Error;
993 public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable) throws GLib.Error;
994 public virtual GLib.List<GLib.SrvTarget> lookup_service_finish (GLib.AsyncResult _result) throws GLib.Error;
995 public void set_default ();
996 public virtual signal void reload ();
998 [CCode (cheader_filename = "gio/gio.h")]
999 public class Settings : GLib.Object {
1000 [CCode (has_construct_function = false)]
1001 public Settings (string schema);
1002 public void apply ();
1003 public void bind (string key, void* object, string property, GLib.SettingsBindFlags flags);
1004 public void bind_with_mapping (string key, void* object, string property, GLib.SettingsBindFlags flags, GLib.SettingsBindGetMapping get_mapping, GLib.SettingsBindSetMapping set_mapping, GLib.DestroyNotify destroy);
1005 public void bind_writable (string key, void* object, string property, bool inverted);
1006 public void delay ();
1007 public void @get (string key, string format);
1008 public bool get_boolean (string key);
1009 public unowned GLib.Settings get_child (string name);
1010 public double get_double (string key);
1011 public int get_enum (string key);
1012 public bool get_has_unapplied ();
1013 public int get_int (string key);
1014 public unowned string get_string (string key);
1015 public unowned string get_strv (string key);
1016 public GLib.Variant get_value (string key);
1017 public bool is_writable (string name);
1018 public void revert ();
1019 public bool @set (string key, string format);
1020 public bool set_boolean (string key, bool value);
1021 public bool set_double (string key, double value);
1022 public bool set_enum (string key, int value);
1023 public bool set_int (string key, int value);
1024 public bool set_string (string key, string value);
1025 public bool set_strv (string key, string value);
1026 public bool set_value (string key, GLib.Variant value);
1027 public static void sync ();
1028 public static void unbind (void* object, string property);
1029 [CCode (has_construct_function = false)]
1030 public Settings.with_backend (string schema, GLib.SettingsBackend backend);
1031 [CCode (has_construct_function = false)]
1032 public Settings.with_backend_and_path (string schema, GLib.SettingsBackend backend, string path);
1033 [CCode (has_construct_function = false)]
1034 public Settings.with_path (string schema, string path);
1036 public GLib.SettingsBackend backend { owned get; construct; }
1037 public bool has_unapplied { get; }
1039 public string path { owned get; construct; }
1041 public string schema { owned get; construct; }
1042 public virtual signal bool change_event (void* keys, int n_keys);
1043 public virtual signal void changed (string key);
1044 public virtual signal bool writable_change_event (uint key);
1045 public virtual signal void writable_changed (string key);
1047 [CCode (cheader_filename = "gio/gio.h")]
1048 public class SettingsBackend : GLib.Object {
1049 public void changed_tree (GLib.Tree tree, void* origin_tag);
1050 public static void flatten_tree (GLib.Tree tree, string path, string keys, out unowned GLib.Variant values);
1052 public virtual unowned GLib.Permission get_permission (string path);
1054 public virtual bool get_writable (string key);
1055 public void keys_changed (string path, string items, void* origin_tag);
1057 public virtual unowned string list (string path, string[] resets, size_t length);
1058 public void path_changed (string path, void* origin_tag);
1059 public void path_writable_changed (string path);
1061 public virtual GLib.Variant read (string key, GLib.VariantType expected_type, bool default_value);
1063 public virtual void reset (string key, void* origin_tag);
1065 public virtual void reset_path (string path, void* origin_tag);
1067 public virtual void subscribe (string name);
1069 public virtual void sync ();
1071 public virtual void unsubscribe (string name);
1072 public void writable_changed (string key);
1074 public virtual bool write (string key, GLib.Variant value, void* origin_tag);
1076 public virtual bool write_keys (GLib.Tree tree, void* origin_tag);
1078 [CCode (cheader_filename = "gio/gio.h")]
1079 public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
1080 [CCode (has_construct_function = false)]
1081 public SimpleAsyncResult (GLib.Object? source_object, GLib.AsyncReadyCallback callback, void* source_tag);
1082 public void complete ();
1083 public void complete_in_idle ();
1084 [CCode (has_construct_function = false)]
1085 public SimpleAsyncResult.error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
1086 [CCode (has_construct_function = false)]
1087 public SimpleAsyncResult.from_error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Error error);
1088 public bool get_op_res_gboolean ();
1089 public void* get_op_res_gpointer ();
1090 public ssize_t get_op_res_gssize ();
1091 public void* get_source_tag ();
1092 public static bool is_valid (GLib.AsyncResult _result, GLib.Object source, void* source_tag);
1093 public bool propagate_error () throws GLib.Error;
1094 public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable? cancellable);
1095 public void set_error (GLib.Quark domain, int code, string format);
1096 public void set_error_va (GLib.Quark domain, int code, string format, void* args);
1097 public void set_from_error (GLib.Error error);
1098 public void set_handle_cancellation (bool handle_cancellation);
1099 public void set_op_res_gboolean (bool op_res);
1100 public void set_op_res_gpointer (void* op_res, GLib.DestroyNotify destroy_op_res);
1101 public void set_op_res_gssize (ssize_t op_res);
1104 [CCode (cheader_filename = "gio/gio.h")]
1105 public class SimpleAsyncResultClass {
1107 [CCode (cheader_filename = "gio/gio.h")]
1108 public class SimplePermission : GLib.Permission {
1109 [CCode (type = "GPermission*", has_construct_function = false)]
1110 public SimplePermission (bool allowed);
1112 [CCode (cheader_filename = "gio/gio.h")]
1113 public class Socket : GLib.Object, GLib.Initable {
1114 [CCode (has_construct_function = false)]
1115 public Socket (GLib.SocketFamily family, GLib.SocketType type, GLib.SocketProtocol protocol) throws GLib.Error;
1116 public unowned GLib.Socket accept (GLib.Cancellable? cancellable) throws GLib.Error;
1117 public bool bind (GLib.SocketAddress address, bool allow_reuse) throws GLib.Error;
1118 public bool check_connect_result () throws GLib.Error;
1119 public bool close () throws GLib.Error;
1120 public GLib.IOCondition condition_check (GLib.IOCondition condition);
1121 public bool condition_wait (GLib.IOCondition condition, GLib.Cancellable? cancellable) throws GLib.Error;
1122 public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable) throws GLib.Error;
1123 public GLib.SocketSource create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable);
1124 [CCode (has_construct_function = false)]
1125 public Socket.from_fd (int fd) throws GLib.Error;
1126 public bool get_blocking ();
1127 public GLib.SocketFamily get_family ();
1128 public int get_fd ();
1129 public bool get_keepalive ();
1130 public int get_listen_backlog ();
1131 public unowned GLib.SocketAddress get_local_address () throws GLib.Error;
1132 public GLib.SocketProtocol get_protocol ();
1133 public unowned GLib.SocketAddress get_remote_address () throws GLib.Error;
1134 public GLib.SocketType get_socket_type ();
1135 public uint get_timeout ();
1136 public bool is_closed ();
1137 public bool is_connected ();
1138 public bool listen () throws GLib.Error;
1139 public ssize_t receive (string buffer, size_t size, GLib.Cancellable? cancellable) throws GLib.Error;
1140 public ssize_t receive_from (out unowned GLib.SocketAddress address, string buffer, size_t size, GLib.Cancellable? cancellable) throws GLib.Error;
1141 public ssize_t receive_message (out unowned GLib.SocketAddress address, GLib.InputVector vectors, int num_vectors, out unowned GLib.SocketControlMessage messages, int num_messages, int flags, GLib.Cancellable? cancellable) throws GLib.Error;
1142 public ssize_t send (string buffer, size_t size, GLib.Cancellable? cancellable) throws GLib.Error;
1143 public ssize_t send_message (GLib.SocketAddress address, GLib.OutputVector vectors, int num_vectors, out unowned GLib.SocketControlMessage messages, int num_messages, int flags, GLib.Cancellable? cancellable) throws GLib.Error;
1144 public ssize_t send_to (GLib.SocketAddress address, string buffer, size_t size, GLib.Cancellable? cancellable) throws GLib.Error;
1145 public void set_blocking (bool blocking);
1146 public void set_keepalive (bool keepalive);
1147 public void set_listen_backlog (int backlog);
1148 public void set_timeout (uint timeout);
1149 public bool shutdown (bool shutdown_read, bool shutdown_write) throws GLib.Error;
1150 public bool speaks_ipv4 ();
1151 public bool blocking { get; set; }
1152 public GLib.SocketFamily family { get; construct; }
1153 public int fd { get; construct; }
1154 public bool keepalive { get; set; }
1155 public int listen_backlog { get; set; }
1156 public GLib.SocketAddress local_address { get; }
1157 public GLib.SocketProtocol protocol { get; construct; }
1158 public GLib.SocketAddress remote_address { get; }
1159 public uint timeout { get; set; }
1161 public GLib.SocketType type { get; construct; }
1163 [CCode (cheader_filename = "gio/gio.h")]
1164 public class SocketAddress : GLib.Object, GLib.SocketConnectable {
1165 [CCode (has_construct_function = false)]
1166 public SocketAddress.from_native (void* native, size_t len);
1167 public virtual GLib.SocketFamily get_family ();
1168 public virtual ssize_t get_native_size ();
1169 public virtual bool to_native (void* dest, size_t destlen) throws GLib.Error;
1170 public GLib.SocketFamily family { get; }
1172 [CCode (cheader_filename = "gio/gio.h")]
1173 public class SocketAddressEnumerator : GLib.Object {
1174 public virtual unowned GLib.SocketAddress next (GLib.Cancellable? cancellable) throws GLib.Error;
1175 public virtual async unowned GLib.SocketAddress next_async (GLib.Cancellable? cancellable) throws GLib.Error;
1176 public virtual unowned GLib.SocketAddress next_finish (GLib.AsyncResult _result) throws GLib.Error;
1178 [CCode (cheader_filename = "gio/gio.h")]
1179 public class SocketClient : GLib.Object {
1180 [CCode (has_construct_function = false)]
1181 public SocketClient ();
1182 public unowned GLib.SocketConnection connect (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable) throws GLib.Error;
1183 public async unowned GLib.SocketConnection connect_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable) throws GLib.Error;
1184 public unowned GLib.SocketConnection connect_finish (GLib.AsyncResult _result) throws GLib.Error;
1185 public unowned GLib.SocketConnection connect_to_host (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable) throws GLib.Error;
1186 public async unowned GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable) throws GLib.Error;
1187 public unowned GLib.SocketConnection connect_to_host_finish (GLib.AsyncResult _result) throws GLib.Error;
1188 public unowned GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable) throws GLib.Error;
1189 public async unowned GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable) throws GLib.Error;
1190 public unowned GLib.SocketConnection connect_to_service_finish (GLib.AsyncResult _result) throws GLib.Error;
1191 public GLib.SocketFamily get_family ();
1192 public unowned GLib.SocketAddress get_local_address ();
1193 public GLib.SocketProtocol get_protocol ();
1194 public GLib.SocketType get_socket_type ();
1195 public void set_family (GLib.SocketFamily family);
1196 public void set_local_address (GLib.SocketAddress address);
1197 public void set_protocol (GLib.SocketProtocol protocol);
1198 public void set_socket_type (GLib.SocketType type);
1199 public GLib.SocketFamily family { get; set construct; }
1200 public GLib.SocketAddress local_address { get; set construct; }
1201 public GLib.SocketProtocol protocol { get; set construct; }
1203 public GLib.SocketType type { get; set construct; }
1205 [CCode (cheader_filename = "gio/gio.h")]
1206 public class SocketConnection : GLib.IOStream {
1207 public static unowned GLib.SocketConnection factory_create_connection (GLib.Socket socket);
1208 public static GLib.Type factory_lookup_type (GLib.SocketFamily family, GLib.SocketType type, int protocol_id);
1209 public static void factory_register_type (GLib.Type g_type, GLib.SocketFamily family, GLib.SocketType type, int protocol);
1210 public unowned GLib.SocketAddress get_local_address () throws GLib.Error;
1211 public unowned GLib.SocketAddress get_remote_address () throws GLib.Error;
1212 public unowned GLib.Socket get_socket ();
1213 public GLib.Socket socket { get; construct; }
1215 [CCode (cheader_filename = "gio/gio.h")]
1216 public class SocketControlMessage : GLib.Object {
1217 public virtual unowned GLib.SocketControlMessage deserialize (int level, int type, size_t size, void* data);
1218 public virtual int get_level ();
1219 public int get_msg_type ();
1220 public virtual size_t get_size ();
1222 public virtual int get_type ();
1223 public virtual void serialize (void* data);
1225 [CCode (cheader_filename = "gio/gio.h")]
1226 public class SocketListener : GLib.Object {
1227 [CCode (has_construct_function = false)]
1228 public SocketListener ();
1229 public unowned GLib.SocketConnection accept (out unowned GLib.Object source_object, GLib.Cancellable? cancellable) throws GLib.Error;
1230 public async unowned GLib.SocketConnection accept_async (GLib.Cancellable? cancellable, out unowned GLib.Object source_object) throws GLib.Error;
1231 public unowned GLib.SocketConnection accept_finish (GLib.AsyncResult _result, out unowned GLib.Object source_object) throws GLib.Error;
1232 public unowned GLib.Socket accept_socket (out unowned GLib.Object source_object, GLib.Cancellable? cancellable) throws GLib.Error;
1233 public async unowned GLib.Socket accept_socket_async (GLib.Cancellable? cancellable, out unowned GLib.Object source_object) throws GLib.Error;
1234 public unowned GLib.Socket accept_socket_finish (GLib.AsyncResult _result, out unowned GLib.Object source_object) throws GLib.Error;
1235 public bool add_address (GLib.SocketAddress address, GLib.SocketType type, GLib.SocketProtocol protocol, GLib.Object? source_object, out unowned GLib.SocketAddress effective_address) throws GLib.Error;
1236 public uint16 add_any_inet_port (GLib.Object source_object) throws GLib.Error;
1237 public bool add_inet_port (uint16 port, GLib.Object? source_object) throws GLib.Error;
1238 public bool add_socket (GLib.Socket socket, GLib.Object? source_object) throws GLib.Error;
1240 public virtual void changed ();
1241 public void close ();
1242 public void set_backlog (int listen_backlog);
1244 public int listen_backlog { get; set construct; }
1246 [CCode (cheader_filename = "gio/gio.h")]
1247 public class SocketService : GLib.SocketListener {
1248 [CCode (has_construct_function = false)]
1249 public SocketService ();
1250 public bool is_active ();
1251 public void start ();
1252 public void stop ();
1253 public virtual signal bool incoming (GLib.SocketConnection connection, GLib.Object? source_object);
1256 [CCode (cname = "GSource", cheader_filename = "gio/gio.h")]
1257 public class SocketSource : GLib.Source {
1258 [CCode (cname = "g_source_set_callback")]
1259 public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.SocketSourceFunc func);
1262 [CCode (copy_function = "g_srv_target_copy", type_id = "G_TYPE_SRV_TARGET", cheader_filename = "gio/gio.h")]
1263 public class SrvTarget {
1264 [CCode (has_construct_function = false)]
1265 public SrvTarget (string hostname, uint16 port, uint16 priority, uint16 weight);
1266 public GLib.SrvTarget copy ();
1267 public unowned string get_hostname ();
1268 public uint16 get_port ();
1269 public uint16 get_priority ();
1270 public uint16 get_weight ();
1271 public static GLib.List<GLib.SrvTarget> list_sort (owned GLib.List<GLib.SrvTarget> targets);
1273 [CCode (cheader_filename = "gio/gio.h")]
1274 public class TcpConnection : GLib.SocketConnection {
1275 public bool get_graceful_disconnect ();
1276 public void set_graceful_disconnect (bool graceful_disconnect);
1277 public bool graceful_disconnect { get; set; }
1279 [CCode (cheader_filename = "gio/gio.h")]
1280 public class ThemedIcon : GLib.Object, GLib.Icon {
1281 [CCode (type = "GIcon*", has_construct_function = false)]
1282 public ThemedIcon (string iconname);
1283 public void append_name (string iconname);
1284 [CCode (type = "GIcon*", has_construct_function = false)]
1285 public ThemedIcon.from_names (string[] iconnames);
1286 [CCode (array_length = false)]
1287 public unowned string[] get_names ();
1288 public void prepend_name (string iconname);
1289 [CCode (type = "GIcon*", has_construct_function = false)]
1290 public ThemedIcon.with_default_fallbacks (string iconname);
1291 public string name { construct; }
1292 [CCode (array_length = false, array_null_terminated = true)]
1293 public string[] names { get; construct; }
1295 public bool use_default_fallbacks { get; construct; }
1298 [CCode (cheader_filename = "gio/gio.h")]
1299 public class ThemedIconClass {
1301 [CCode (cheader_filename = "gio/gio.h")]
1302 public class ThreadedSocketService : GLib.SocketService {
1303 [CCode (type = "GSocketService*", has_construct_function = false)]
1304 public ThreadedSocketService (int max_threads);
1306 public int max_threads { get; construct; }
1307 public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
1310 [CCode (cheader_filename = "gio/gio.h")]
1311 public class UnixCredentialsMessage {
1314 [CCode (cheader_filename = "gio/gio.h")]
1315 public class UnixFDList {
1317 [CCode (cheader_filename = "gio/gio.h")]
1318 public class Vfs : GLib.Object {
1320 public virtual void add_writable_namespaces (GLib.FileAttributeInfoList list);
1321 public static unowned GLib.Vfs get_default ();
1322 public virtual GLib.File get_file_for_path (string path);
1323 public virtual GLib.File get_file_for_uri (string uri);
1324 public static unowned GLib.Vfs get_local ();
1325 public virtual unowned string[] get_supported_uri_schemes ();
1326 public virtual bool is_active ();
1328 public virtual void local_file_add_info (string filename, uint64 device, GLib.FileAttributeMatcher attribute_matcher, GLib.FileInfo info, GLib.Cancellable? cancellable, void* extra_data, GLib.DestroyNotify free_extra_data);
1330 public virtual void local_file_moved (string source, string dest);
1332 public virtual void local_file_removed (string filename);
1334 public virtual bool local_file_set_attributes (string filename, GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1335 public virtual unowned GLib.File parse_name (string parse_name);
1337 [CCode (cheader_filename = "gio/gio.h")]
1338 public class VolumeMonitor : GLib.Object {
1339 public virtual unowned GLib.Volume adopt_orphan_mount (GLib.Mount mount);
1340 public static GLib.VolumeMonitor @get ();
1341 public virtual GLib.List<GLib.Drive> get_connected_drives ();
1342 public virtual GLib.Mount get_mount_for_uuid (string uuid);
1343 public virtual GLib.List<GLib.Mount> get_mounts ();
1344 public virtual GLib.Volume get_volume_for_uuid (string uuid);
1345 public virtual GLib.List<GLib.Volume> get_volumes ();
1347 public virtual bool is_supported ();
1348 public virtual signal void drive_changed (GLib.Drive drive);
1349 public virtual signal void drive_connected (GLib.Drive drive);
1350 public virtual signal void drive_disconnected (GLib.Drive drive);
1351 public virtual signal void drive_eject_button (GLib.Drive drive);
1352 public virtual signal void drive_stop_button (GLib.Drive drive);
1353 public virtual signal void mount_added (GLib.Mount mount);
1354 public virtual signal void mount_changed (GLib.Mount mount);
1355 public virtual signal void mount_pre_unmount (GLib.Mount mount);
1356 public virtual signal void mount_removed (GLib.Mount mount);
1357 public virtual signal void volume_added (GLib.Volume volume);
1358 public virtual signal void volume_changed (GLib.Volume volume);
1359 public virtual signal void volume_removed (GLib.Volume volume);
1361 [CCode (cheader_filename = "gio/gio.h")]
1362 public class ZlibCompressor : GLib.Object, GLib.Converter {
1363 [CCode (has_construct_function = false)]
1364 public ZlibCompressor (GLib.ZlibCompressorFormat format, int level = -1);
1366 public GLib.ZlibCompressorFormat format { get; construct; }
1368 public int level { get; construct; }
1370 [CCode (cheader_filename = "gio/gio.h")]
1371 public class ZlibDecompressor : GLib.Object, GLib.Converter {
1372 [CCode (has_construct_function = false)]
1373 public ZlibDecompressor (GLib.ZlibCompressorFormat format);
1375 public GLib.ZlibCompressorFormat format { get; construct; }
1377 [CCode (cheader_filename = "gio/gio.h")]
1378 public interface AppInfo : GLib.Object {
1379 public abstract bool add_supports_type (string content_type) throws GLib.Error;
1380 public abstract bool can_delete ();
1381 public abstract bool can_remove_supports_type ();
1382 public static unowned GLib.AppInfo create_from_commandline (string commandline, string application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
1383 public bool @delete ();
1385 public abstract bool do_delete ();
1386 public abstract unowned GLib.AppInfo dup ();
1387 public abstract bool equal (GLib.AppInfo appinfo2);
1388 public static GLib.List<GLib.AppInfo> get_all ();
1389 public static GLib.List<GLib.AppInfo> get_all_for_type (string content_type);
1390 public abstract unowned string get_commandline ();
1391 public static unowned GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
1392 public static unowned GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
1393 public abstract unowned string get_description ();
1394 public abstract unowned string get_display_name ();
1395 public abstract unowned string get_executable ();
1396 public abstract unowned GLib.Icon get_icon ();
1397 public abstract unowned string get_id ();
1398 public abstract unowned string get_name ();
1399 public abstract bool launch (GLib.List<GLib.File>? files, GLib.AppLaunchContext? launch_context) throws GLib.Error;
1400 public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
1401 public abstract bool launch_uris (GLib.List<string>? uris, GLib.AppLaunchContext launch_context) throws GLib.Error;
1402 public abstract bool remove_supports_type (string content_type) throws GLib.Error;
1403 public static void reset_type_associations (string content_type);
1404 public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
1405 public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
1406 public abstract bool should_show ();
1407 public abstract bool supports_files ();
1408 public abstract bool supports_uris ();
1410 [CCode (cheader_filename = "gio/gio.h")]
1411 public interface AsyncInitable : GLib.Object {
1412 public abstract async bool init_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1413 public abstract bool init_finish (GLib.AsyncResult res) throws GLib.Error;
1414 public static async unowned GLib.Object new_async (GLib.Type object_type, int io_priority, GLib.Cancellable? cancellable, ...) throws GLib.Error;
1415 public unowned GLib.Object new_finish (GLib.AsyncResult res) throws GLib.Error;
1416 public static async void new_valist_async (GLib.Type object_type, string first_property_name, void* var_args, int io_priority, GLib.Cancellable? cancellable);
1417 public static async void newv_async (GLib.Type object_type, uint n_parameters, GLib.Parameter parameters, int io_priority, GLib.Cancellable? cancellable);
1419 [CCode (cheader_filename = "gio/gio.h")]
1420 public interface AsyncResult : GLib.Object {
1421 public abstract unowned GLib.Object get_source_object ();
1422 public abstract void* get_user_data ();
1424 [CCode (cheader_filename = "gio/gio.h")]
1425 public interface Converter : GLib.Object {
1426 public abstract GLib.ConverterResult convert (void* inbuf, size_t inbuf_size, void* outbuf, size_t outbuf_size, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error;
1427 public abstract void reset ();
1429 [CCode (cheader_filename = "gio/gio.h")]
1430 public interface Drive : GLib.Object {
1431 public abstract bool can_eject ();
1432 public abstract bool can_poll_for_media ();
1433 public abstract bool can_start ();
1434 public abstract bool can_start_degraded ();
1435 public abstract bool can_stop ();
1436 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1437 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
1438 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1439 public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1440 public abstract unowned string enumerate_identifiers ();
1441 public abstract unowned GLib.Icon get_icon ();
1442 public abstract unowned string get_identifier (string kind);
1443 public abstract unowned string get_name ();
1444 public abstract GLib.DriveStartStopType get_start_stop_type ();
1445 public abstract GLib.List<GLib.Volume> get_volumes ();
1446 public abstract bool has_media ();
1447 public abstract bool has_volumes ();
1448 public abstract bool is_media_check_automatic ();
1449 public abstract bool is_media_removable ();
1450 public abstract async bool poll_for_media (GLib.Cancellable? cancellable) throws GLib.Error;
1451 public abstract bool poll_for_media_finish (GLib.AsyncResult _result) throws GLib.Error;
1452 public abstract async bool start (GLib.DriveStartFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1453 public abstract bool start_finish (GLib.AsyncResult _result) throws GLib.Error;
1454 public abstract async bool stop (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1455 public abstract bool stop_finish (GLib.AsyncResult _result) throws GLib.Error;
1456 public signal void changed ();
1457 public signal void disconnected ();
1458 public signal void eject_button ();
1459 public signal void stop_button ();
1461 [CCode (cheader_filename = "gio/gio.h")]
1462 public interface File : GLib.Object {
1463 public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1464 public abstract async GLib.FileOutputStream append_to_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1465 public abstract GLib.FileOutputStream append_to_finish (GLib.AsyncResult res) throws GLib.Error;
1466 public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
1467 public abstract async bool copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
1468 public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1469 public abstract bool copy_finish (GLib.AsyncResult res) throws GLib.Error;
1470 public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1471 public abstract async GLib.FileOutputStream create_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1472 public abstract GLib.FileOutputStream create_finish (GLib.AsyncResult res) throws GLib.Error;
1473 public abstract unowned GLib.FileIOStream create_readwrite (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1474 public abstract async unowned GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1475 public abstract unowned GLib.FileIOStream create_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
1476 public bool @delete (GLib.Cancellable? cancellable) throws GLib.Error;
1478 public abstract bool delete_file (GLib.Cancellable? cancellable) throws GLib.Error;
1479 public abstract unowned GLib.File dup ();
1480 public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1481 public abstract bool eject_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1482 public abstract async bool eject_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1483 public abstract bool eject_mountable_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1484 public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1485 public abstract async GLib.FileEnumerator enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1486 public abstract GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
1487 public abstract bool equal (GLib.File file2);
1488 public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable) throws GLib.Error;
1489 public abstract async GLib.Mount find_enclosing_mount_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1490 public abstract GLib.Mount find_enclosing_mount_finish (GLib.AsyncResult res) throws GLib.Error;
1491 public abstract string? get_basename ();
1492 public GLib.File get_child (string name);
1493 public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
1494 public abstract GLib.File? get_parent ();
1495 public abstract string get_parse_name ();
1496 public abstract string? get_path ();
1497 public abstract string? get_relative_path (GLib.File descendant);
1498 public abstract string get_uri ();
1499 public abstract string get_uri_scheme ();
1500 public bool has_parent (GLib.File? parent);
1501 public bool has_prefix (GLib.File prefix);
1502 public abstract bool has_uri_scheme (string uri_scheme);
1503 public abstract uint hash ();
1504 public abstract bool is_native ();
1505 public bool load_contents (GLib.Cancellable? cancellable, out string contents, out size_t length, out string etag_out) throws GLib.Error;
1506 public async bool load_contents_async (GLib.Cancellable? cancellable, out string contents, out size_t length, out string etag_out) throws GLib.Error;
1507 public bool load_contents_finish (GLib.AsyncResult res, out string contents, out unowned size_t length, out string etag_out) throws GLib.Error;
1508 public async bool load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, out string contents, out size_t length, out string etag_out) throws GLib.Error;
1509 public bool load_partial_contents_finish (GLib.AsyncResult res, out string contents, out unowned size_t length, out string etag_out) throws GLib.Error;
1510 public abstract bool make_directory (GLib.Cancellable? cancellable) throws GLib.Error;
1511 public bool make_directory_with_parents (GLib.Cancellable? cancellable) throws GLib.Error;
1512 public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable) throws GLib.Error;
1513 public unowned GLib.FileMonitor monitor (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1514 [CCode (vfunc_name = "monitor_dir")]
1515 public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1516 public abstract GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
1517 public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1518 public abstract bool mount_enclosing_volume_finish (GLib.AsyncResult _result) throws GLib.Error;
1519 public abstract async unowned GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1520 public abstract unowned GLib.File mount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1521 public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
1522 public static GLib.File new_for_commandline_arg (string arg);
1523 public static GLib.File new_for_path (string path);
1524 public static GLib.File new_for_uri (string uri);
1525 public abstract unowned GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable) throws GLib.Error;
1526 public abstract async unowned GLib.FileIOStream open_readwrite_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1527 public abstract unowned GLib.FileIOStream open_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
1528 public static unowned GLib.File parse_name (string parse_name);
1529 public abstract async bool poll_mountable (GLib.Cancellable? cancellable) throws GLib.Error;
1530 public abstract bool poll_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1532 public abstract bool prefix_matches (GLib.File file);
1533 public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable) throws GLib.Error;
1534 public bool query_exists (GLib.Cancellable? cancellable);
1535 public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable);
1536 public abstract unowned GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
1537 public abstract async unowned GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1538 public abstract unowned GLib.FileInfo query_filesystem_info_finish (GLib.AsyncResult res) throws GLib.Error;
1539 public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1540 public abstract async GLib.FileInfo query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1541 public abstract GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
1542 public abstract unowned GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable? cancellable) throws GLib.Error;
1543 public abstract unowned GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable? cancellable) throws GLib.Error;
1544 public GLib.FileInputStream read (GLib.Cancellable? cancellable) throws GLib.Error;
1545 public abstract async GLib.FileInputStream read_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1546 public abstract GLib.FileInputStream read_finish (GLib.AsyncResult res) throws GLib.Error;
1548 public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable) throws GLib.Error;
1549 public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1550 public abstract async GLib.FileOutputStream replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1551 public bool replace_contents (string contents, size_t length, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string? new_etag, GLib.Cancellable? cancellable) throws GLib.Error;
1552 public async bool replace_contents_async (string contents, size_t length, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable, out string? new_etag) throws GLib.Error;
1553 public bool replace_contents_finish (GLib.AsyncResult res, out string new_etag) throws GLib.Error;
1554 public abstract GLib.FileOutputStream replace_finish (GLib.AsyncResult res) throws GLib.Error;
1555 public abstract unowned GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1556 public abstract async unowned GLib.FileIOStream replace_readwrite_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1557 public abstract unowned GLib.FileIOStream replace_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
1558 public abstract GLib.File resolve_relative_path (string relative_path);
1559 public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1560 public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1561 public bool set_attribute_int32 (string attribute, int32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1562 public bool set_attribute_int64 (string attribute, int64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1563 public bool set_attribute_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1564 public bool set_attribute_uint32 (string attribute, uint32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1565 public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1566 public abstract async bool set_attributes_async (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable, out unowned GLib.FileInfo info_out) throws GLib.Error;
1567 public abstract bool set_attributes_finish (GLib.AsyncResult _result, out unowned GLib.FileInfo info) throws GLib.Error;
1568 public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1569 public abstract unowned GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable) throws GLib.Error;
1570 public abstract async unowned GLib.File set_display_name_async (string display_name, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
1571 public abstract unowned GLib.File set_display_name_finish (GLib.AsyncResult res) throws GLib.Error;
1572 public abstract async bool start_mountable (GLib.DriveStartFlags flags, GLib.MountOperation start_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1573 public abstract bool start_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1574 public abstract async bool stop_mountable (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1575 public abstract bool stop_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1576 public bool supports_thread_contexts ();
1577 public abstract bool trash (GLib.Cancellable? cancellable) throws GLib.Error;
1578 public abstract async bool unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1579 public abstract bool unmount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
1580 public abstract async bool unmount_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1581 public abstract bool unmount_mountable_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1583 [CCode (cheader_filename = "gio/gio.h")]
1584 public interface Icon : GLib.Object {
1585 public abstract bool equal (GLib.Icon icon2);
1587 public abstract unowned GLib.Icon from_tokens (string tokens, int num_tokens, int version) throws GLib.Error;
1588 public abstract uint hash (void* icon);
1589 public static unowned GLib.Icon new_for_string (string str) throws GLib.Error;
1590 public unowned string to_string ();
1592 public abstract bool to_tokens (GLib.GenericArray tokens, int out_version);
1594 [CCode (cheader_filename = "gio/gio.h")]
1595 public interface Initable : GLib.Object {
1596 public abstract bool init (GLib.Cancellable? cancellable) throws GLib.Error;
1597 public static void* @new (GLib.Type object_type, GLib.Cancellable? cancellable, ...) throws GLib.Error;
1598 public static unowned GLib.Object new_valist (GLib.Type object_type, string first_property_name, void* var_args, GLib.Cancellable? cancellable) throws GLib.Error;
1599 public static void* newv (GLib.Type object_type, uint n_parameters, GLib.Parameter parameters, GLib.Cancellable? cancellable) throws GLib.Error;
1601 [CCode (cheader_filename = "gio/gio.h")]
1602 public interface LoadableIcon : GLib.Icon, GLib.Object {
1603 public abstract unowned GLib.InputStream load (int size, out unowned string? type, GLib.Cancellable? cancellable) throws GLib.Error;
1604 public abstract async unowned GLib.InputStream load_async (int size, GLib.Cancellable? cancellable, out unowned string? type) throws GLib.Error;
1605 public abstract unowned GLib.InputStream load_finish (GLib.AsyncResult res, out unowned string type) throws GLib.Error;
1607 [CCode (cheader_filename = "gio/gio.h")]
1608 public interface Mount : GLib.Object {
1609 public abstract bool can_eject ();
1610 public abstract bool can_unmount ();
1611 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1612 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
1613 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1614 public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1615 public abstract unowned GLib.File get_default_location ();
1616 public abstract unowned GLib.Drive get_drive ();
1617 public abstract unowned GLib.Icon get_icon ();
1618 public abstract unowned string get_name ();
1619 public abstract unowned GLib.File get_root ();
1620 public abstract unowned string get_uuid ();
1621 public abstract unowned GLib.Volume get_volume ();
1622 public abstract async unowned string guess_content_type (bool force_rescan, GLib.Cancellable? cancellable) throws GLib.Error;
1623 public abstract unowned string guess_content_type_finish (GLib.AsyncResult _result) throws GLib.Error;
1624 public abstract unowned string guess_content_type_sync (bool force_rescan, GLib.Cancellable? cancellable) throws GLib.Error;
1625 public bool is_shadowed ();
1626 public abstract async bool remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1627 public abstract bool remount_finish (GLib.AsyncResult _result) throws GLib.Error;
1628 public void shadow ();
1629 public abstract async bool unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1630 public abstract bool unmount_finish (GLib.AsyncResult _result) throws GLib.Error;
1631 public abstract async bool unmount_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1632 public abstract bool unmount_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1633 public void unshadow ();
1634 public signal void changed ();
1635 public signal void pre_unmount ();
1636 public signal void unmounted ();
1638 [CCode (cheader_filename = "gio/gio.h")]
1639 public interface Seekable : GLib.Object {
1640 public abstract bool can_seek ();
1641 public abstract bool can_truncate ();
1642 public abstract bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
1643 public abstract int64 tell ();
1644 [CCode (vfunc_name = "truncate_fn")]
1645 public abstract bool truncate (int64 offset, GLib.Cancellable? cancellable) throws GLib.Error;
1647 [CCode (cheader_filename = "gio/gio.h")]
1648 public interface SocketConnectable : GLib.Object {
1649 public abstract unowned GLib.SocketAddressEnumerator enumerate ();
1651 [CCode (cheader_filename = "gio/gio.h")]
1652 public interface Volume : GLib.Object {
1653 public abstract bool can_eject ();
1654 public abstract bool can_mount ();
1655 public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
1656 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
1657 public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1658 public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
1659 public abstract unowned string enumerate_identifiers ();
1660 public abstract unowned GLib.File get_activation_root ();
1661 public abstract unowned GLib.Drive get_drive ();
1662 public abstract unowned GLib.Icon get_icon ();
1663 public abstract unowned string get_identifier (string kind);
1664 public abstract unowned GLib.Mount get_mount ();
1665 public abstract unowned string get_name ();
1666 public abstract unowned string get_uuid ();
1667 public async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
1668 public abstract bool mount_finish (GLib.AsyncResult _result) throws GLib.Error;
1670 public abstract void mount_fn (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
1671 public abstract bool should_automount ();
1672 public signal void changed ();
1673 public signal void removed ();
1675 [CCode (cprefix = "G_APP_INFO_CREATE_", cheader_filename = "gio/gio.h")]
1677 public enum AppInfoCreateFlags {
1682 [CCode (cprefix = "G_ASK_PASSWORD_", cheader_filename = "gio/gio.h")]
1684 public enum AskPasswordFlags {
1691 [CCode (cprefix = "G_BUS_NAME_OWNER_FLAGS_", cheader_filename = "gio/gio.h")]
1693 public enum BusNameOwnerFlags {
1698 [CCode (cprefix = "G_BUS_NAME_WATCHER_FLAGS_", cheader_filename = "gio/gio.h")]
1700 public enum BusNameWatcherFlags {
1704 [CCode (cprefix = "G_BUS_TYPE_", cheader_filename = "gio/gio.h")]
1705 public enum BusType {
1711 [CCode (cprefix = "G_CONVERTER_", cheader_filename = "gio/gio.h")]
1713 public enum ConverterFlags {
1718 [CCode (cprefix = "G_CONVERTER_", cheader_filename = "gio/gio.h")]
1719 public enum ConverterResult {
1725 [CCode (cprefix = "G_DBUS_CALL_FLAGS_", cheader_filename = "gio/gio.h")]
1727 public enum DBusCallFlags {
1731 [CCode (cprefix = "G_DBUS_CAPABILITY_FLAGS_", cheader_filename = "gio/gio.h")]
1733 public enum DBusCapabilityFlags {
1737 [CCode (cprefix = "G_DBUS_CONNECTION_FLAGS_", cheader_filename = "gio/gio.h")]
1739 public enum DBusConnectionFlags {
1741 AUTHENTICATION_CLIENT,
1742 AUTHENTICATION_SERVER,
1743 AUTHENTICATION_ALLOW_ANONYMOUS,
1744 MESSAGE_BUS_CONNECTION
1746 [CCode (cprefix = "G_DBUS_ERROR_", cheader_filename = "gio/gio.h")]
1747 public enum DBusError {
1769 MATCH_RULE_NOT_FOUND,
1774 SPAWN_CHILD_SIGNALED,
1777 SPAWN_CONFIG_INVALID,
1778 SPAWN_SERVICE_INVALID,
1779 SPAWN_SERVICE_NOT_FOUND,
1780 SPAWN_PERMISSIONS_INVALID,
1783 UNIX_PROCESS_ID_UNKNOWN,
1785 INVALID_FILE_CONTENT,
1786 SELINUX_SECURITY_CONTEXT_UNKNOWN,
1787 ADT_AUDIT_DATA_UNKNOWN,
1790 [CCode (cprefix = "G_DBUS_MESSAGE_FLAGS_", cheader_filename = "gio/gio.h")]
1792 public enum DBusMessageFlags {
1797 [CCode (cprefix = "G_DBUS_MESSAGE_HEADER_FIELD_", cheader_filename = "gio/gio.h")]
1798 public enum DBusMessageHeaderField {
1810 [CCode (cprefix = "G_DBUS_MESSAGE_TYPE_", cheader_filename = "gio/gio.h")]
1811 public enum DBusMessageType {
1818 [CCode (cprefix = "G_DBUS_PROPERTY_INFO_FLAGS_", cheader_filename = "gio/gio.h")]
1820 public enum DBusPropertyInfoFlags {
1825 [CCode (cprefix = "G_DBUS_PROXY_FLAGS_", cheader_filename = "gio/gio.h")]
1827 public enum DBusProxyFlags {
1829 DO_NOT_LOAD_PROPERTIES,
1830 DO_NOT_CONNECT_SIGNALS,
1833 [CCode (cprefix = "G_DBUS_SERVER_FLAGS_", cheader_filename = "gio/gio.h")]
1835 public enum DBusServerFlags {
1838 AUTHENTICATION_ALLOW_ANONYMOUS
1840 [CCode (cprefix = "G_DBUS_SUBTREE_FLAGS_", cheader_filename = "gio/gio.h")]
1842 public enum DBusSubtreeFlags {
1844 DISPATCH_TO_UNENUMERATED_NODES
1846 [CCode (cprefix = "G_DATA_STREAM_BYTE_ORDER_", cheader_filename = "gio/gio.h")]
1847 public enum DataStreamByteOrder {
1852 [CCode (cprefix = "G_DATA_STREAM_NEWLINE_TYPE_", cheader_filename = "gio/gio.h")]
1853 public enum DataStreamNewlineType {
1859 [CCode (cprefix = "G_DRIVE_START_", cheader_filename = "gio/gio.h")]
1860 public enum DriveStartFlags {
1863 [CCode (cprefix = "G_DRIVE_START_STOP_TYPE_", cheader_filename = "gio/gio.h")]
1864 public enum DriveStartStopType {
1871 [CCode (cprefix = "G_EMBLEM_ORIGIN_", cheader_filename = "gio/gio.h")]
1872 public enum EmblemOrigin {
1878 [CCode (cprefix = "G_FILE_ATTRIBUTE_INFO_", cheader_filename = "gio/gio.h")]
1880 public enum FileAttributeInfoFlags {
1885 [CCode (cprefix = "G_FILE_ATTRIBUTE_STATUS_", cheader_filename = "gio/gio.h")]
1886 public enum FileAttributeStatus {
1891 [CCode (cprefix = "G_FILE_ATTRIBUTE_TYPE_", cheader_filename = "gio/gio.h")]
1892 public enum FileAttributeType {
1904 [CCode (cprefix = "G_FILE_COPY_", cheader_filename = "gio/gio.h")]
1906 public enum FileCopyFlags {
1912 NO_FALLBACK_FOR_MOVE,
1913 TARGET_DEFAULT_PERMS
1915 [CCode (cprefix = "G_FILE_CREATE_", cheader_filename = "gio/gio.h")]
1917 public enum FileCreateFlags {
1922 [CCode (cprefix = "G_FILE_MONITOR_EVENT_", cheader_filename = "gio/gio.h")]
1923 public enum FileMonitorEvent {
1933 [CCode (cprefix = "G_FILE_MONITOR_", cheader_filename = "gio/gio.h")]
1935 public enum FileMonitorFlags {
1940 [CCode (cprefix = "G_FILE_QUERY_INFO_", cheader_filename = "gio/gio.h")]
1942 public enum FileQueryInfoFlags {
1946 [CCode (cprefix = "G_FILE_TYPE_", cheader_filename = "gio/gio.h")]
1947 public enum FileType {
1956 [CCode (cprefix = "G_FILESYSTEM_PREVIEW_TYPE_", cheader_filename = "gio/gio.h")]
1957 public enum FilesystemPreviewType {
1962 [CCode (cprefix = "G_MOUNT_MOUNT_", cheader_filename = "gio/gio.h")]
1963 public enum MountMountFlags {
1966 [CCode (cprefix = "G_MOUNT_OPERATION_", cheader_filename = "gio/gio.h")]
1967 public enum MountOperationResult {
1972 [CCode (cprefix = "G_MOUNT_UNMOUNT_", cheader_filename = "gio/gio.h")]
1974 public enum MountUnmountFlags {
1978 [CCode (cprefix = "G_OUTPUT_STREAM_SPLICE_", cheader_filename = "gio/gio.h")]
1980 public enum OutputStreamSpliceFlags {
1985 [CCode (cprefix = "G_PASSWORD_SAVE_", cheader_filename = "gio/gio.h")]
1986 public enum PasswordSave {
1991 [CCode (cprefix = "G_RESOLVER_ERROR_", cheader_filename = "gio/gio.h")]
1992 public enum ResolverError {
1997 [CCode (cprefix = "G_SETTINGS_BIND_", cheader_filename = "gio/gio.h")]
1999 public enum SettingsBindFlags {
2006 [CCode (cprefix = "G_SOCKET_FAMILY_", cheader_filename = "gio/gio.h")]
2007 public enum SocketFamily {
2013 [CCode (cprefix = "G_SOCKET_MSG_", cheader_filename = "gio/gio.h")]
2014 public enum SocketMsgFlags {
2020 [CCode (cprefix = "G_SOCKET_PROTOCOL_", cheader_filename = "gio/gio.h")]
2021 public enum SocketProtocol {
2028 [CCode (cprefix = "G_SOCKET_TYPE_", cheader_filename = "gio/gio.h")]
2029 public enum SocketType {
2035 [CCode (cprefix = "G_UNIX_SOCKET_ADDRESS_", cheader_filename = "gio/gio.h")]
2036 public enum UnixSocketAddressType {
2043 [CCode (cprefix = "G_ZLIB_COMPRESSOR_FORMAT_", cheader_filename = "gio/gio.h")]
2044 public enum ZlibCompressorFormat {
2049 [CCode (cprefix = "G_IO_ERROR_", cheader_filename = "gio/gio.h")]
2050 public errordomain IOError {
2082 TOO_MANY_OPEN_FILES,
2089 [CCode (cheader_filename = "gio/gio.h")]
2090 public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
2091 [CCode (cheader_filename = "gio/gio.h")]
2092 public delegate void BusAcquiredCallback (GLib.DBusConnection connection, string name);
2093 [CCode (cheader_filename = "gio/gio.h")]
2094 public delegate void BusNameAcquiredCallback (GLib.DBusConnection connection, string name);
2095 [CCode (cheader_filename = "gio/gio.h")]
2096 public delegate void BusNameAppearedCallback (GLib.DBusConnection connection, string name, string name_owner);
2097 [CCode (cheader_filename = "gio/gio.h")]
2098 public delegate void BusNameLostCallback (GLib.DBusConnection connection, string name);
2099 [CCode (cheader_filename = "gio/gio.h")]
2100 public delegate void BusNameVanishedCallback (GLib.DBusConnection connection, string name);
2101 [CCode (cheader_filename = "gio/gio.h")]
2102 public delegate unowned GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Error error);
2103 [CCode (cheader_filename = "gio/gio.h")]
2104 public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, GLib.DBusMethodInvocation invocation);
2105 [CCode (cheader_filename = "gio/gio.h")]
2106 public delegate bool DBusInterfaceSetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Variant value, GLib.Error error);
2107 [CCode (cheader_filename = "gio/gio.h")]
2108 public delegate bool DBusMessageFilterFunction (GLib.DBusConnection connection, GLib.DBusMessage message);
2109 [CCode (cheader_filename = "gio/gio.h")]
2110 public delegate void DBusSignalCallback (GLib.DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, GLib.Variant parameters);
2111 [CCode (cheader_filename = "gio/gio.h")]
2112 public delegate unowned GLib.DBusInterfaceVTable DBusSubtreeDispatchFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data);
2113 [CCode (cheader_filename = "gio/gio.h")]
2114 public delegate unowned string DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
2115 [CCode (cheader_filename = "gio/gio.h")]
2116 public delegate unowned GLib.GenericArray DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
2117 [CCode (cheader_filename = "gio/gio.h")]
2118 public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
2119 [CCode (cheader_filename = "gio/gio.h", has_target = false)]
2120 public delegate bool FileReadMoreCallback (string file_contents, int64 file_size, void* callback_data);
2121 [CCode (cheader_filename = "gio/gio.h")]
2122 public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable cancellable);
2123 [CCode (cheader_filename = "gio/gio.h", has_target = false)]
2124 public delegate void* ReallocFunc (void* data, size_t size);
2125 [CCode (cheader_filename = "gio/gio.h")]
2126 public delegate bool SettingsBindGetMapping (GLib.Value value, GLib.Variant variant);
2127 [CCode (cheader_filename = "gio/gio.h")]
2128 public delegate unowned GLib.Variant SettingsBindSetMapping (GLib.Value value, GLib.VariantType expected_type);
2129 [CCode (cheader_filename = "gio/gio.h", has_target = false)]
2130 public delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
2131 [CCode (cheader_filename = "gio/gio.h")]
2132 public delegate bool SocketSourceFunc (GLib.Socket socket, GLib.IOCondition condition);
2133 [CCode (cheader_filename = "gio/gio.h")]
2134 public static GLib.EqualFunc file_equal;
2135 [CCode (cheader_filename = "gio/gio.h")]
2136 public static GLib.HashFunc file_hash;
2137 [CCode (cheader_filename = "gio/gio.h")]
2138 public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
2139 [CCode (cheader_filename = "gio/gio.h")]
2140 public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
2141 [CCode (cheader_filename = "gio/gio.h")]
2142 public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
2143 [CCode (cheader_filename = "gio/gio.h")]
2144 public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
2145 [CCode (cheader_filename = "gio/gio.h")]
2146 public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
2147 [CCode (cheader_filename = "gio/gio.h")]
2148 public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
2149 [CCode (cheader_filename = "gio/gio.h")]
2150 public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
2151 [CCode (cheader_filename = "gio/gio.h")]
2152 public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
2153 [CCode (cheader_filename = "gio/gio.h")]
2154 public const string FILE_ATTRIBUTE_ETAG_VALUE;
2155 [CCode (cheader_filename = "gio/gio.h")]
2156 public const string FILE_ATTRIBUTE_FILESYSTEM_FREE;
2157 [CCode (cheader_filename = "gio/gio.h")]
2158 public const string FILE_ATTRIBUTE_FILESYSTEM_READONLY;
2159 [CCode (cheader_filename = "gio/gio.h")]
2160 public const string FILE_ATTRIBUTE_FILESYSTEM_SIZE;
2161 [CCode (cheader_filename = "gio/gio.h")]
2162 public const string FILE_ATTRIBUTE_FILESYSTEM_TYPE;
2163 [CCode (cheader_filename = "gio/gio.h")]
2164 public const string FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW;
2165 [CCode (cheader_filename = "gio/gio.h")]
2166 public const string FILE_ATTRIBUTE_GVFS_BACKEND;
2167 [CCode (cheader_filename = "gio/gio.h")]
2168 public const string FILE_ATTRIBUTE_ID_FILE;
2169 [CCode (cheader_filename = "gio/gio.h")]
2170 public const string FILE_ATTRIBUTE_ID_FILESYSTEM;
2171 [CCode (cheader_filename = "gio/gio.h")]
2172 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
2173 [CCode (cheader_filename = "gio/gio.h")]
2174 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
2175 [CCode (cheader_filename = "gio/gio.h")]
2176 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL;
2177 [CCode (cheader_filename = "gio/gio.h")]
2178 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START;
2179 [CCode (cheader_filename = "gio/gio.h")]
2180 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED;
2181 [CCode (cheader_filename = "gio/gio.h")]
2182 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP;
2183 [CCode (cheader_filename = "gio/gio.h")]
2184 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
2185 [CCode (cheader_filename = "gio/gio.h")]
2186 public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
2187 [CCode (cheader_filename = "gio/gio.h")]
2188 public const string FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC;
2189 [CCode (cheader_filename = "gio/gio.h")]
2190 public const string FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE;
2191 [CCode (cheader_filename = "gio/gio.h")]
2192 public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
2193 [CCode (cheader_filename = "gio/gio.h")]
2194 public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE;
2195 [CCode (cheader_filename = "gio/gio.h")]
2196 public const string FILE_ATTRIBUTE_OWNER_GROUP;
2197 [CCode (cheader_filename = "gio/gio.h")]
2198 public const string FILE_ATTRIBUTE_OWNER_USER;
2199 [CCode (cheader_filename = "gio/gio.h")]
2200 public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
2201 [CCode (cheader_filename = "gio/gio.h")]
2202 public const string FILE_ATTRIBUTE_PREVIEW_ICON;
2203 [CCode (cheader_filename = "gio/gio.h")]
2204 public const string FILE_ATTRIBUTE_SELINUX_CONTEXT;
2205 [CCode (cheader_filename = "gio/gio.h")]
2206 public const string FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE;
2207 [CCode (cheader_filename = "gio/gio.h")]
2208 public const string FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
2209 [CCode (cheader_filename = "gio/gio.h")]
2210 public const string FILE_ATTRIBUTE_STANDARD_COPY_NAME;
2211 [CCode (cheader_filename = "gio/gio.h")]
2212 public const string FILE_ATTRIBUTE_STANDARD_DESCRIPTION;
2213 [CCode (cheader_filename = "gio/gio.h")]
2214 public const string FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME;
2215 [CCode (cheader_filename = "gio/gio.h")]
2216 public const string FILE_ATTRIBUTE_STANDARD_EDIT_NAME;
2217 [CCode (cheader_filename = "gio/gio.h")]
2218 public const string FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE;
2219 [CCode (cheader_filename = "gio/gio.h")]
2220 public const string FILE_ATTRIBUTE_STANDARD_ICON;
2221 [CCode (cheader_filename = "gio/gio.h")]
2222 public const string FILE_ATTRIBUTE_STANDARD_IS_BACKUP;
2223 [CCode (cheader_filename = "gio/gio.h")]
2224 public const string FILE_ATTRIBUTE_STANDARD_IS_HIDDEN;
2225 [CCode (cheader_filename = "gio/gio.h")]
2226 public const string FILE_ATTRIBUTE_STANDARD_IS_SYMLINK;
2227 [CCode (cheader_filename = "gio/gio.h")]
2228 public const string FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL;
2229 [CCode (cheader_filename = "gio/gio.h")]
2230 public const string FILE_ATTRIBUTE_STANDARD_NAME;
2231 [CCode (cheader_filename = "gio/gio.h")]
2232 public const string FILE_ATTRIBUTE_STANDARD_SIZE;
2233 [CCode (cheader_filename = "gio/gio.h")]
2234 public const string FILE_ATTRIBUTE_STANDARD_SORT_ORDER;
2235 [CCode (cheader_filename = "gio/gio.h")]
2236 public const string FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET;
2237 [CCode (cheader_filename = "gio/gio.h")]
2238 public const string FILE_ATTRIBUTE_STANDARD_TARGET_URI;
2239 [CCode (cheader_filename = "gio/gio.h")]
2240 public const string FILE_ATTRIBUTE_STANDARD_TYPE;
2241 [CCode (cheader_filename = "gio/gio.h")]
2242 public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
2243 [CCode (cheader_filename = "gio/gio.h")]
2244 public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
2245 [CCode (cheader_filename = "gio/gio.h")]
2246 public const string FILE_ATTRIBUTE_TIME_ACCESS;
2247 [CCode (cheader_filename = "gio/gio.h")]
2248 public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
2249 [CCode (cheader_filename = "gio/gio.h")]
2250 public const string FILE_ATTRIBUTE_TIME_CHANGED;
2251 [CCode (cheader_filename = "gio/gio.h")]
2252 public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
2253 [CCode (cheader_filename = "gio/gio.h")]
2254 public const string FILE_ATTRIBUTE_TIME_CREATED;
2255 [CCode (cheader_filename = "gio/gio.h")]
2256 public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
2257 [CCode (cheader_filename = "gio/gio.h")]
2258 public const string FILE_ATTRIBUTE_TIME_MODIFIED;
2259 [CCode (cheader_filename = "gio/gio.h")]
2260 public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
2261 [CCode (cheader_filename = "gio/gio.h")]
2262 public const string FILE_ATTRIBUTE_TRASH_DELETION_DATE;
2263 [CCode (cheader_filename = "gio/gio.h")]
2264 public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
2265 [CCode (cheader_filename = "gio/gio.h")]
2266 public const string FILE_ATTRIBUTE_TRASH_ORIG_PATH;
2267 [CCode (cheader_filename = "gio/gio.h")]
2268 public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
2269 [CCode (cheader_filename = "gio/gio.h")]
2270 public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
2271 [CCode (cheader_filename = "gio/gio.h")]
2272 public const string FILE_ATTRIBUTE_UNIX_DEVICE;
2273 [CCode (cheader_filename = "gio/gio.h")]
2274 public const string FILE_ATTRIBUTE_UNIX_GID;
2275 [CCode (cheader_filename = "gio/gio.h")]
2276 public const string FILE_ATTRIBUTE_UNIX_INODE;
2277 [CCode (cheader_filename = "gio/gio.h")]
2278 public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
2279 [CCode (cheader_filename = "gio/gio.h")]
2280 public const string FILE_ATTRIBUTE_UNIX_MODE;
2281 [CCode (cheader_filename = "gio/gio.h")]
2282 public const string FILE_ATTRIBUTE_UNIX_NLINK;
2283 [CCode (cheader_filename = "gio/gio.h")]
2284 public const string FILE_ATTRIBUTE_UNIX_RDEV;
2285 [CCode (cheader_filename = "gio/gio.h")]
2286 public const string FILE_ATTRIBUTE_UNIX_UID;
2287 [CCode (cheader_filename = "gio/gio.h")]
2288 public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
2289 [CCode (cheader_filename = "gio/gio.h")]
2290 public const string SETTINGS_BACKEND_EXTENSION_POINT_NAME;
2291 [CCode (cheader_filename = "gio/gio.h")]
2292 public const string VFS_EXTENSION_POINT_NAME;
2293 [CCode (cheader_filename = "gio/gio.h")]
2294 public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
2295 [CCode (cheader_filename = "gio/gio.h")]
2296 public const string VOLUME_IDENTIFIER_KIND_LABEL;
2297 [CCode (cheader_filename = "gio/gio.h")]
2298 public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
2299 [CCode (cheader_filename = "gio/gio.h")]
2300 public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
2301 [CCode (cheader_filename = "gio/gio.h")]
2302 public const string VOLUME_IDENTIFIER_KIND_UUID;
2303 [CCode (cheader_filename = "gio/gio.h")]
2304 public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
2305 [CCode (cname = "g_content_type_can_be_executable", cheader_filename = "gio/gio.h")]
2306 public static bool g_content_type_can_be_executable (string type);
2307 [CCode (cname = "g_content_type_equals", cheader_filename = "gio/gio.h")]
2308 public static bool g_content_type_equals (string type1, string type2);
2309 [CCode (cname = "g_content_type_from_mime_type", cheader_filename = "gio/gio.h")]
2310 public static unowned string g_content_type_from_mime_type (string mime_type);
2311 [CCode (cname = "g_content_type_get_description", cheader_filename = "gio/gio.h")]
2312 public static unowned string g_content_type_get_description (string type);
2313 [CCode (cname = "g_content_type_get_icon", cheader_filename = "gio/gio.h")]
2314 public static unowned GLib.Icon g_content_type_get_icon (string type);
2315 [CCode (cname = "g_content_type_get_mime_type", cheader_filename = "gio/gio.h")]
2316 public static unowned string g_content_type_get_mime_type (string type);
2317 [CCode (cname = "g_content_type_guess", cheader_filename = "gio/gio.h")]
2318 public static unowned string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
2319 [CCode (cname = "g_content_type_guess_for_tree", cheader_filename = "gio/gio.h")]
2320 public static unowned string g_content_type_guess_for_tree (GLib.File root);
2321 [CCode (cname = "g_content_type_is_a", cheader_filename = "gio/gio.h")]
2322 public static bool g_content_type_is_a (string type, string supertype);
2323 [CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]
2324 public static bool g_content_type_is_unknown (string type);
2325 [CCode (cname = "g_content_types_get_registered", cheader_filename = "gio/gio.h")]
2326 public static GLib.List<string> g_content_types_get_registered ();
2327 [CCode (cname = "g_dbus_address_get_for_bus_sync", cheader_filename = "gio/gio.h")]
2328 public static unowned string g_dbus_address_get_for_bus_sync (GLib.BusType bus_type, GLib.Cancellable? cancellable) throws GLib.Error;
2329 [CCode (cname = "g_dbus_address_get_stream", cheader_filename = "gio/gio.h")]
2330 public static void g_dbus_address_get_stream (string address, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
2331 [CCode (cname = "g_dbus_address_get_stream_finish", cheader_filename = "gio/gio.h")]
2332 public static unowned GLib.IOStream g_dbus_address_get_stream_finish (GLib.AsyncResult res, string out_guid) throws GLib.Error;
2333 [CCode (cname = "g_dbus_address_get_stream_sync", cheader_filename = "gio/gio.h")]
2334 public static unowned GLib.IOStream g_dbus_address_get_stream_sync (string address, string out_guid, GLib.Cancellable? cancellable) throws GLib.Error;
2335 [CCode (cname = "g_dbus_error_encode_gerror", cheader_filename = "gio/gio.h")]
2336 public static unowned string g_dbus_error_encode_gerror (GLib.Error error);
2337 [CCode (cname = "g_dbus_error_get_remote_error", cheader_filename = "gio/gio.h")]
2338 public static unowned string g_dbus_error_get_remote_error (GLib.Error error);
2339 [CCode (cname = "g_dbus_error_is_remote_error", cheader_filename = "gio/gio.h")]
2340 public static bool g_dbus_error_is_remote_error (GLib.Error error);
2341 [CCode (cname = "g_dbus_error_new_for_dbus_error", cheader_filename = "gio/gio.h")]
2342 public static unowned GLib.Error g_dbus_error_new_for_dbus_error (string dbus_error_name, string dbus_error_message);
2343 [CCode (cname = "g_dbus_error_quark", cheader_filename = "gio/gio.h")]
2344 public static GLib.Quark g_dbus_error_quark ();
2345 [CCode (cname = "g_dbus_error_register_error", cheader_filename = "gio/gio.h")]
2346 public static bool g_dbus_error_register_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
2347 [CCode (cname = "g_dbus_error_register_error_domain", cheader_filename = "gio/gio.h")]
2348 public static void g_dbus_error_register_error_domain (string error_domain_quark_name, size_t quark_volatile, GLib.DBusErrorEntry entries, uint num_entries);
2349 [CCode (cname = "g_dbus_error_set_dbus_error", cheader_filename = "gio/gio.h")]
2350 public static void g_dbus_error_set_dbus_error (string dbus_error_name, string dbus_error_message, string format) throws GLib.Error;
2351 [CCode (cname = "g_dbus_error_set_dbus_error_valist", cheader_filename = "gio/gio.h")]
2352 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;
2353 [CCode (cname = "g_dbus_error_strip_remote_error", cheader_filename = "gio/gio.h")]
2354 public static bool g_dbus_error_strip_remote_error (GLib.Error error);
2355 [CCode (cname = "g_dbus_error_unregister_error", cheader_filename = "gio/gio.h")]
2356 public static bool g_dbus_error_unregister_error (GLib.Quark error_domain, int error_code, string dbus_error_name);
2357 [CCode (cname = "g_dbus_generate_guid", cheader_filename = "gio/gio.h")]
2358 public static unowned string g_dbus_generate_guid ();
2359 [CCode (cname = "g_dbus_is_address", cheader_filename = "gio/gio.h")]
2360 public static bool g_dbus_is_address (string str);
2361 [CCode (cname = "g_dbus_is_guid", cheader_filename = "gio/gio.h")]
2362 public static bool g_dbus_is_guid (string str);
2363 [CCode (cname = "g_dbus_is_interface_name", cheader_filename = "gio/gio.h")]
2364 public static bool g_dbus_is_interface_name (string str);
2365 [CCode (cname = "g_dbus_is_member_name", cheader_filename = "gio/gio.h")]
2366 public static bool g_dbus_is_member_name (string str);
2367 [CCode (cname = "g_dbus_is_name", cheader_filename = "gio/gio.h")]
2368 public static bool g_dbus_is_name (string str);
2369 [CCode (cname = "g_dbus_is_supported_address", cheader_filename = "gio/gio.h")]
2370 public static bool g_dbus_is_supported_address (string str) throws GLib.Error;
2371 [CCode (cname = "g_dbus_is_unique_name", cheader_filename = "gio/gio.h")]
2372 public static bool g_dbus_is_unique_name (string str);
2373 [CCode (cname = "g_io_error_from_errno", cheader_filename = "gio/gio.h")]
2374 public static unowned GLib.IOError g_io_error_from_errno (int err_no);
2375 [CCode (cname = "g_io_error_quark", cheader_filename = "gio/gio.h")]
2376 public static GLib.Quark g_io_error_quark ();
2377 [CCode (cname = "g_io_modules_load_all_in_directory", cheader_filename = "gio/gio.h")]
2378 public static GLib.List<weak GLib.TypeModule> g_io_modules_load_all_in_directory (string dirname);
2379 [CCode (cname = "g_io_modules_scan_all_in_directory", cheader_filename = "gio/gio.h")]
2380 public static void g_io_modules_scan_all_in_directory (string dirname);
2381 [CCode (cname = "g_io_scheduler_cancel_all_jobs", cheader_filename = "gio/gio.h")]
2382 public static void g_io_scheduler_cancel_all_jobs ();
2383 [CCode (cname = "g_io_scheduler_push_job", cheader_filename = "gio/gio.h")]
2384 public static void g_io_scheduler_push_job (GLib.IOSchedulerJobFunc job_func, GLib.DestroyNotify? notify, int io_priority, GLib.Cancellable? cancellable);
2385 [CCode (cname = "g_keyfile_settings_backend_new", cheader_filename = "gio/gio.h")]
2386 public static unowned GLib.SettingsBackend g_keyfile_settings_backend_new (string filename);
2387 [CCode (cname = "g_simple_async_report_error_in_idle", cheader_filename = "gio/gio.h")]
2388 public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
2389 [CCode (cname = "g_simple_async_report_gerror_in_idle", cheader_filename = "gio/gio.h")]
2390 public static void g_simple_async_report_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);