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