summaryrefslogtreecommitdiff
path: root/vapi/gio-2.0.vapi
blob: 7a8ea4853758e730e199e0c2fd667c4cc63ad463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
/* gio-2.0.vapi generated by lt-vapigen, do not modify. */

[CCode (cprefix = "G", lower_case_cprefix = "g_")]
namespace GLib {
	[CCode (cprefix = "G_APP_INFO_CREATE_", cheader_filename = "gio/gvfs.h")]
	public enum AppInfoCreateFlags {
		FLAGS_NONE,
		NEEDS_TERMINAL,
	}
	[CCode (cprefix = "G_DATA_STREAM_BYTE_ORDER_", cheader_filename = "gio/gvfs.h")]
	public enum DataStreamByteOrder {
		BIG_ENDIAN,
		LITTLE_ENDIAN,
		HOST_ENDIAN,
	}
	[CCode (cprefix = "G_DATA_STREAM_NEWLINE_TYPE_", cheader_filename = "gio/gvfs.h")]
	public enum DataStreamNewlineType {
		LF,
		CR,
		CR_LF,
		ANY,
	}
	[CCode (cprefix = "G_FILE_ATTRIBUTE_FLAGS_", cheader_filename = "gio/gvfs.h")]
	public enum FileAttributeFlags {
		NONE,
		COPY_WITH_FILE,
		COPY_WHEN_MOVED,
	}
	[CCode (cprefix = "G_FILE_ATTRIBUTE_STATUS_", cheader_filename = "gio/gvfs.h")]
	public enum FileAttributeStatus {
		UNSET,
		SET,
		ERROR_SETTING,
	}
	[CCode (cprefix = "G_FILE_ATTRIBUTE_TYPE_", cheader_filename = "gio/gvfs.h")]
	public enum FileAttributeType {
		INVALID,
		STRING,
		BYTE_STRING,
		BOOLEAN,
		UINT32,
		INT32,
		UINT64,
		INT64,
		OBJECT,
	}
	[CCode (cprefix = "G_FILE_COPY_", cheader_filename = "gio/gvfs.h")]
	public enum FileCopyFlags {
		OVERWRITE,
		BACKUP,
		NOFOLLOW_SYMLINKS,
		ALL_METADATA,
	}
	[CCode (cprefix = "G_FILE_CREATE_FLAGS_", cheader_filename = "gio/gvfs.h")]
	public enum FileCreateFlags {
		NONE,
		PRIVATE,
	}
	[CCode (cprefix = "G_FILE_MONITOR_EVENT_", cheader_filename = "gio/gvfs.h")]
	public enum FileMonitorEvent {
		CHANGED,
		CHANGES_DONE_HINT,
		DELETED,
		CREATED,
		ATTRIBUTE_CHANGED,
		PRE_UNMOUNT,
		UNMOUNTED,
	}
	[CCode (cprefix = "G_FILE_MONITOR_FLAGS_", cheader_filename = "gio/gvfs.h")]
	public enum FileMonitorFlags {
		NONE,
		MONITOR_MOUNTS,
	}
	[CCode (cprefix = "G_FILE_QUERY_INFO_NOFOLLOW_", cheader_filename = "gio/gvfs.h")]
	public enum FileQueryInfoFlags {
		SYMLINKS,
	}
	[CCode (cprefix = "G_FILE_TYPE_", cheader_filename = "gio/gvfs.h")]
	public enum FileType {
		UNKNOWN,
		REGULAR,
		DIRECTORY,
		SYMBOLIC_LINK,
		SPECIAL,
		SHORTCUT,
		MOUNTABLE,
	}
	[CCode (cprefix = "G_IO_ERROR_", cheader_filename = "gio/gvfs.h")]
	public enum IOErrorEnum {
		FAILED,
		NOT_FOUND,
		EXISTS,
		IS_DIRECTORY,
		NOT_DIRECTORY,
		NOT_EMPTY,
		NOT_REGULAR_FILE,
		NOT_SYMBOLIC_LINK,
		NOT_MOUNTABLE_FILE,
		FILENAME_TOO_LONG,
		INVALID_FILENAME,
		TOO_MANY_LINKS,
		NO_SPACE,
		INVALID_ARGUMENT,
		PERMISSION_DENIED,
		NOT_SUPPORTED,
		NOT_MOUNTED,
		ALREADY_MOUNTED,
		CLOSED,
		CANCELLED,
		PENDING,
		READ_ONLY,
		CANT_CREATE_BACKUP,
		WRONG_ETAG,
		TIMED_OUT,
		WOULD_RECURSE,
		BUSY,
		WOULD_BLOCK,
		HOST_NOT_FOUND,
	}
	[CCode (cprefix = "G_PASSWORD_FLAGS_", cheader_filename = "gio/gvfs.h")]
	public enum PasswordFlags {
		NEED_PASSWORD,
		NEED_USERNAME,
		NEED_DOMAIN,
		SAVING_SUPPORTED,
		ANON_SUPPORTED,
	}
	[CCode (cprefix = "G_PASSWORD_SAVE_", cheader_filename = "gio/gvfs.h")]
	public enum PasswordSave {
		NEVER,
		FOR_SESSION,
		PERMANENTLY,
	}
	[CCode (cprefix = "G_UNIX_MOUNT_TYPE_", cheader_filename = "gio/gvfs.h")]
	public enum UnixMountType {
		UNKNOWN,
		FLOPPY,
		CDROM,
		NFS,
		ZIP,
		JAZ,
		MEMSTICK,
		CF,
		SM,
		SDMMC,
		IPOD,
		CAMERA,
		HD,
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class IOModule : GLib.TypeModule {
		public static GLib.Type get_type ();
		public void load ();
		public IOModule (string filename);
		public void unload ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class BufferedInputStream : GLib.FilterInputStream {
		public virtual long fill (long count, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void fill_async (long count, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual long fill_finish (GLib.AsyncResult result) throws GLib.Error;
		public ulong get_availible ();
		public ulong get_buffer_size ();
		public static GLib.Type get_type ();
		public BufferedInputStream (GLib.InputStream base_stream);
		public BufferedInputStream.sized (GLib.InputStream base_stream, ulong size);
		public ulong peek (pointer buffer, ulong offset, ulong count);
		public void set_buffer_size (ulong size);
		public weak uint buffer_size { get; set construct; }
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class BufferedOutputStream : GLib.FilterOutputStream {
		public bool get_auto_grow ();
		public ulong get_buffer_size ();
		public static GLib.Type get_type ();
		public BufferedOutputStream (GLib.OutputStream base_stream);
		public BufferedOutputStream.sized (GLib.OutputStream base_stream, uint size);
		public void set_auto_grow (bool auto_grow);
		public void set_buffer_size (ulong size);
		public weak uint buffer_size { get; construct; }
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class Cancellable : GLib.Object {
		public void cancel ();
		public static weak GLib.Cancellable get_current ();
		public int get_fd ();
		public static GLib.Type get_type ();
		public bool is_cancelled ();
		public Cancellable ();
		public void reset ();
		public bool set_error_if_cancelled () throws GLib.Error;
		public signal void cancelled ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class DataInputStream : GLib.BufferedInputStream {
		public GLib.DataStreamByteOrder get_byte_order ();
		public GLib.DataStreamNewlineType get_newline_type ();
		public static GLib.Type get_type ();
		public DataInputStream (GLib.InputStream base_stream);
		public uchar read_byte (GLib.Cancellable cancellable) throws GLib.Error;
		public short read_int16 (GLib.Cancellable cancellable) throws GLib.Error;
		public int read_int32 (GLib.Cancellable cancellable) throws GLib.Error;
		public int64 read_int64 (GLib.Cancellable cancellable) throws GLib.Error;
		public weak string read_line (ulong length, GLib.Cancellable cancellable) throws GLib.Error;
		public ushort read_uint16 (GLib.Cancellable cancellable) throws GLib.Error;
		public uint read_uint32 (GLib.Cancellable cancellable) throws GLib.Error;
		public uint64 read_uint64 (GLib.Cancellable cancellable) throws GLib.Error;
		public weak string read_until (char stop_char, ulong length, GLib.Cancellable cancellable) throws GLib.Error;
		public void set_byte_order (GLib.DataStreamByteOrder order);
		public void set_newline_type (GLib.DataStreamNewlineType type);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class DataOutputStream : GLib.FilterOutputStream {
		public GLib.DataStreamByteOrder get_byte_order ();
		public static GLib.Type get_type ();
		public DataOutputStream (GLib.OutputStream base_stream);
		public bool put_byte (uchar data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_int16 (short data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_int32 (int data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_int64 (int64 data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_string (string str, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_uint16 (ushort data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_uint32 (uint data, GLib.Cancellable cancellable) throws GLib.Error;
		public bool put_uint64 (uint64 data, GLib.Cancellable cancellable) throws GLib.Error;
		public void set_byte_order (GLib.DataStreamByteOrder order);
		public void set_expand_buffer (bool expand_buffer);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class DesktopAppInfo : GLib.Object, GLib.AppInfo {
		public bool get_is_hidden ();
		public static GLib.Type get_type ();
		public DesktopAppInfo (string desktop_id);
		public DesktopAppInfo.from_filename (string filename);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class DirectoryMonitor : GLib.Object {
		public virtual bool cancel ();
		public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
		public static GLib.Type get_type ();
		public bool is_cancelled ();
		public void set_rate_limit (int limit_msecs);
		public signal void changed (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class DummyFile : GLib.Object, GLib.File {
		public static GLib.Type get_type ();
		public DummyFile (string uri);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileEnumerator : GLib.Object {
		public virtual bool close (GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void close_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual bool close_finish (GLib.AsyncResult res) throws GLib.Error;
		public static GLib.Type get_type ();
		public bool has_pending ();
		public bool is_closed ();
		public virtual weak GLib.FileInfo next_file (GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void next_files_async (int num_files, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual weak GLib.List next_files_finish (GLib.AsyncResult res) throws GLib.Error;
		public void set_pending (bool pending);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
		public weak GLib.File get_file ();
		public static GLib.Type get_type ();
		public FileIcon (GLib.File file);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileInfo : GLib.Object {
		public void clear_status ();
		public void copy_into (GLib.FileInfo dest);
		public weak GLib.FileInfo dup ();
		public weak GLib.FileAttributeValue get_attribute (string attribute);
		public bool get_attribute_boolean (string attribute);
		public weak string get_attribute_byte_string (string attribute);
		public int get_attribute_int32 (string attribute);
		public int64 get_attribute_int64 (string attribute);
		public weak GLib.Object get_attribute_object (string attribute);
		public weak string get_attribute_string (string attribute);
		public GLib.FileAttributeType get_attribute_type (string attribute);
		public uint get_attribute_uint32 (string attribute);
		public uint64 get_attribute_uint64 (string attribute);
		public weak string get_content_type ();
		public weak string get_display_name ();
		public weak string get_edit_name ();
		public weak string get_etag ();
		public GLib.FileType get_file_type ();
		public weak GLib.Icon get_icon ();
		public bool get_is_backup ();
		public bool get_is_hidden ();
		public bool get_is_symlink ();
		public void get_modification_time (out GLib.TimeVal result);
		public weak string get_name ();
		public int64 get_size ();
		public int get_sort_order ();
		public weak string get_symlink_target ();
		public static GLib.Type get_type ();
		public bool has_attribute (string attribute);
		public weak string list_attributes (string name_space);
		public FileInfo ();
		public void remove_attribute (string attribute);
		public void set_attribute (string attribute, GLib.FileAttributeValue value);
		public void set_attribute_boolean (string attribute, bool value);
		public void set_attribute_byte_string (string attribute, string value);
		public void set_attribute_int32 (string attribute, int value);
		public void set_attribute_int64 (string attribute, int64 value);
		public void set_attribute_mask (GLib.FileAttributeMatcher mask);
		public void set_attribute_object (string attribute, GLib.Object value);
		public void set_attribute_string (string attribute, string value);
		public void set_attribute_uint32 (string attribute, uint value);
		public void set_attribute_uint64 (string attribute, uint64 value);
		public void set_content_type (string content_type);
		public void set_display_name (string display_name);
		public void set_edit_name (string edit_name);
		public void set_file_type (GLib.FileType type);
		public void set_icon (GLib.Icon icon);
		public void set_is_hidden (bool is_hidden);
		public void set_is_symlink (bool is_symlink);
		public void set_modification_time (out GLib.TimeVal mtime);
		public void set_name (string name);
		public void set_size (int64 size);
		public void set_sort_order (int sort_order);
		public void set_symlink_target (string symlink_target);
		public void unset_attribute_mask ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileInputStream : GLib.InputStream, GLib.Seekable {
		public virtual bool can_seek ();
		public static GLib.Type get_type ();
		public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual int64 tell ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileMonitor : GLib.Object {
		public virtual bool cancel ();
		public static weak GLib.DirectoryMonitor directory (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable cancellable);
		public void emit_event (GLib.File file, GLib.File other_file, GLib.FileMonitorEvent event_type);
		public static weak GLib.FileMonitor file (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable cancellable);
		public static GLib.Type get_type ();
		public bool is_cancelled ();
		public void set_rate_limit (int limit_msecs);
		public signal void changed (GLib.File file, GLib.File other_file, GLib.FileMonitorEvent event_type);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
		public virtual bool can_seek ();
		public virtual bool can_truncate ();
		public virtual weak string get_etag ();
		public static GLib.Type get_type ();
		public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual int64 tell ();
		public virtual bool truncate (int64 size, GLib.Cancellable cancellable) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FilterInputStream : GLib.InputStream {
		public weak GLib.InputStream get_base_stream ();
		public static GLib.Type get_type ();
		[NoAccessorMethod]
		public weak GLib.InputStream base_stream { get; construct; }
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FilterOutputStream : GLib.OutputStream {
		public weak GLib.OutputStream get_base_stream ();
		public static GLib.Type get_type ();
		[NoAccessorMethod]
		public weak GLib.OutputStream base_stream { get; construct; }
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class InputStream : GLib.Object {
		public virtual bool close (GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void close_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual bool close_finish (GLib.AsyncResult result) throws GLib.Error;
		public static GLib.Type get_type ();
		public bool has_pending ();
		public bool is_closed ();
		public virtual long read (pointer buffer, ulong count, GLib.Cancellable cancellable) throws GLib.Error;
		public bool read_all (pointer buffer, ulong count, ulong bytes_read, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void read_async (pointer buffer, ulong count, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual long read_finish (GLib.AsyncResult result) throws GLib.Error;
		public void set_pending (bool pending);
		public virtual long skip (ulong count, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void skip_async (ulong count, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual long skip_finish (GLib.AsyncResult result) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalDirectoryMonitor : GLib.DirectoryMonitor {
		public static GLib.Type get_type ();
		public LocalDirectoryMonitor (string dirname, GLib.FileMonitorFlags flags);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalFile : GLib.Object, GLib.File {
		public static GLib.Type get_type ();
		public LocalFile (string filename);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalFileEnumerator : GLib.FileEnumerator {
		public static GLib.Type get_type ();
		public LocalFileEnumerator (string filename, string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalFileInputStream : GLib.FileInputStream {
		public static GLib.Type get_type ();
		public LocalFileInputStream (int fd);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalFileMonitor : GLib.FileMonitor {
		public static GLib.Type get_type ();
		public LocalFileMonitor (string dirname, GLib.FileMonitorFlags flags);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalFileOutputStream : GLib.FileOutputStream {
		public static weak GLib.FileOutputStream append (string filename, GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public static weak GLib.FileOutputStream create (string filename, GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public static GLib.Type get_type ();
		public static weak GLib.FileOutputStream replace (string filename, string etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalVfs : GLib.Vfs {
		public static GLib.Type get_type ();
		public LocalVfs ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class MemoryInputStream : GLib.InputStream, GLib.Seekable {
		public static weak GLib.InputStream from_data (pointer data, long len);
		public pointer get_data ();
		public ulong get_data_size ();
		public static GLib.Type get_type ();
		public void set_free_data (bool free_data);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
		public weak GLib.ByteArray get_data ();
		public static GLib.Type get_type ();
		public MemoryOutputStream (GLib.ByteArray data);
		public void set_free_on_close (bool free_on_close);
		public void set_max_size (uint max_size);
		[NoAccessorMethod]
		public weak pointer data { get; set construct; }
		[NoAccessorMethod]
		public weak bool free_array { get; set; }
		[NoAccessorMethod]
		public weak uint size_limit { get; set; }
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class MountOperation : GLib.Object {
		public bool get_anonymous ();
		public int get_choice ();
		public weak string get_domain ();
		public weak string get_password ();
		public GLib.PasswordSave get_password_save ();
		public static GLib.Type get_type ();
		public weak string get_username ();
		public MountOperation ();
		public void set_anonymous (bool anonymous);
		public void set_choice (int choice);
		public void set_domain (string domain);
		public void set_password (string password);
		public void set_password_save (GLib.PasswordSave save);
		public void set_username (string username);
		public signal bool ask_password (string message, string default_user, string default_domain, GLib.PasswordFlags flags);
		public signal bool ask_question (string message, string[] choices);
		[HasEmitter]
		public signal void reply (bool abort);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class OutputStream : GLib.Object {
		public virtual bool close (GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void close_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual bool close_finish (GLib.AsyncResult result) throws GLib.Error;
		public virtual bool flush (GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void flush_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual bool flush_finish (GLib.AsyncResult result) throws GLib.Error;
		public static GLib.Type get_type ();
		public bool has_pending ();
		public bool is_closed ();
		public void set_pending (bool pending);
		public virtual long write (pointer buffer, ulong count, GLib.Cancellable cancellable) throws GLib.Error;
		public bool write_all (pointer buffer, ulong count, ulong bytes_written, GLib.Cancellable cancellable) throws GLib.Error;
		public virtual void write_async (pointer buffer, ulong count, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public virtual long write_finish (GLib.AsyncResult result) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class PollFileMonitor : GLib.FileMonitor {
		public static GLib.Type get_type ();
		public PollFileMonitor (GLib.File file);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
		public void complete ();
		public void complete_in_idle ();
		public bool get_op_res_gboolean ();
		public pointer get_op_res_gpointer ();
		public long get_op_res_gssize ();
		public pointer get_source_tag ();
		public static GLib.Type get_type ();
		public SimpleAsyncResult (GLib.Object source_object, GLib.AsyncReadyCallback callback, pointer user_data, pointer source_tag);
		public SimpleAsyncResult.error (GLib.Object source_object, GLib.AsyncReadyCallback callback, pointer user_data, GLib.Quark domain, int code, string format);
		public SimpleAsyncResult.from_error (GLib.Object source_object, GLib.AsyncReadyCallback callback, pointer user_data) throws GLib.Error;
		public bool propagate_error () throws GLib.Error;
		public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable cancellable);
		public void set_error (GLib.Quark domain, int code, string format);
		public void set_error_va (GLib.Quark domain, int code, string format, pointer args);
		public void set_from_error () throws GLib.Error;
		public void set_handle_cancellation (bool handle_cancellation);
		public void set_op_res_gboolean (bool op_res);
		public void set_op_res_gpointer (pointer op_res, GLib.DestroyNotify destroy_op_res);
		public void set_op_res_gssize (long op_res);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class SocketInputStream : GLib.InputStream {
		public static GLib.Type get_type ();
		public SocketInputStream (int fd, bool close_fd_at_close);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class SocketOutputStream : GLib.OutputStream {
		public static GLib.Type get_type ();
		public SocketOutputStream (int fd, bool close_fd_at_close);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class ThemedIcon : GLib.Object, GLib.Icon {
		public weak string get_names ();
		public static GLib.Type get_type ();
		public ThemedIcon (string iconname);
		[NoArrayLength]
		public ThemedIcon.from_names (string[] iconnames, int len);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnionDrive : GLib.Object, GLib.Drive {
		public bool child_is_for_monitor (GLib.VolumeMonitor child_monitor);
		public static GLib.Type get_type ();
		public bool is_for_child_drive (GLib.Drive child_drive);
		public UnionDrive (GLib.VolumeMonitor union_monitor, GLib.Drive child_drive, GLib.VolumeMonitor child_monitor);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnionVolume : GLib.Object, GLib.Volume {
		public void add_volume (GLib.Volume volume, GLib.VolumeMonitor monitor);
		public weak GLib.Volume get_child_for_monitor (GLib.VolumeMonitor child_monitor);
		public static GLib.Type get_type ();
		public bool has_child_volume (GLib.Volume child_volume);
		public bool is_last_child (GLib.Volume child_volume);
		public UnionVolume (GLib.VolumeMonitor union_monitor, GLib.Volume volume, GLib.VolumeMonitor monitor);
		public void remove_volume (GLib.Volume volume);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnionVolumeMonitor : GLib.VolumeMonitor {
		public weak GLib.Drive convert_drive (GLib.Drive child_drive);
		public weak GLib.List convert_volumes (GLib.List child_volumes);
		public static GLib.Type get_type ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnixDrive : GLib.Object, GLib.Drive {
		public void disconnected ();
		public static GLib.Type get_type ();
		public bool has_mountpoint (string mountpoint);
		public UnixDrive (GLib.VolumeMonitor volume_monitor, GLib.UnixMountPoint mountpoint);
		public void set_volume (GLib.UnixVolume volume);
		public void unset_volume (GLib.UnixVolume volume);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnixVolume : GLib.Object, GLib.Volume {
		public static GLib.Type get_type ();
		public bool has_mountpoint (string mountpoint);
		public UnixVolume (GLib.VolumeMonitor volume_monitor, GLib.UnixMount mount);
		public void unmounted ();
		public void unset_drive (GLib.UnixDrive drive);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnixVolumeMonitor : GLib.VolumeMonitor {
		public static GLib.Type get_type ();
		public weak GLib.UnixDrive lookup_drive_for_mountpoint (string mountpoint);
		public UnixVolumeMonitor ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class Vfs : GLib.Object {
		public static weak GLib.Vfs get_default ();
		public virtual weak GLib.File get_file_for_path (string path);
		public virtual weak GLib.File get_file_for_uri (string uri);
		public static weak GLib.Vfs get_local ();
		public weak string get_name ();
		public virtual int get_priority ();
		public weak string get_supported_uri_schemes ();
		public static GLib.Type get_type ();
		public virtual weak GLib.File parse_name (string parse_name);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class VolumeMonitor : GLib.Object {
		public static weak GLib.VolumeMonitor get ();
		public virtual weak GLib.List get_connected_drives ();
		public virtual weak GLib.List get_mounted_volumes ();
		public static GLib.Type get_type ();
		public signal void volume_mounted (GLib.Volume volume);
		public signal void volume_pre_unmount (GLib.Volume volume);
		public signal void volume_unmounted (GLib.Volume volume);
		public signal void drive_connected (GLib.Drive drive);
		public signal void drive_disconnected (GLib.Drive drive);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class Win32AppInfo : GLib.Object, GLib.AppInfo {
		public static GLib.Type get_type ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class AsyncResultData {
		public pointer async_object;
		public weak GLib.Error error;
		public pointer user_data;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileAttributeInfo {
		public weak string name;
		public GLib.FileAttributeType type;
		public GLib.FileAttributeFlags flags;
	}
	[CCode (ref_function = "g_file_attribute_info_list_ref", unref_function = "g_file_attribute_info_list_unref", cheader_filename = "gio/gvfs.h")]
	public class FileAttributeInfoList {
		public weak GLib.FileAttributeInfo infos;
		public int n_infos;
		public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeFlags flags);
		public weak GLib.FileAttributeInfoList dup ();
		public weak GLib.FileAttributeInfo lookup (string name);
		public FileAttributeInfoList ();
	}
	[CCode (ref_function = "g_file_attribute_matcher_ref", unref_function = "g_file_attribute_matcher_unref", cheader_filename = "gio/gvfs.h")]
	public class FileAttributeMatcher {
		public bool enumerate_namespace (string @namespace);
		public weak string enumerate_next ();
		public bool matches (string full_name);
		public bool matches_only (string full_name);
		public FileAttributeMatcher (string attributes);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class FileAttributeValue {
		public GLib.FileAttributeType type;
		public GLib.FileAttributeStatus status;
		public bool boolean;
		public int int32;
		public uint uint32;
		public int64 int64;
		public uint64 uint64;
		public weak string string;
		public GLib.Quark quark;
		public weak GLib.Object obj;
		public weak string as_string ();
		public void clear ();
		public weak GLib.FileAttributeValue dup ();
		public bool get_boolean ();
		public weak string get_byte_string ();
		public int get_int32 ();
		public int64 get_int64 ();
		public weak GLib.Object get_object ();
		public weak string get_string ();
		public uint get_uint32 ();
		public uint64 get_uint64 ();
		public FileAttributeValue ();
		public void set (GLib.FileAttributeValue new_value);
		public void set_boolean (bool value);
		public void set_byte_string (string value);
		public void set_int32 (int value);
		public void set_int64 (int64 value);
		public void set_object (GLib.Object obj);
		public void set_string (string value);
		public void set_uint32 (uint value);
		public void set_uint64 (uint64 value);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class IOJob {
		public void send_to_mainloop (GLib.IODataFunc func, pointer user_data, GLib.DestroyNotify notify, bool block);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class LocalParentFileInfo {
		public bool writable;
		public bool is_sticky;
		public int owner;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnixMount {
		public int compare (GLib.UnixMount mount_entry2);
		public weak string get_device_path ();
		public weak string get_fs_type ();
		public weak string get_mount_path ();
		public GLib.UnixMountType guess_type ();
		public bool is_readonly ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public class UnixMountPoint {
		public int compare (GLib.UnixMountPoint mount_point2);
		public weak string get_device_path ();
		public weak string get_fs_type ();
		public weak string get_mount_path ();
		public GLib.UnixMountType guess_type ();
		public bool is_loopback ();
		public bool is_readonly ();
		public bool is_user_mountable ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface AppInfo {
		public abstract bool add_supports_type (string content_type) throws GLib.Error;
		public abstract bool can_remove_supports_type ();
		public static weak GLib.AppInfo create_from_commandline (string commandline, string application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
		public abstract weak GLib.AppInfo dup ();
		public abstract bool equal (GLib.AppInfo appinfo2);
		public static weak GLib.List get_all ();
		public static weak GLib.List get_all_for_type (string content_type);
		public static weak GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
		public weak string get_description ();
		public weak string get_executable ();
		public abstract weak GLib.Icon get_icon ();
		public weak string get_id ();
		public weak string get_name ();
		public static GLib.Type get_type ();
		[NoArrayLength]
		public abstract bool launch (GLib.List files, string[] envp) throws GLib.Error;
		[NoArrayLength]
		public abstract bool launch_uris (GLib.List uris, string[] envp) throws GLib.Error;
		public abstract bool remove_supports_type (string content_type) throws GLib.Error;
		public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
		public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
		public abstract bool should_show (string desktop_env);
		public abstract bool supports_uris ();
		public abstract bool supports_xdg_startup_notify ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface AsyncResult {
		public abstract weak GLib.Object get_source_object ();
		public static GLib.Type get_type ();
		public abstract pointer get_user_data ();
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface Drive {
		public abstract bool can_eject ();
		public abstract bool can_mount ();
		public abstract void eject (GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool eject_finish (GLib.AsyncResult result) throws GLib.Error;
		public abstract weak GLib.Icon get_icon ();
		public abstract weak string get_name ();
		public static GLib.Type get_type ();
		public abstract weak GLib.List get_volumes ();
		public abstract bool is_automounted ();
		public abstract void mount (GLib.MountOperation mount_operation, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool mount_finish (GLib.AsyncResult result) throws GLib.Error;
		public signal void changed ();
	}
	[CCode (cheader_filename = "gio/gfile.h")]
	public interface File {
		public abstract weak GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void append_to_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.FileOutputStream append_to_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract bool contains_file (GLib.File descendant);
		public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback, pointer progress_callback_data) throws GLib.Error;
		public abstract weak GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void create_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.FileOutputStream create_finish (GLib.AsyncResult res) throws GLib.Error;
		public bool delete (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract weak GLib.File dup ();
		public abstract void eject_mountable (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool eject_mountable_finish (GLib.AsyncResult result) throws GLib.Error;
		public abstract weak GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract bool equal (GLib.File file2);
		public abstract weak string get_basename ();
		public weak GLib.File get_child (string name);
		public abstract weak GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
		public abstract weak GLib.File get_parent ();
		public abstract weak string get_parse_name ();
		public abstract weak string get_path ();
		public abstract weak string get_relative_path (GLib.File descendant);
		public static GLib.Type get_type ();
		public abstract weak string get_uri ();
		public static uint hash (pointer file);
		public abstract bool is_native ();
		public bool load_contents (GLib.Cancellable cancellable, out string contents, ulong length, out string etag_out) throws GLib.Error;
		public void load_contents_async (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public bool load_contents_finish (GLib.AsyncResult res, out string contents, ulong length, out string etag_out) throws GLib.Error;
		public void load_partial_contents_async (GLib.Cancellable cancellable, GLib.FileReadMoreCallback read_more_callback, GLib.AsyncReadyCallback callback, pointer user_data);
		public bool load_partial_contents_finish (GLib.AsyncResult res, out string contents, ulong length, out string etag_out) throws GLib.Error;
		public abstract bool make_directory (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void mount_mountable (GLib.MountOperation mount_operation, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.File mount_mountable_finish (GLib.AsyncResult result) throws GLib.Error;
		public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback, pointer progress_callback_data) throws GLib.Error;
		public static weak GLib.File new_for_commandline_arg (string arg);
		public static weak GLib.File new_for_path (string path);
		public static weak GLib.File new_for_uri (string uri);
		public static weak GLib.File parse_name (string parse_name);
		public abstract weak GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract weak GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract weak GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract weak GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract weak GLib.FileInputStream read (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void read_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.FileInputStream read_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract weak GLib.FileOutputStream replace (string etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void replace_async (string etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public bool replace_contents (string contents, ulong length, string etag, bool make_backup, GLib.FileCreateFlags flags, out string new_etag, GLib.Cancellable cancellable) throws GLib.Error;
		public void replace_contents_async (string contents, ulong length, string etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public bool replace_contents_finish (GLib.AsyncResult res, out string new_etag) throws GLib.Error;
		public abstract weak GLib.FileOutputStream replace_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract weak GLib.File resolve_relative_path (string relative_path);
		public abstract bool set_attribute (string attribute, GLib.FileAttributeValue value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_int32 (string attribute, int value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_int64 (string attribute, int64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_uint32 (string attribute, uint value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void set_attributes_async (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool set_attributes_finish (GLib.AsyncResult result, GLib.FileInfo info) throws GLib.Error;
		public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract weak GLib.File set_display_name (string display_name, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void set_display_name_async (string display_name, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.File set_display_name_finish (GLib.AsyncResult res) throws GLib.Error;
		public abstract bool trash (GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void unmount_mountable (GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool unmount_mountable_finish (GLib.AsyncResult result) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface Icon {
		public abstract bool equal (GLib.Icon icon2);
		public static GLib.Type get_type ();
		public static uint hash (pointer icon);
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface LoadableIcon {
		public static GLib.Type get_type ();
		public abstract weak GLib.InputStream load (int size, out string type, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract void load_async (int size, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract weak GLib.InputStream load_finish (GLib.AsyncResult res, out string type) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface Seekable {
		public abstract bool can_seek ();
		public abstract bool can_truncate ();
		public static GLib.Type get_type ();
		public abstract bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable cancellable) throws GLib.Error;
		public abstract int64 tell ();
		public abstract bool truncate (int64 offset, GLib.Cancellable cancellable) throws GLib.Error;
	}
	[CCode (cheader_filename = "gio/gvfs.h")]
	public interface Volume {
		public abstract bool can_eject ();
		public abstract bool can_unmount ();
		public abstract void eject (GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool eject_finish (GLib.AsyncResult result) throws GLib.Error;
		public abstract weak GLib.Drive get_drive ();
		public abstract weak GLib.Icon get_icon ();
		public abstract weak string get_name ();
		public abstract weak GLib.File get_root ();
		public static GLib.Type get_type ();
		public abstract void unmount (GLib.AsyncReadyCallback callback, pointer user_data);
		public abstract bool unmount_finish (GLib.AsyncResult result) throws GLib.Error;
		public signal void changed ();
	}
	public static delegate void AsyncReadyCallback (GLib.Object source_object, GLib.AsyncResult res, pointer user_data);
	public static delegate bool FDSourceFunc (pointer user_data, GLib.IOCondition condition, int fd);
	public static delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes, pointer user_data);
	public static delegate bool FileReadMoreCallback (string file_contents, int64 file_size, pointer callback_data);
	public static delegate void IODataFunc (pointer user_data);
	public static delegate void IOJobFunc (GLib.IOJob job, GLib.Cancellable cancellable, pointer user_data);
	public static delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
	public static delegate void UnixMountCallback (pointer user_data);
}