D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / gnome-vfs-2.0.vapi
blob43e0e993a2a15bbd4cbd0867845f5fd874ce3832
1 /* gnome-vfs-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "GnomeVFS", lower_case_cprefix = "gnome_vfs_")]
4 namespace GnomeVFS {
5         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
6         public class ACE : GLib.Object {
7                 [CCode (has_construct_function = false)]
8                 public ACE (GnomeVFS.ACLKind kind, string id, GnomeVFS.ACLPerm perms);
9                 public void add_perm (GnomeVFS.ACLPerm perm);
10                 public bool check_perm (GnomeVFS.ACLPerm perm);
11                 public void copy_perms (GnomeVFS.ACE dest);
12                 public void del_perm (GnomeVFS.ACLPerm perm);
13                 public bool equal (GnomeVFS.ACE entry_b);
14                 public unowned string get_id ();
15                 public bool get_inherit ();
16                 public unowned GnomeVFS.ACLKind get_kind ();
17                 public bool get_negative ();
18                 public unowned GnomeVFS.ACLPerm get_perms ();
19                 [NoWrapper]
20                 public virtual void reserved1 ();
21                 [NoWrapper]
22                 public virtual void reserved2 ();
23                 [NoWrapper]
24                 public virtual void reserved3 ();
25                 [NoWrapper]
26                 public virtual void reserved4 ();
27                 public void set_id (string id);
28                 public void set_inherit (bool inherit);
29                 public void set_kind (GnomeVFS.ACLKind kind);
30                 public void set_negative (bool negative);
31                 public void set_perms (GnomeVFS.ACLPerm perms);
32                 public string id { get; set construct; }
33                 public bool inherit { get; set; }
34                 public uint kind { get; set construct; }
35                 public bool negative { get; set; }
36                 [NoAccessorMethod]
37                 public void* permissions { get; set construct; }
38         }
39         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
40         public class ACL : GLib.Object {
41                 [CCode (has_construct_function = false)]
42                 public ACL ();
43                 public void clear ();
44                 public static void free_ace_list (GLib.List ace_list);
45                 public unowned GLib.List get_ace_list ();
46                 public void @set (GnomeVFS.ACE ace);
47                 public void unset (GnomeVFS.ACE ace);
48         }
49         [Compact]
50         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
51         public class ACLKind {
52                 public unowned string to_string ();
53         }
54         [Compact]
55         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
56         public class ACLPerm {
57                 public unowned string to_string ();
58         }
59         [Compact]
60         [CCode (type_id = "GNOME_VFS_TYPE_ADDRESS", cheader_filename = "libgnomevfs/gnome-vfs.h")]
61         public class Address {
62                 public unowned GnomeVFS.Address dup ();
63                 public bool equal (GnomeVFS.Address b);
64                 [CCode (has_construct_function = false)]
65                 public Address.from_ipv4 (uint32 ipv4_address);
66                 [CCode (has_construct_function = false)]
67                 public Address.from_string (string address);
68                 public int get_family_type ();
69                 public uint32 get_ipv4 ();
70                 public void* get_sockaddr (uint16 port, int len);
71                 public bool match (GnomeVFS.Address b, uint prefix);
72                 public unowned string to_string ();
73         }
74         [Compact]
75         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
76         public class AsyncHandle {
77         }
78         [Compact]
79         [CCode (free_function = "gnome_vfs_cancellation_destroy", cheader_filename = "libgnomevfs/gnome-vfs.h")]
80         public class Cancellation {
81                 [CCode (has_construct_function = false)]
82                 public Cancellation ();
83                 public void ack ();
84                 public void cancel ();
85                 public bool check ();
86                 public int get_fd ();
87         }
88         [Compact]
89         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
90         public class Context {
91                 [CCode (has_construct_function = false)]
92                 public Context ();
93                 public static bool check_cancellation_current ();
94                 public unowned GnomeVFS.Cancellation get_cancellation ();
95                 public static unowned GnomeVFS.Context peek_current ();
96         }
97         [Compact]
98         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
99         public class DNSSDBrowseHandle {
100         }
101         [Compact]
102         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
103         public class DNSSDResolveHandle {
104         }
105         [Compact]
106         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
107         public class DNSSDService {
108                 public weak string domain;
109                 public weak string name;
110                 public weak string type;
111                 [CCode (cname = "gnome_vfs_dns_sd_service_list_free")]
112                 public void list_free (int n_services);
113         }
114         [Compact]
115         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
116         public class DirectoryHandle {
117         }
118         [CCode (type_check_function = "GNOME_IS_VFS_DRIVE", cheader_filename = "libgnomevfs/gnome-vfs.h")]
119         public class Drive : GLib.Object {
120                 [CCode (has_construct_function = false)]
121                 protected Drive ();
122                 public int compare (GnomeVFS.Drive b);
123                 public void eject (GnomeVFS.VolumeOpCallback callback);
124                 public unowned string get_activation_uri ();
125                 public unowned string get_device_path ();
126                 public GnomeVFS.DeviceType get_device_type ();
127                 public unowned string get_display_name ();
128                 public unowned string get_hal_udi ();
129                 public unowned string get_icon ();
130                 public ulong get_id ();
131                 public unowned GnomeVFS.Volume get_mounted_volume ();
132                 public GLib.List<GnomeVFS.Volume> get_mounted_volumes ();
133                 public bool is_connected ();
134                 public bool is_mounted ();
135                 public bool is_user_visible ();
136                 public void mount (GnomeVFS.VolumeOpCallback callback);
137                 public bool needs_eject ();
138                 public unowned GnomeVFS.Drive @ref ();
139                 public void unmount (GnomeVFS.VolumeOpCallback callback);
140                 public void unref ();
141                 public static void volume_list_free (GLib.List volumes);
142                 public virtual signal void volume_mounted (GnomeVFS.Volume volume);
143                 public virtual signal void volume_pre_unmount (GnomeVFS.Volume volume);
144                 public virtual signal void volume_unmounted (GnomeVFS.Volume volume);
145         }
146         [Compact]
147         [CCode (ref_function = "gnome_vfs_file_info_ref", ref_function_void = true, unref_function = "gnome_vfs_file_info_unref", type_id = "GNOME_VFS_TYPE_FILE_INFO", cheader_filename = "libgnomevfs/gnome-vfs.h")]
148         public class FileInfo {
149                 public weak GnomeVFS.ACL acl;
150                 public ulong atime;
151                 public GnomeVFS.FileSize block_count;
152                 public ulong ctime;
153                 public GnomeVFS.FileFlags flags;
154                 public uint gid;
155                 public weak GnomeVFS.InodeNumber inode;
156                 public uint io_block_size;
157                 public uint link_count;
158                 public weak string mime_type;
159                 public ulong mtime;
160                 public weak string name;
161                 public GnomeVFS.FilePermissions permissions;
162                 public uint refcount;
163                 public void* reserved1;
164                 public void* reserved2;
165                 public void* reserved3;
166                 public weak string selinux_context;
167                 public GnomeVFS.FileSize size;
168                 public weak string symlink_name;
169                 public GnomeVFS.FileType type;
170                 public uint uid;
171                 public GnomeVFS.FileInfoFields valid_fields;
172                 [CCode (has_construct_function = false)]
173                 public FileInfo ();
174                 public void clear ();
175                 public void copy (GnomeVFS.FileInfo src);
176                 public unowned GnomeVFS.FileInfo dup ();
177                 public unowned string get_mime_type ();
178                 public static unowned GLib.List list_copy (GLib.List list);
179                 public static void list_free (GLib.List list);
180                 public static unowned GLib.List list_ref (GLib.List list);
181                 public static unowned GLib.List list_unref (GLib.List list);
182                 public bool matches (GnomeVFS.FileInfo b);
183         }
184         [Compact]
185         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
186         public class FileOffset {
187         }
188         [Compact]
189         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
190         public class FindDirectoryResult {
191                 public void* reserved1;
192                 public void* reserved2;
193                 public GnomeVFS.Result result;
194                 public weak GnomeVFS.URI uri;
195                 public unowned GnomeVFS.FindDirectoryResult dup ();
196         }
197         [Compact]
198         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
199         public class GetFileInfoResult {
200                 public weak GnomeVFS.FileInfo file_info;
201                 public GnomeVFS.Result result;
202                 public weak GnomeVFS.URI uri;
203                 public unowned GnomeVFS.GetFileInfoResult dup ();
204         }
205         [Compact]
206         [CCode (type_id = "GNOME_VFS_TYPE_GNOME_VFS_FIND_DIRECTORY_RESULT", cheader_filename = "libgnomevfs/gnome-vfs.h")]
207         public class GnomeVfsFindDirectoryResult {
208         }
209         [Compact]
210         [CCode (type_id = "GNOME_VFS_TYPE_GNOME_VFS_GET_FILE_INFO_RESULT", cheader_filename = "libgnomevfs/gnome-vfs.h")]
211         public class GnomeVfsGetFileInfoResult {
212         }
213         [Compact]
214         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
215         public class Handle {
216         }
217         [Compact]
218         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
219         public class InodeNumber {
220         }
221         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
222         public class MIMEMonitor : GLib.Object {
223                 [CCode (has_construct_function = false)]
224                 protected MIMEMonitor ();
225                 public static unowned GnomeVFS.MIMEMonitor @get ();
226                 public virtual signal void data_changed ();
227         }
228         [Compact]
229         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
230         public class MethodHandle {
231         }
232         [Compact]
233         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
234         public class MimeAction {
235                 public void* action;
236                 public GnomeVFS.MimeActionType action_type;
237                 public void* reserved1;
238                 public GnomeVFS.Result launch (GLib.List uris);
239                 public GnomeVFS.Result launch_with_env (GLib.List uris, out unowned string envp);
240         }
241         [Compact]
242         [CCode (copy_function = "gnome_vfs_mime_application_copy", cheader_filename = "libgnomevfs/gnome-vfs-mime-handlers.h")]
243         public class MimeApplication {
244                 public bool can_open_multiple_files;
245                 public weak string command;
246                 public GnomeVFS.MimeApplicationArgumentType expects_uris;
247                 public weak string id;
248                 public weak string name;
249                 public void* reserved1;
250                 public weak GLib.List supported_uri_schemes;
251                 public GnomeVFS.MimeApplication copy ();
252                 public bool equal (GnomeVFS.MimeApplication app_b);
253                 [CCode (has_construct_function = false)]
254                 public MimeApplication.from_desktop_id (string id);
255                 [CCode (has_construct_function = false)]
256                 public MimeApplication.from_id (string id);
257                 public unowned string get_binary_name ();
258                 public unowned string get_desktop_file_path ();
259                 public unowned string get_desktop_id ();
260                 public unowned string get_exec ();
261                 public unowned string get_generic_name ();
262                 public unowned string get_icon ();
263                 public unowned string get_name ();
264                 public unowned string get_startup_wm_class ();
265                 public GnomeVFS.Result launch (GLib.List uris);
266                 public GnomeVFS.Result launch_with_env (GLib.List uris, out unowned string envp);
267                 public static void list_free (GLib.List list);
268                 public bool requires_terminal ();
269                 public bool supports_startup_notification ();
270                 public bool supports_uris ();
271         }
272         [Compact]
273         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
274         public class ModuleCallbackAdditionalHeadersIn {
275                 public void* reserved1;
276                 public void* reserved2;
277                 public weak GnomeVFS.URI uri;
278         }
279         [Compact]
280         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
281         public class ModuleCallbackAdditionalHeadersOut {
282                 public weak GLib.List headers;
283                 public void* reserved1;
284                 public void* reserved2;
285         }
286         [Compact]
287         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
288         public class ModuleCallbackAuthenticationIn {
289                 public GnomeVFS.ModuleCallbackAuthenticationAuthType auth_type;
290                 public bool previous_attempt_failed;
291                 public weak string realm;
292                 public void* reserved1;
293                 public void* reserved2;
294                 public weak string uri;
295         }
296         [Compact]
297         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
298         public class ModuleCallbackAuthenticationOut {
299                 public weak string password;
300                 public void* reserved1;
301                 public void* reserved2;
302                 public weak string username;
303         }
304         [Compact]
305         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
306         public class ModuleCallbackFillAuthenticationIn {
307                 public weak string authtype;
308                 public weak string domain;
309                 public weak string object;
310                 public int port;
311                 public weak string protocol;
312                 public void* reserved1;
313                 public void* reserved2;
314                 public weak string server;
315                 public weak string uri;
316                 public weak string username;
317         }
318         [Compact]
319         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
320         public class ModuleCallbackFillAuthenticationOut {
321                 public weak string domain;
322                 public weak string password;
323                 public void* reserved1;
324                 public void* reserved2;
325                 public weak string username;
326                 public bool valid;
327         }
328         [Compact]
329         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
330         public class ModuleCallbackFullAuthenticationIn {
331                 public weak string authtype;
332                 public weak string default_domain;
333                 public weak string default_user;
334                 public weak string domain;
335                 public GnomeVFS.ModuleCallbackFullAuthenticationFlags flags;
336                 public weak string object;
337                 public int port;
338                 public weak string protocol;
339                 public void* reserved1;
340                 public void* reserved2;
341                 public weak string server;
342                 public weak string uri;
343                 public weak string username;
344         }
345         [Compact]
346         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
347         public class ModuleCallbackFullAuthenticationOut {
348                 public bool abort_auth;
349                 public weak string domain;
350                 public weak string keyring;
351                 public size_t out_flags;
352                 public weak string password;
353                 public void* reserved2;
354                 public bool save_password;
355                 public weak string username;
356         }
357         [Compact]
358         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
359         public class ModuleCallbackQuestionIn {
360                 public weak string choices;
361                 public weak string primary_message;
362                 public void* reserved1;
363                 public void* reserved2;
364                 public weak string secondary_message;
365         }
366         [Compact]
367         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
368         public class ModuleCallbackQuestionOut {
369                 public int answer;
370                 public void* reserved1;
371                 public void* reserved2;
372         }
373         [Compact]
374         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
375         public class ModuleCallbackReceivedHeadersIn {
376                 public weak GLib.List headers;
377                 public void* reserved1;
378                 public void* reserved2;
379                 public weak GnomeVFS.URI uri;
380         }
381         [Compact]
382         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
383         public class ModuleCallbackReceivedHeadersOut {
384                 public int dummy;
385                 public void* reserved1;
386                 public void* reserved2;
387         }
388         [Compact]
389         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
390         public class ModuleCallbackSaveAuthenticationIn {
391                 public weak string authtype;
392                 public weak string domain;
393                 public weak string keyring;
394                 public weak string object;
395                 public weak string password;
396                 public int port;
397                 public weak string protocol;
398                 public void* reserved1;
399                 public void* reserved2;
400                 public weak string server;
401                 public weak string uri;
402                 public weak string username;
403         }
404         [Compact]
405         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
406         public class ModuleCallbackSaveAuthenticationOut {
407                 public void* reserved1;
408                 public void* reserved2;
409         }
410         [Compact]
411         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
412         public class ModuleCallbackStatusMessageIn {
413                 public weak string message;
414                 public int percentage;
415                 public void* reserved1;
416                 public void* reserved2;
417                 public weak string uri;
418         }
419         [Compact]
420         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
421         public class ModuleCallbackStatusMessageOut {
422                 public int dummy;
423                 public void* reserved1;
424                 public void* reserved2;
425         }
426         [Compact]
427         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
428         public class MonitorHandle {
429         }
430         [Compact]
431         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
432         public class ProgressCallbackState {
433                 public void* async_job_data;
434                 public int64 next_text_update_callback_time;
435                 public int64 next_update_callback_time;
436                 public weak GnomeVFS.XferProgressInfo progress_info;
437                 public void* reserved1;
438                 public void* reserved2;
439                 public weak GnomeVFS.XferProgressCallback sync_callback;
440                 public weak GnomeVFS.XferProgressCallback update_callback;
441                 public int64 update_callback_period;
442                 public void* user_data;
443         }
444         [Compact]
445         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
446         public class ResolveHandle {
447         }
448         [Compact]
449         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
450         public class ToplevelURI {
451                 public weak string host_name;
452                 public uint host_port;
453                 public weak string password;
454                 public void* reserved1;
455                 public void* reserved2;
456                 public weak GnomeVFS.URI uri;
457                 public weak string urn;
458                 public weak string user_name;
459         }
460         [Compact]
461         [CCode (ref_function = "gnome_vfs_uri_ref", unref_function = "gnome_vfs_uri_unref", cheader_filename = "libgnomevfs/gnome-vfs.h")]
462         public class URI {
463                 public weak string fragment_id;
464                 public void* method;
465                 public weak string method_string;
466                 public void* parent;
467                 public uint ref_count;
468                 public void* reserved1;
469                 public void* reserved2;
470                 public weak string text;
471                 [CCode (has_construct_function = false)]
472                 public URI (string text_uri);
473                 public unowned GnomeVFS.URI append_file_name (string filename);
474                 public unowned GnomeVFS.URI append_path (string path);
475                 public unowned GnomeVFS.URI append_string (string uri_fragment);
476                 public unowned GnomeVFS.URI dup ();
477                 public bool equal (GnomeVFS.URI b);
478                 public bool exists ();
479                 public unowned string extract_dirname ();
480                 public unowned string extract_short_name ();
481                 public unowned string extract_short_path_name ();
482                 public unowned string get_fragment_identifier ();
483                 public unowned string get_host_name ();
484                 public uint get_host_port ();
485                 public unowned GnomeVFS.URI get_parent ();
486                 public unowned string get_password ();
487                 public unowned string get_path ();
488                 public unowned string get_scheme ();
489                 public unowned GnomeVFS.ToplevelURI get_toplevel ();
490                 public unowned string get_user_name ();
491                 public bool has_parent ();
492                 public static uint hash (void* p);
493                 public static int hequal (void* a, void* b);
494                 public bool is_local ();
495                 public bool is_parent (GnomeVFS.URI possible_child, bool recursive);
496                 public static unowned GLib.List list_copy (GLib.List list);
497                 public static void list_free (GLib.List list);
498                 public static unowned GLib.List list_parse (string uri_list);
499                 public static unowned GLib.List list_ref (GLib.List list);
500                 public static unowned GLib.List list_unref (GLib.List list);
501                 public static unowned string make_full_from_relative (string base_uri, string relative_uri);
502                 public unowned GnomeVFS.URI resolve_relative (string relative_reference);
503                 public unowned GnomeVFS.URI resolve_symbolic_link (string relative_reference);
504                 public void set_host_name (string host_name);
505                 public void set_host_port (uint host_port);
506                 public void set_password (string password);
507                 public void set_user_name (string user_name);
508                 public unowned string to_string (GnomeVFS.URIHideOptions hide_options);
509         }
510         [CCode (type_check_function = "GNOME_IS_VFS_VOLUME", cheader_filename = "libgnomevfs/gnome-vfs.h")]
511         public class Volume : GLib.Object {
512                 [CCode (has_construct_function = false)]
513                 protected Volume ();
514                 public int compare (GnomeVFS.Volume b);
515                 public void eject (GnomeVFS.VolumeOpCallback callback);
516                 public unowned string get_activation_uri ();
517                 public unowned string get_device_path ();
518                 public GnomeVFS.DeviceType get_device_type ();
519                 public unowned string get_display_name ();
520                 public unowned GnomeVFS.Drive get_drive ();
521                 public unowned string get_filesystem_type ();
522                 public unowned string get_hal_udi ();
523                 public unowned string get_icon ();
524                 public ulong get_id ();
525                 public GnomeVFS.VolumeType get_volume_type ();
526                 public bool handles_trash ();
527                 public bool is_mounted ();
528                 public bool is_read_only ();
529                 public bool is_user_visible ();
530                 public unowned GnomeVFS.Volume @ref ();
531                 public void unmount (GnomeVFS.VolumeOpCallback callback);
532                 public void unref ();
533         }
534         [CCode (type_check_function = "GNOME_IS_VFS_VOLUME_MONITOR", cheader_filename = "libgnomevfs/gnome-vfs.h")]
535         public class VolumeMonitor : GLib.Object {
536                 [CCode (has_construct_function = false)]
537                 protected VolumeMonitor ();
538                 public GLib.List<GnomeVFS.Drive> get_connected_drives ();
539                 public unowned GnomeVFS.Drive get_drive_by_id (ulong id);
540                 public unowned GLib.List get_mounted_volumes ();
541                 public GnomeVFS.Volume get_volume_by_id (ulong id);
542                 public unowned GnomeVFS.Volume get_volume_for_path (string path);
543                 public unowned GnomeVFS.VolumeMonitor @ref ();
544                 public void unref ();
545                 public virtual signal void drive_connected (GnomeVFS.Drive drive);
546                 public virtual signal void drive_disconnected (GnomeVFS.Drive drive);
547                 public virtual signal void volume_mounted (GnomeVFS.Volume volume);
548                 public virtual signal void volume_pre_unmount (GnomeVFS.Volume volume);
549                 public virtual signal void volume_unmounted (GnomeVFS.Volume volume);
550         }
551         [Compact]
552         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
553         public class XferProgressInfo {
554                 public GnomeVFS.FileSize bytes_copied;
555                 public GnomeVFS.FileSize bytes_total;
556                 public int duplicate_count;
557                 public weak string duplicate_name;
558                 public ulong file_index;
559                 public GnomeVFS.FileSize file_size;
560                 public ulong files_total;
561                 public GnomeVFS.XferPhase phase;
562                 public void* reserved1;
563                 public void* reserved2;
564                 public weak string source_name;
565                 public GnomeVFS.XferProgressStatus status;
566                 public weak string target_name;
567                 public bool top_level_item;
568                 public GnomeVFS.FileSize total_bytes_copied;
569                 public GnomeVFS.Result vfs_status;
570         }
571         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
572         [SimpleType]
573         [IntegerType (rank = 0)]
574         public struct FileSize : uint64 {
575         }
576         [CCode (cprefix = "GNOME_VFS_DNS_SD_SERVICE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
577         public enum DNSSDServiceStatus {
578                 ADDED,
579                 REMOVED
580         }
581         [CCode (cprefix = "GNOME_VFS_DEVICE_TYPE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
582         public enum DeviceType {
583                 UNKNOWN,
584                 AUDIO_CD,
585                 VIDEO_DVD,
586                 HARDDRIVE,
587                 CDROM,
588                 FLOPPY,
589                 ZIP,
590                 JAZ,
591                 NFS,
592                 AUTOFS,
593                 CAMERA,
594                 MEMORY_STICK,
595                 SMB,
596                 APPLE,
597                 MUSIC_PLAYER,
598                 WINDOWS,
599                 LOOPBACK,
600                 NETWORK
601         }
602         [CCode (cprefix = "GNOME_VFS_DIRECTORY_VISIT_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
603         [Flags]
604         public enum DirectoryVisitOptions {
605                 DEFAULT,
606                 SAMEFS,
607                 LOOPCHECK,
608                 IGNORE_RECURSE_ERROR
609         }
610         [CCode (cprefix = "GNOME_VFS_FILE_FLAGS_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
611         [Flags]
612         public enum FileFlags {
613                 NONE,
614                 SYMLINK,
615                 LOCAL
616         }
617         [CCode (cprefix = "GNOME_VFS_FILE_INFO_FIELDS_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
618         [Flags]
619         public enum FileInfoFields {
620                 NONE,
621                 TYPE,
622                 PERMISSIONS,
623                 FLAGS,
624                 DEVICE,
625                 INODE,
626                 LINK_COUNT,
627                 SIZE,
628                 BLOCK_COUNT,
629                 IO_BLOCK_SIZE,
630                 ATIME,
631                 MTIME,
632                 CTIME,
633                 SYMLINK_NAME,
634                 MIME_TYPE,
635                 ACCESS,
636                 IDS,
637                 ACL,
638                 SELINUX_CONTEXT
639         }
640         [CCode (cprefix = "GNOME_VFS_FILE_INFO_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
641         [Flags]
642         public enum FileInfoOptions {
643                 DEFAULT,
644                 GET_MIME_TYPE,
645                 FORCE_FAST_MIME_TYPE,
646                 FORCE_SLOW_MIME_TYPE,
647                 FOLLOW_LINKS,
648                 GET_ACCESS_RIGHTS,
649                 NAME_ONLY,
650                 GET_ACL,
651                 GET_SELINUX_CONTEXT
652         }
653         [CCode (cprefix = "GNOME_VFS_PERM_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
654         [Flags]
655         public enum FilePermissions {
656                 SUID,
657                 SGID,
658                 STICKY,
659                 USER_READ,
660                 USER_WRITE,
661                 USER_EXEC,
662                 USER_ALL,
663                 GROUP_READ,
664                 GROUP_WRITE,
665                 GROUP_EXEC,
666                 GROUP_ALL,
667                 OTHER_READ,
668                 OTHER_WRITE,
669                 OTHER_EXEC,
670                 OTHER_ALL,
671                 ACCESS_READABLE,
672                 ACCESS_WRITABLE,
673                 ACCESS_EXECUTABLE
674         }
675         [CCode (cprefix = "GNOME_VFS_FILE_TYPE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
676         public enum FileType {
677                 UNKNOWN,
678                 REGULAR,
679                 DIRECTORY,
680                 FIFO,
681                 SOCKET,
682                 CHARACTER_DEVICE,
683                 BLOCK_DEVICE,
684                 SYMBOLIC_LINK
685         }
686         [CCode (cprefix = "GNOME_VFS_DIRECTORY_KIND_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
687         public enum FindDirectoryKind {
688                 DESKTOP,
689                 TRASH
690         }
691         [CCode (cprefix = "GNOME_VFS_MAKE_URI_DIR_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
692         [Flags]
693         public enum MakeURIDirs {
694                 NONE,
695                 HOMEDIR,
696                 CURRENT
697         }
698         [CCode (cprefix = "GNOME_VFS_MIME_ACTION_TYPE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
699         public enum MimeActionType {
700                 NONE,
701                 APPLICATION,
702                 COMPONENT
703         }
704         [CCode (cprefix = "GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
705         public enum MimeApplicationArgumentType {
706                 URIS,
707                 PATHS,
708                 URIS_FOR_NON_FILES
709         }
710         [CCode (cprefix = "GNOME_VFS_MIME_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
711         public enum MimeEquivalence {
712                 UNRELATED,
713                 IDENTICAL,
714                 PARENT
715         }
716         [CCode (cprefix = "", cheader_filename = "libgnomevfs/gnome-vfs.h")]
717         public enum ModuleCallbackAuthenticationAuthType {
718                 AuthTypeBasic,
719                 AuthTypeDigest
720         }
721         [CCode (cprefix = "GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
722         [Flags]
723         public enum ModuleCallbackFullAuthenticationFlags {
724                 PREVIOUS_ATTEMPT_FAILED,
725                 NEED_PASSWORD,
726                 NEED_USERNAME,
727                 NEED_DOMAIN,
728                 SAVING_SUPPORTED,
729                 ANON_SUPPORTED
730         }
731         [CCode (cprefix = "GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_OUT_ANON_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
732         [Flags]
733         public enum ModuleCallbackFullAuthenticationOutFlags {
734                 SELECTED
735         }
736         [CCode (cprefix = "GNOME_VFS_MONITOR_EVENT_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
737         public enum MonitorEventType {
738                 CHANGED,
739                 DELETED,
740                 STARTEXECUTING,
741                 STOPEXECUTING,
742                 CREATED,
743                 METADATA_CHANGED
744         }
745         [CCode (cprefix = "GNOME_VFS_MONITOR_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
746         public enum MonitorType {
747                 FILE,
748                 DIRECTORY
749         }
750         [CCode (cprefix = "GNOME_VFS_OPEN_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
751         [Flags]
752         public enum OpenMode {
753                 NONE,
754                 READ,
755                 WRITE,
756                 RANDOM,
757                 TRUNCATE
758         }
759         [CCode (cprefix = "GNOME_VFS_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
760         public enum Result {
761                 OK,
762                 ERROR_NOT_FOUND,
763                 ERROR_GENERIC,
764                 ERROR_INTERNAL,
765                 ERROR_BAD_PARAMETERS,
766                 ERROR_NOT_SUPPORTED,
767                 ERROR_IO,
768                 ERROR_CORRUPTED_DATA,
769                 ERROR_WRONG_FORMAT,
770                 ERROR_BAD_FILE,
771                 ERROR_TOO_BIG,
772                 ERROR_NO_SPACE,
773                 ERROR_READ_ONLY,
774                 ERROR_INVALID_URI,
775                 ERROR_NOT_OPEN,
776                 ERROR_INVALID_OPEN_MODE,
777                 ERROR_ACCESS_DENIED,
778                 ERROR_TOO_MANY_OPEN_FILES,
779                 ERROR_EOF,
780                 ERROR_NOT_A_DIRECTORY,
781                 ERROR_IN_PROGRESS,
782                 ERROR_INTERRUPTED,
783                 ERROR_FILE_EXISTS,
784                 ERROR_LOOP,
785                 ERROR_NOT_PERMITTED,
786                 ERROR_IS_DIRECTORY,
787                 ERROR_NO_MEMORY,
788                 ERROR_HOST_NOT_FOUND,
789                 ERROR_INVALID_HOST_NAME,
790                 ERROR_HOST_HAS_NO_ADDRESS,
791                 ERROR_LOGIN_FAILED,
792                 ERROR_CANCELLED,
793                 ERROR_DIRECTORY_BUSY,
794                 ERROR_DIRECTORY_NOT_EMPTY,
795                 ERROR_TOO_MANY_LINKS,
796                 ERROR_READ_ONLY_FILE_SYSTEM,
797                 ERROR_NOT_SAME_FILE_SYSTEM,
798                 ERROR_NAME_TOO_LONG,
799                 ERROR_SERVICE_NOT_AVAILABLE,
800                 ERROR_SERVICE_OBSOLETE,
801                 ERROR_PROTOCOL_ERROR,
802                 ERROR_NO_MASTER_BROWSER,
803                 ERROR_NO_DEFAULT,
804                 ERROR_NO_HANDLER,
805                 ERROR_PARSE,
806                 ERROR_LAUNCH,
807                 ERROR_TIMEOUT,
808                 ERROR_NAMESERVER,
809                 ERROR_LOCKED,
810                 ERROR_DEPRECATED_FUNCTION,
811                 ERROR_INVALID_FILENAME,
812                 ERROR_NOT_A_SYMBOLIC_LINK,
813                 NUM_ERRORS
814         }
815         [CCode (cprefix = "GNOME_VFS_SEEK_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
816         public enum SeekPosition {
817                 START,
818                 CURRENT,
819                 END
820         }
821         [CCode (cprefix = "GNOME_VFS_SET_FILE_INFO_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
822         [Flags]
823         public enum SetFileInfoMask {
824                 NONE,
825                 NAME,
826                 PERMISSIONS,
827                 OWNER,
828                 TIME,
829                 ACL,
830                 SELINUX_CONTEXT,
831                 SYMLINK_NAME
832         }
833         [CCode (cprefix = "GNOME_VFS_URI_HIDE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
834         [Flags]
835         public enum URIHideOptions {
836                 NONE,
837                 USER_NAME,
838                 PASSWORD,
839                 HOST_NAME,
840                 HOST_PORT,
841                 TOPLEVEL_METHOD,
842                 FRAGMENT_IDENTIFIER
843         }
844         [CCode (cprefix = "GNOME_VFS_VOLUME_TYPE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
845         public enum VolumeType {
846                 MOUNTPOINT,
847                 VFS_MOUNT,
848                 CONNECTED_SERVER
849         }
850         [CCode (cprefix = "GNOME_VFS_XFER_ERROR_ACTION_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
851         public enum XferErrorAction {
852                 ABORT,
853                 RETRY,
854                 SKIP
855         }
856         [CCode (cprefix = "GNOME_VFS_XFER_ERROR_MODE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
857         public enum XferErrorMode {
858                 ABORT,
859                 QUERY
860         }
861         [CCode (cprefix = "GNOME_VFS_XFER_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
862         [Flags]
863         public enum XferOptions {
864                 DEFAULT,
865                 UNUSED_1,
866                 FOLLOW_LINKS,
867                 UNUSED_2,
868                 RECURSIVE,
869                 SAMEFS,
870                 DELETE_ITEMS,
871                 EMPTY_DIRECTORIES,
872                 NEW_UNIQUE_DIRECTORY,
873                 REMOVESOURCE,
874                 USE_UNIQUE_NAMES,
875                 LINK_ITEMS,
876                 FOLLOW_LINKS_RECURSIVE,
877                 TARGET_DEFAULT_PERMS
878         }
879         [CCode (cprefix = "GNOME_VFS_XFER_OVERWRITE_ACTION_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
880         public enum XferOverwriteAction {
881                 ABORT,
882                 REPLACE,
883                 REPLACE_ALL,
884                 SKIP,
885                 SKIP_ALL
886         }
887         [CCode (cprefix = "GNOME_VFS_XFER_OVERWRITE_MODE_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
888         public enum XferOverwriteMode {
889                 ABORT,
890                 QUERY,
891                 REPLACE,
892                 SKIP
893         }
894         [CCode (cprefix = "GNOME_VFS_XFER_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
895         public enum XferPhase {
896                 PHASE_INITIAL,
897                 CHECKING_DESTINATION,
898                 PHASE_COLLECTING,
899                 PHASE_READYTOGO,
900                 PHASE_OPENSOURCE,
901                 PHASE_OPENTARGET,
902                 PHASE_COPYING,
903                 PHASE_MOVING,
904                 PHASE_READSOURCE,
905                 PHASE_WRITETARGET,
906                 PHASE_CLOSESOURCE,
907                 PHASE_CLOSETARGET,
908                 PHASE_DELETESOURCE,
909                 PHASE_SETATTRIBUTES,
910                 PHASE_FILECOMPLETED,
911                 PHASE_CLEANUP,
912                 PHASE_COMPLETED,
913                 NUM_PHASES
914         }
915         [CCode (cprefix = "GNOME_VFS_XFER_PROGRESS_STATUS_", cheader_filename = "libgnomevfs/gnome-vfs.h")]
916         public enum XferProgressStatus {
917                 OK,
918                 VFSERROR,
919                 OVERWRITE,
920                 DUPLICATE
921         }
922         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
923         public delegate void AsyncCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
924         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
925         public delegate void AsyncCloseCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
926         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
927         public delegate void AsyncCreateAsChannelCallback (GnomeVFS.AsyncHandle handle, GLib.IOChannel channel, GnomeVFS.Result result, void* callback_data);
928         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
929         public delegate void AsyncCreateCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
930         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
931         public delegate void AsyncDirectoryLoadCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, GLib.List list, uint entries_read, void* callback_data);
932         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
933         public delegate void AsyncFileControlCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* operation_data, void* callback_data);
934         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
935         public delegate void AsyncFindDirectoryCallback (GnomeVFS.AsyncHandle handle, GLib.List results);
936         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
937         public delegate void AsyncGetFileInfoCallback (GnomeVFS.AsyncHandle handle, GLib.List results, void* callback_data);
938         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
939         public delegate void AsyncModuleCallback (void* @in, size_t in_size, void* @out, size_t out_size, void* callback_data, GnomeVFS.ModuleCallbackResponse response, void* response_data);
940         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
941         public delegate void AsyncOpenAsChannelCallback (GnomeVFS.AsyncHandle handle, GLib.IOChannel channel, GnomeVFS.Result result, void* callback_data);
942         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
943         public delegate void AsyncOpenCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
944         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
945         public delegate void AsyncReadCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* buffer, GnomeVFS.FileSize bytes_requested, GnomeVFS.FileSize bytes_read, void* callback_data);
946         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
947         public delegate void AsyncSeekCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* callback_data);
948         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
949         public delegate void AsyncSetFileInfoCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, GnomeVFS.FileInfo file_info, void* callback_data);
950         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
951         public delegate void AsyncWriteCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.Result result, void* buffer, GnomeVFS.FileSize bytes_requested, GnomeVFS.FileSize bytes_written, void* callback_data);
952         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
953         public delegate int AsyncXferProgressCallback (GnomeVFS.AsyncHandle handle, GnomeVFS.XferProgressInfo info);
954         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
955         public delegate void DNSSDBrowseCallback (GnomeVFS.DNSSDBrowseHandle handle, GnomeVFS.DNSSDServiceStatus status, GnomeVFS.DNSSDService service, void* callback_data);
956         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
957         public delegate void DNSSDResolveCallback (GnomeVFS.DNSSDResolveHandle handle, GnomeVFS.Result result, GnomeVFS.DNSSDService service, string host, int port, GLib.HashTable text, int text_raw_len, string text_raw, void* callback_data);
958         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
959         public delegate bool DirectoryVisitFunc (string rel_path, GnomeVFS.FileInfo info, bool recursing_will_loop, void* user_data, bool recurse);
960         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
961         public delegate void ModuleCallback (void* @in, size_t in_size, void* @out, size_t out_size, void* callback_data);
962         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h", has_target = false)]
963         public delegate void ModuleCallbackResponse (void* response_data);
964         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
965         public delegate void MonitorCallback (GnomeVFS.MonitorHandle handle, string monitor_uri, string info_uri, GnomeVFS.MonitorEventType event_type);
966         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
967         public delegate void VolumeOpCallback (bool succeeded, string error, string detailed_error);
968         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
969         public delegate int XferProgressCallback (GnomeVFS.XferProgressInfo info);
970         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
971         public const string APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES;
972         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
973         public const string APPLICATION_REGISTRY_COMMAND;
974         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
975         public const string APPLICATION_REGISTRY_NAME;
976         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
977         public const string APPLICATION_REGISTRY_REQUIRES_TERMINAL;
978         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
979         public const string APPLICATION_REGISTRY_STARTUP_NOTIFY;
980         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
981         public const string APPLICATION_REGISTRY_USES_GNOMEVFS;
982         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
983         public const string DESKTOP_ENTRY_GROUP;
984         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
985         public const int MAJOR_VERSION;
986         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
987         public const int MICRO_VERSION;
988         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
989         public const string MIME_TYPE_UNKNOWN;
990         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
991         public const int MINOR_VERSION;
992         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
993         public const string MODULE_CALLBACK_AUTHENTICATION;
994         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
995         public const string MODULE_CALLBACK_FILL_AUTHENTICATION;
996         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
997         public const string MODULE_CALLBACK_FULL_AUTHENTICATION;
998         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
999         public const string MODULE_CALLBACK_HTTP_PROXY_AUTHENTICATION;
1000         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1001         public const string MODULE_CALLBACK_HTTP_RECEIVED_HEADERS;
1002         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1003         public const string MODULE_CALLBACK_HTTP_SEND_ADDITIONAL_HEADERS;
1004         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1005         public const string MODULE_CALLBACK_QUESTION;
1006         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1007         public const string MODULE_CALLBACK_SAVE_AUTHENTICATION;
1008         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1009         public const string MODULE_CALLBACK_STATUS_MESSAGE;
1010         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1011         public const int PRIORITY_DEFAULT;
1012         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1013         public const int PRIORITY_MAX;
1014         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1015         public const int PRIORITY_MIN;
1016         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1017         public const int S_IRGRP;
1018         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1019         public const int S_IROTH;
1020         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1021         public const int S_ISGID;
1022         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1023         public const int S_ISUID;
1024         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1025         public const int S_IWGRP;
1026         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1027         public const int S_IWOTH;
1028         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1029         public const int S_IXGRP;
1030         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1031         public const int S_IXOTH;
1032         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1033         public const string URI_MAGIC_STR;
1034         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1035         public const string URI_PATH_STR;
1036         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1037         public static bool application_is_user_owned_application (GnomeVFS.MimeApplication application);
1038         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1039         public static void application_registry_add_mime_type (string app_id, string mime_type);
1040         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1041         public static void application_registry_clear_mime_types (string app_id);
1042         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1043         public static bool application_registry_exists (string app_id);
1044         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1045         public static unowned GLib.List application_registry_get_applications (string mime_type);
1046         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1047         public static bool application_registry_get_bool_value (string app_id, string key, bool got_key);
1048         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1049         public static unowned GLib.List application_registry_get_keys (string app_id);
1050         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1051         public static unowned GnomeVFS.MimeApplication application_registry_get_mime_application (string app_id);
1052         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1053         public static unowned GLib.List application_registry_get_mime_types (string app_id);
1054         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1055         public static unowned string application_registry_peek_value (string app_id, string key);
1056         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1057         public static void application_registry_reload ();
1058         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1059         public static void application_registry_remove_application (string app_id);
1060         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1061         public static void application_registry_remove_mime_type (string app_id, string mime_type);
1062         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1063         public static void application_registry_save_mime_application (GnomeVFS.MimeApplication application);
1064         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1065         public static void application_registry_set_bool_value (string app_id, string key, bool value);
1066         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1067         public static void application_registry_set_value (string app_id, string key, string value);
1068         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1069         public static void application_registry_shutdown ();
1070         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1071         public static bool application_registry_supports_mime_type (string app_id, string mime_type);
1072         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1073         public static bool application_registry_supports_uri_scheme (string app_id, string uri_scheme);
1074         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1075         public static GnomeVFS.Result application_registry_sync ();
1076         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1077         public static void application_registry_unset_key (string app_id, string key);
1078         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1079         public static void async_cancel (GnomeVFS.AsyncHandle handle);
1080         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1081         public static void async_close (GnomeVFS.AsyncHandle handle, GnomeVFS.AsyncCloseCallback callback, void* callback_data);
1082         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1083         public static void async_create (out unowned GnomeVFS.AsyncHandle handle_return, string text_uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm, int priority, GnomeVFS.AsyncOpenCallback callback, void* callback_data);
1084         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1085         public static void async_create_as_channel (out unowned GnomeVFS.AsyncHandle handle_return, string text_uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm, int priority, GnomeVFS.AsyncCreateAsChannelCallback callback, void* callback_data);
1086         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1087         public static void async_create_symbolic_link (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, string uri_reference, int priority, GnomeVFS.AsyncOpenCallback callback, void* callback_data);
1088         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1089         public static void async_create_uri (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm, int priority, GnomeVFS.AsyncOpenCallback callback, void* callback_data);
1090         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1091         public static void async_create_uri_as_channel (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm, int priority, GnomeVFS.AsyncCreateAsChannelCallback callback, void* callback_data);
1092         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1093         public static void async_file_control (GnomeVFS.AsyncHandle handle, string operation, void* operation_data, GLib.DestroyNotify operation_data_destroy_func, GnomeVFS.AsyncFileControlCallback callback, void* callback_data);
1094         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1095         public static void async_find_directory (out unowned GnomeVFS.AsyncHandle handle_return, GLib.List near_uri_list, GnomeVFS.FindDirectoryKind kind, bool create_if_needed, bool find_if_needed, uint permissions, int priority, GnomeVFS.AsyncFindDirectoryCallback callback);
1096         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1097         public static void async_get_file_info (out unowned GnomeVFS.AsyncHandle handle_return, GLib.List uri_list, GnomeVFS.FileInfoOptions options, int priority, GnomeVFS.AsyncGetFileInfoCallback callback, void* callback_data);
1098         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1099         public static int async_get_job_limit ();
1100         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1101         public static void async_load_directory (out unowned GnomeVFS.AsyncHandle handle_return, string text_uri, GnomeVFS.FileInfoOptions options, uint items_per_notification, int priority, GnomeVFS.AsyncDirectoryLoadCallback callback, void* callback_data);
1102         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1103         public static void async_load_directory_uri (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.FileInfoOptions options, uint items_per_notification, int priority, GnomeVFS.AsyncDirectoryLoadCallback callback, void* callback_data);
1104         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1105         public static void async_module_callback_pop (string callback_name);
1106         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1107         public static void async_module_callback_push (string callback_name, GnomeVFS.AsyncModuleCallback callback, void* callback_data, GLib.DestroyNotify destroy_notify);
1108         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1109         public static void async_module_callback_set_default (string callback_name, GnomeVFS.AsyncModuleCallback callback, void* callback_data, GLib.DestroyNotify destroy_notify);
1110         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1111         public static void async_open (out unowned GnomeVFS.AsyncHandle handle_return, string text_uri, GnomeVFS.OpenMode open_mode, int priority, GnomeVFS.AsyncOpenCallback callback, void* callback_data);
1112         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1113         public static void async_open_as_channel (out unowned GnomeVFS.AsyncHandle handle_return, string text_uri, GnomeVFS.OpenMode open_mode, uint advised_block_size, int priority, GnomeVFS.AsyncOpenAsChannelCallback callback, void* callback_data);
1114         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1115         public static void async_open_uri (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode, int priority, GnomeVFS.AsyncOpenCallback callback, void* callback_data);
1116         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1117         public static void async_open_uri_as_channel (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode, uint advised_block_size, int priority, GnomeVFS.AsyncOpenAsChannelCallback callback, void* callback_data);
1118         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1119         public static void async_read (GnomeVFS.AsyncHandle handle, void* buffer, uint bytes, GnomeVFS.AsyncReadCallback callback, void* callback_data);
1120         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1121         public static void async_seek (GnomeVFS.AsyncHandle handle, GnomeVFS.SeekPosition whence, GnomeVFS.FileOffset offset, GnomeVFS.AsyncSeekCallback callback, void* callback_data);
1122         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1123         public static void async_set_file_info (out unowned GnomeVFS.AsyncHandle handle_return, GnomeVFS.URI uri, GnomeVFS.FileInfo info, GnomeVFS.SetFileInfoMask mask, GnomeVFS.FileInfoOptions options, int priority, GnomeVFS.AsyncSetFileInfoCallback callback, void* callback_data);
1124         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1125         public static void async_set_job_limit (int limit);
1126         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1127         public static void async_write (GnomeVFS.AsyncHandle handle, void* buffer, uint bytes, GnomeVFS.AsyncWriteCallback callback, void* callback_data);
1128         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1129         public static GnomeVFS.Result async_xfer (out unowned GnomeVFS.AsyncHandle handle_return, GLib.List source_uri_list, GLib.List target_uri_list, GnomeVFS.XferOptions xfer_options, GnomeVFS.XferErrorMode error_mode, GnomeVFS.XferOverwriteMode overwrite_mode, int priority, GnomeVFS.AsyncXferProgressCallback progress_update_callback, GnomeVFS.XferProgressCallback? progress_sync_callback);
1130         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1131         public static GnomeVFS.Result check_same_fs (string source, string target, bool same_fs_return);
1132         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1133         public static GnomeVFS.Result check_same_fs_uris (GnomeVFS.URI source_uri, GnomeVFS.URI target_uri, bool same_fs_return);
1134         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1135         public static GnomeVFS.Result close (GnomeVFS.Handle handle);
1136         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1137         public static void connect_to_server (string uri, string display_name, string icon);
1138         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1139         public static GnomeVFS.Result create (out unowned GnomeVFS.Handle handle, string text_uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm);
1140         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1141         public static GnomeVFS.Result create_symbolic_link (GnomeVFS.URI uri, string target_reference);
1142         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1143         public static GnomeVFS.Result create_uri (out unowned GnomeVFS.Handle handle, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode, bool exclusive, uint perm);
1144         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1145         public static GnomeVFS.Result directory_close (GnomeVFS.DirectoryHandle handle);
1146         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1147         public static GnomeVFS.Result directory_list_load (GLib.List list, string text_uri, GnomeVFS.FileInfoOptions options);
1148         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1149         public static GnomeVFS.Result directory_open (out unowned GnomeVFS.DirectoryHandle handle, string text_uri, GnomeVFS.FileInfoOptions options);
1150         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1151         public static GnomeVFS.Result directory_open_from_uri (out unowned GnomeVFS.DirectoryHandle handle, GnomeVFS.URI uri, GnomeVFS.FileInfoOptions options);
1152         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1153         public static GnomeVFS.Result directory_read_next (GnomeVFS.DirectoryHandle handle, GnomeVFS.FileInfo file_info);
1154         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1155         public static GnomeVFS.Result directory_visit (string text_uri, GnomeVFS.FileInfoOptions info_options, GnomeVFS.DirectoryVisitOptions visit_options, GnomeVFS.DirectoryVisitFunc callback, void* data);
1156         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1157         public static GnomeVFS.Result directory_visit_files (string text_uri, GLib.List file_list, GnomeVFS.FileInfoOptions info_options, GnomeVFS.DirectoryVisitOptions visit_options, GnomeVFS.DirectoryVisitFunc callback, void* data);
1158         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1159         public static GnomeVFS.Result directory_visit_files_at_uri (GnomeVFS.URI uri, GLib.List file_list, GnomeVFS.FileInfoOptions info_options, GnomeVFS.DirectoryVisitOptions visit_options, GnomeVFS.DirectoryVisitFunc callback, void* data);
1160         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1161         public static GnomeVFS.Result directory_visit_uri (GnomeVFS.URI uri, GnomeVFS.FileInfoOptions info_options, GnomeVFS.DirectoryVisitOptions visit_options, GnomeVFS.DirectoryVisitFunc callback, void* data);
1162         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1163         public static GnomeVFS.Result dns_sd_browse (out unowned GnomeVFS.DNSSDBrowseHandle handle, string domain, string type, GnomeVFS.DNSSDBrowseCallback callback, void* callback_data, GLib.DestroyNotify callback_data_destroy_func);
1164         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1165         public static GnomeVFS.Result dns_sd_browse_sync (string domain, string type, int timeout_msec, int n_services, out unowned GnomeVFS.DNSSDService services);
1166         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1167         public static GnomeVFS.Result dns_sd_cancel_resolve (GnomeVFS.DNSSDResolveHandle handle);
1168         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1169         public static GnomeVFS.Result dns_sd_list_browse_domains_sync (string domain, int timeout_msec, GLib.List domains);
1170         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1171         public static GnomeVFS.Result dns_sd_resolve (out unowned GnomeVFS.DNSSDResolveHandle handle, string name, string type, string domain, int timeout, GnomeVFS.DNSSDResolveCallback callback, void* callback_data, GLib.DestroyNotify callback_data_destroy_func);
1172         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1173         public static GnomeVFS.Result dns_sd_resolve_sync (string name, string type, string domain, int timeout_msec, out unowned string host, int port, GLib.HashTable text, int text_raw_len_out, out unowned string text_raw_out);
1174         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1175         public static GnomeVFS.Result dns_sd_stop_browse (GnomeVFS.DNSSDBrowseHandle handle);
1176         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1177         public static unowned string escape_host_and_path_string (string path);
1178         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1179         public static unowned string escape_path_string (string path);
1180         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1181         public static unowned string escape_set (string str, string match_set);
1182         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1183         public static unowned string escape_slashes (string str);
1184         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1185         public static unowned string escape_string (string str);
1186         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1187         public static unowned string expand_initial_tilde (string path);
1188         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1189         public static GnomeVFS.Result file_control (GnomeVFS.Handle handle, string operation, void* operation_data);
1190         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1191         public static GnomeVFS.Result find_directory (GnomeVFS.URI near_uri, GnomeVFS.FindDirectoryKind kind, out unowned GnomeVFS.URI _result, bool create_if_needed, bool find_if_needed, uint permissions);
1192         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1193         public static GnomeVFS.Result forget_cache (GnomeVFS.Handle handle, GnomeVFS.FileOffset offset, GnomeVFS.FileSize size);
1194         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1195         public static unowned string format_file_size_for_display (GnomeVFS.FileSize size);
1196         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1197         public static unowned string format_uri_for_display (string uri);
1198         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1199         public static unowned GLib.List get_default_browse_domains ();
1200         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1201         public static GnomeVFS.Result get_file_info (string text_uri, GnomeVFS.FileInfo info, GnomeVFS.FileInfoOptions options);
1202         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1203         public static GnomeVFS.Result get_file_info_from_handle (GnomeVFS.Handle handle, GnomeVFS.FileInfo info, GnomeVFS.FileInfoOptions options);
1204         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1205         public static GnomeVFS.Result get_file_info_uri (GnomeVFS.URI uri, GnomeVFS.FileInfo info, GnomeVFS.FileInfoOptions options);
1206         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1207         public static unowned string get_file_mime_type (string path, void* optional_stat_info, bool suffix_only);
1208         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1209         public static unowned string get_file_mime_type_fast (string path, void* optional_stat_info);
1210         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1211         public static unowned string get_local_path_from_uri (string uri);
1212         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1213         public static unowned string get_mime_type (string text_uri);
1214         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1215         public static unowned string get_mime_type_common (GnomeVFS.URI uri);
1216         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1217         public static unowned string get_mime_type_for_data (void* data, int data_size);
1218         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1219         public static unowned string get_mime_type_for_name (string filename);
1220         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1221         public static unowned string get_mime_type_for_name_and_data (string filename, void* data, ssize_t data_size);
1222         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1223         public static unowned string get_mime_type_from_file_data (GnomeVFS.URI uri);
1224         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1225         public static unowned string get_mime_type_from_uri (GnomeVFS.URI uri);
1226         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1227         public static unowned string get_slow_mime_type (string text_uri);
1228         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1229         public static unowned string get_supertype_from_mime_type (string mime_type);
1230         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1231         public static unowned string get_uri_from_local_path (string local_full_path);
1232         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1233         public static unowned string get_uri_scheme (string uri);
1234         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1235         public static GnomeVFS.Result get_volume_free_space (GnomeVFS.URI vfs_uri, GnomeVFS.FileSize size);
1236         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1237         public static unowned GnomeVFS.VolumeMonitor get_volume_monitor ();
1238         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1239         public static unowned string icon_path_from_filename (string filename);
1240         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1241         public static bool init ();
1242         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1243         public static bool initialized ();
1244         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1245         public static bool is_executable_command_string (string command_string);
1246         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1247         public static bool is_primary_thread ();
1248         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1249         public static void list_deep_free (GLib.List list);
1250         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1251         public static void loadinit (void* app, void* modinfo);
1252         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1253         public static GnomeVFS.Result make_directory (string text_uri, uint perm);
1254         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1255         public static GnomeVFS.Result make_directory_for_uri (GnomeVFS.URI uri, uint perm);
1256         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1257         public static unowned string make_path_name_canonical (string path);
1258         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1259         public static unowned string make_uri_canonical (string uri);
1260         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1261         public static unowned string make_uri_canonical_strip_fragment (string uri);
1262         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1263         public static unowned string make_uri_from_input (string location);
1264         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1265         public static unowned string make_uri_from_input_with_dirs (string location, GnomeVFS.MakeURIDirs dirs);
1266         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1267         public static unowned string make_uri_from_input_with_trailing_ws (string location);
1268         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1269         public static unowned string make_uri_from_shell_arg (string uri);
1270         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1271         public static unowned string make_uri_full_from_relative (string base_uri, string relative_uri);
1272         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1273         public static GnomeVFS.Result mime_add_application_to_short_list (string mime_type, string application_id);
1274         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1275         public static GnomeVFS.Result mime_add_component_to_short_list (string mime_type, string iid);
1276         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1277         public static GnomeVFS.Result mime_add_extension (string mime_type, string extension);
1278         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1279         public static bool mime_can_be_executable (string mime_type);
1280         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1281         public static void mime_component_list_free (GLib.List list);
1282         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1283         public static GnomeVFS.Result mime_extend_all_applications (string mime_type, GLib.List application_ids);
1284         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1285         public static unowned GLib.List mime_get_all_applications (string mime_type);
1286         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1287         public static unowned GLib.List mime_get_all_applications_for_uri (string uri, string mime_type);
1288         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1289         public static unowned GLib.List mime_get_all_components (string mime_type);
1290         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1291         public static unowned GLib.List mime_get_all_desktop_entries (string mime_type);
1292         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1293         public static unowned GnomeVFS.MimeAction mime_get_default_action (string mime_type);
1294         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1295         public static GnomeVFS.MimeActionType mime_get_default_action_type (string mime_type);
1296         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1297         public static unowned GnomeVFS.MimeApplication mime_get_default_application (string mime_type);
1298         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1299         public static unowned GnomeVFS.MimeApplication mime_get_default_application_for_uri (string uri, string mime_type);
1300         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1301         public static void* mime_get_default_component (string mime_type);
1302         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1303         public static unowned string mime_get_default_desktop_entry (string mime_type);
1304         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1305         public static unowned string mime_get_description (string mime_type);
1306         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1307         public static unowned string mime_get_icon (string mime_type);
1308         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1309         public static unowned GLib.List mime_get_short_list_applications (string mime_type);
1310         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1311         public static unowned GLib.List mime_get_short_list_components (string mime_type);
1312         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1313         public static bool mime_id_in_application_list (string id, GLib.List applications);
1314         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1315         public static bool mime_id_in_component_list (string iid, GLib.List components);
1316         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1317         public static unowned GLib.List mime_id_list_from_application_list (GLib.List applications);
1318         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1319         public static unowned GLib.List mime_id_list_from_component_list (GLib.List components);
1320         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1321         public static void mime_info_cache_reload (string dir);
1322         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1323         public static void mime_reload ();
1324         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1325         public static unowned GLib.List mime_remove_application_from_list (GLib.List applications, string application_id, bool did_remove);
1326         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1327         public static GnomeVFS.Result mime_remove_application_from_short_list (string mime_type, string application_id);
1328         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1329         public static unowned GLib.List mime_remove_component_from_list (GLib.List components, string iid, bool did_remove);
1330         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1331         public static GnomeVFS.Result mime_remove_component_from_short_list (string mime_type, string iid);
1332         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1333         public static GnomeVFS.Result mime_remove_extension (string mime_type, string extension);
1334         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1335         public static GnomeVFS.Result mime_remove_from_all_applications (string mime_type, GLib.List application_ids);
1336         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1337         public static GnomeVFS.Result mime_set_can_be_executable (string mime_type, bool new_value);
1338         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1339         public static GnomeVFS.Result mime_set_default_action_type (string mime_type, GnomeVFS.MimeActionType action_type);
1340         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1341         public static GnomeVFS.Result mime_set_default_application (string mime_type, string application_id);
1342         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1343         public static GnomeVFS.Result mime_set_default_component (string mime_type, string component_iid);
1344         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1345         public static GnomeVFS.Result mime_set_description (string mime_type, string description);
1346         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1347         public static GnomeVFS.Result mime_set_icon (string mime_type, string filename);
1348         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1349         public static GnomeVFS.Result mime_set_short_list_applications (string mime_type, GLib.List application_ids);
1350         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1351         public static GnomeVFS.Result mime_set_short_list_components (string mime_type, GLib.List component_iids);
1352         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1353         public static void mime_shutdown ();
1354         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1355         public static unowned string mime_type_from_name (string filename);
1356         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1357         public static unowned string mime_type_from_name_or_default (string filename, string defaultv);
1358         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1359         public static GnomeVFS.MimeEquivalence mime_type_get_equivalence (string mime_type, string base_mime_type);
1360         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1361         public static bool mime_type_is_equal (string a, string b);
1362         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1363         public static bool mime_type_is_supertype (string mime_type);
1364         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1365         public static void module_callback_pop (string callback_name);
1366         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1367         public static void module_callback_push (string callback_name, GnomeVFS.ModuleCallback callback, void* callback_data, GLib.DestroyNotify destroy_notify);
1368         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1369         public static void module_callback_set_default (string callback_name, GnomeVFS.ModuleCallback callback, void* callback_data, GLib.DestroyNotify destroy_notify);
1370         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1371         public static GnomeVFS.Result monitor_add (out unowned GnomeVFS.MonitorHandle handle, string text_uri, GnomeVFS.MonitorType monitor_type, GnomeVFS.MonitorCallback callback);
1372         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1373         public static GnomeVFS.Result monitor_cancel (GnomeVFS.MonitorHandle handle);
1374         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1375         public static GnomeVFS.Result move (string old_text_uri, string new_text_uri, bool force_replace);
1376         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1377         public static GnomeVFS.Result move_uri (GnomeVFS.URI old_uri, GnomeVFS.URI new_uri, bool force_replace);
1378         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1379         public static GnomeVFS.Result open (out unowned GnomeVFS.Handle handle, string text_uri, GnomeVFS.OpenMode open_mode);
1380         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1381         public static GnomeVFS.Result open_fd (out unowned GnomeVFS.Handle handle, int filedes);
1382         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1383         public static GnomeVFS.Result open_uri (out unowned GnomeVFS.Handle handle, GnomeVFS.URI uri, GnomeVFS.OpenMode open_mode);
1384         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1385         public static void postinit (void* app, void* modinfo);
1386         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1387         public static void preinit (void* app, void* modinfo);
1388         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1389         public static GnomeVFS.Result read (GnomeVFS.Handle handle, void* buffer, GnomeVFS.FileSize bytes, out GnomeVFS.FileSize bytes_read);
1390         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1391         public static GnomeVFS.Result read_entire_file (string uri, int file_size, out unowned string file_contents);
1392         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1393         public static GnomeVFS.Result remove_directory (string text_uri);
1394         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1395         public static GnomeVFS.Result remove_directory_from_uri (GnomeVFS.URI uri);
1396         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1397         public static GnomeVFS.Result resolve (string hostname, out unowned GnomeVFS.ResolveHandle handle);
1398         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1399         public static void resolve_free (GnomeVFS.ResolveHandle handle);
1400         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1401         public static bool resolve_next_address (GnomeVFS.ResolveHandle handle, out unowned GnomeVFS.Address address);
1402         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1403         public static void resolve_reset_to_beginning (GnomeVFS.ResolveHandle handle);
1404         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1405         public static GnomeVFS.Result result_from_errno ();
1406         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1407         public static GnomeVFS.Result result_from_errno_code (int errno_code);
1408         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1409         public static GnomeVFS.Result result_from_h_errno ();
1410         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1411         public static GnomeVFS.Result result_from_h_errno_val (int h_errno_code);
1412         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1413         public static unowned string result_to_string (GnomeVFS.Result _result);
1414         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1415         public static GnomeVFS.Result seek (GnomeVFS.Handle handle, GnomeVFS.SeekPosition whence, GnomeVFS.FileOffset offset);
1416         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1417         public static GnomeVFS.Result set_file_info (string text_uri, GnomeVFS.FileInfo info, GnomeVFS.SetFileInfoMask mask);
1418         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1419         public static GnomeVFS.Result set_file_info_uri (GnomeVFS.URI uri, GnomeVFS.FileInfo info, GnomeVFS.SetFileInfoMask mask);
1420         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1421         public static void shutdown ();
1422         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1423         public static GnomeVFS.Result tell (GnomeVFS.Handle handle, GnomeVFS.FileSize offset_return);
1424         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1425         public static GnomeVFS.Result truncate (string text_uri, GnomeVFS.FileSize length);
1426         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1427         public static GnomeVFS.Result truncate_handle (GnomeVFS.Handle handle, GnomeVFS.FileSize length);
1428         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1429         public static GnomeVFS.Result truncate_uri (GnomeVFS.URI uri, GnomeVFS.FileSize length);
1430         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1431         public static unowned string unescape_string (string escaped_string, string illegal_characters);
1432         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1433         public static unowned string unescape_string_for_display (string escaped);
1434         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1435         public static GnomeVFS.Result unlink (string text_uri);
1436         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1437         public static GnomeVFS.Result unlink_from_uri (GnomeVFS.URI uri);
1438         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1439         public static bool uris_match (string uri_1, string uri_2);
1440         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1441         public static GnomeVFS.Result url_show (string url);
1442         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1443         public static GnomeVFS.Result url_show_with_env (string url, out unowned string envp);
1444         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1445         public static GnomeVFS.Result write (GnomeVFS.Handle handle, void* buffer, GnomeVFS.FileSize bytes, out GnomeVFS.FileSize bytes_written);
1446         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1447         public static GnomeVFS.Result xfer_delete_list (GLib.List source_uri_list, GnomeVFS.XferErrorMode error_mode, GnomeVFS.XferOptions xfer_options, GnomeVFS.XferProgressCallback? progress_callback);
1448         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1449         public static GnomeVFS.Result xfer_uri (GnomeVFS.URI source_uri, GnomeVFS.URI target_uri, GnomeVFS.XferOptions xfer_options, GnomeVFS.XferErrorMode error_mode, GnomeVFS.XferOverwriteMode overwrite_mode, GnomeVFS.XferProgressCallback? progress_callback);
1450         [CCode (cheader_filename = "libgnomevfs/gnome-vfs.h")]
1451         public static GnomeVFS.Result xfer_uri_list (GLib.List source_uri_list, GLib.List target_uri_list, GnomeVFS.XferOptions xfer_options, GnomeVFS.XferErrorMode error_mode, GnomeVFS.XferOverwriteMode overwrite_mode, GnomeVFS.XferProgressCallback? progress_callback);