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