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
|
/* 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_OUTPUT_STREAM_SPLICE_FLAGS_", cheader_filename = "gio/gvfs.h")]
public enum OutputStreamSpliceFlags {
NONE,
CLOSE_SOURCE,
CLOSE_TARGET,
}
[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 (cheader_filename = "gio/gfileattribute.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/gfileattribute.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/gfileattribute.h")]
public class FileAttributeMatcher {
public bool enumerate_namespace (string ns);
public weak string enumerate_next ();
public bool matches (string attribute);
public bool matches_only (string attribute);
public FileAttributeMatcher (string attributes);
}
[CCode (cheader_filename = "gio/gfileattribute.h")]
public class FileAttributeValue {
public GLib.FileAttributeType type;
public GLib.FileAttributeStatus status;
public pointer u;
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 string);
public void set_int32 (int value);
public void set_int64 (int64 value);
public void set_object (GLib.Object obj);
public void set_string (string string);
public void set_uint32 (uint value);
public void set_uint64 (uint64 value);
}
[CCode (cheader_filename = "gio/gvfs.h")]
public class FileIconClass {
}
[CCode (cheader_filename = "gio/gvfs.h")]
public class FileInfoClass {
}
[CCode (cheader_filename = "gio/gioscheduler.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 IOModuleClass {
}
[CCode (cheader_filename = "gio/gvfs.h")]
public class SimpleAsyncResultClass {
}
[CCode (cheader_filename = "gio/gvfs.h")]
public class ThemedIconClass {
}
[CCode (cheader_filename = "gio/gvfs.h")]
public class AppLaunchContext : GLib.Object {
public virtual weak string get_display (GLib.AppInfo info, GLib.List files);
public virtual weak string get_startup_notify_id (GLib.AppInfo info, GLib.List files);
public virtual void launch_failed (string startup_notify_id);
public AppLaunchContext ();
}
[CCode (cheader_filename = "gio/gbufferedinputstream.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_available ();
public ulong get_buffer_size ();
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/gbufferedoutputstream.h")]
public class BufferedOutputStream : GLib.FilterOutputStream {
public bool get_auto_grow ();
public ulong get_buffer_size ();
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/gcancellable.h")]
public class Cancellable : GLib.Object {
public void cancel ();
public static weak GLib.Cancellable get_current ();
public int get_fd ();
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/gdatainputstream.h")]
public class DataInputStream : GLib.BufferedInputStream {
public GLib.DataStreamByteOrder get_byte_order ();
public GLib.DataStreamNewlineType get_newline_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/gdataoutputstream.h")]
public class DataOutputStream : GLib.FilterOutputStream {
public GLib.DataStreamByteOrder get_byte_order ();
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/gdirectorymonitor.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 bool is_cancelled ();
public void set_rate_limit (int limit_msecs);
public signal void changed (GLib.File child, GLib.File other_file, int event_type);
}
[CCode (cheader_filename = "gio/gdummyfile.h")]
public class DummyFile : GLib.Object, GLib.File {
public DummyFile (string uri);
}
[CCode (cheader_filename = "gio/gfileenumerator.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 result) throws GLib.Error;
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 result) throws GLib.Error;
public void set_pending (bool pending);
}
[CCode (cheader_filename = "gio/gfileicon.h")]
public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
public weak GLib.File get_file ();
public FileIcon (GLib.File file);
}
[CCode (cheader_filename = "gio/gfileinfo.h")]
public class FileInfo : GLib.Object {
public void clear_status ();
public void copy_into (GLib.FileInfo dest_info);
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 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 attr_value);
public void set_attribute_boolean (string attribute, bool attr_value);
public void set_attribute_byte_string (string attribute, string attr_value);
public void set_attribute_int32 (string attribute, int attr_value);
public void set_attribute_int64 (string attribute, int64 attr_value);
public void set_attribute_mask (GLib.FileAttributeMatcher mask);
public void set_attribute_object (string attribute, GLib.Object attr_value);
public void set_attribute_string (string attribute, string attr_value);
public void set_attribute_uint32 (string attribute, uint attr_value);
public void set_attribute_uint64 (string attribute, uint64 attr_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/gfileinputstream.h")]
public class FileInputStream : GLib.InputStream, GLib.Seekable {
public virtual bool can_seek ();
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 result) 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/gfilemonitor.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 bool is_cancelled ();
public void set_rate_limit (int limit_msecs);
public signal void changed (GLib.File file, GLib.File other_file, int event_type);
}
[CCode (cheader_filename = "gio/gfileoutputstream.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 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 result) 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/gfilenamecompleter.h")]
public class FilenameCompleter : GLib.Object {
public weak string get_completion_suffix (string initial_text);
public weak string get_completions (string initial_text);
public FilenameCompleter ();
public void set_dirs_only (bool dirs_only);
public signal void got_completion_data ();
}
[CCode (cheader_filename = "gio/gfilterinputstream.h")]
public class FilterInputStream : GLib.InputStream {
public weak GLib.InputStream get_base_stream ();
[NoAccessorMethod]
public weak GLib.InputStream base_stream { get; construct; }
}
[CCode (cheader_filename = "gio/gfilteroutputstream.h")]
public class FilterOutputStream : GLib.OutputStream {
public weak GLib.OutputStream get_base_stream ();
[NoAccessorMethod]
public weak GLib.OutputStream base_stream { get; construct; }
}
[CCode (cheader_filename = "gio/giomodule.h")]
public class IOModule : GLib.TypeModule, GLib.TypePlugin {
public void load ();
public IOModule (string filename);
public void unload ();
}
[CCode (cheader_filename = "gio/ginputstream.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 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/gmemoryinputstream.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 void set_free_data (bool free_data);
}
[CCode (cheader_filename = "gio/gmemoryoutputstream.h")]
public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
public weak GLib.ByteArray get_data ();
public MemoryOutputStream (GLib.ByteArray data);
public void set_free_data (bool free_data);
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/gmountoperation.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 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, uint flags);
public signal bool ask_question (string message, pointer choices);
[HasEmitter]
public signal void reply (bool abort);
}
[CCode (cheader_filename = "gio/goutputstream.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 bool has_pending ();
public bool is_closed ();
public void set_pending (bool pending);
public virtual long splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
public virtual void splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
public virtual long splice_finish (GLib.AsyncResult result) throws GLib.Error;
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/gsimpleasyncresult.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 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/gsocketinputstream.h")]
public class SocketInputStream : GLib.InputStream {
public SocketInputStream (int fd, bool close_fd_at_close);
}
[CCode (cheader_filename = "gio/gsocketoutputstream.h")]
public class SocketOutputStream : GLib.OutputStream {
public SocketOutputStream (int fd, bool close_fd_at_close);
}
[CCode (cheader_filename = "gio/gthemedicon.h")]
public class ThemedIcon : GLib.Object, GLib.Icon {
public weak string get_names ();
public ThemedIcon (string iconname);
[NoArrayLength]
public ThemedIcon.from_names (string[] iconnames, int len);
}
[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 virtual weak string get_supported_uri_schemes ();
public virtual bool is_active ();
public virtual weak GLib.File parse_name (string parse_name);
}
[CCode (cheader_filename = "gio/gvolumemonitor.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 signal void drive_connected (GLib.Drive drive);
public signal void drive_disconnected (GLib.Drive drive);
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);
}
[CCode (cheader_filename = "gio/gappinfo.h")]
public interface AppInfo : GLib.Object {
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 static weak GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
public abstract weak string get_description ();
public abstract weak string get_executable ();
public abstract weak GLib.Icon get_icon ();
public abstract weak string get_id ();
public abstract weak string get_name ();
public abstract bool launch (GLib.List files, GLib.AppLaunchContext launch_context) throws GLib.Error;
public abstract bool launch_uris (GLib.List uris, GLib.AppLaunchContext launch_context) 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 ();
}
[CCode (cheader_filename = "gio/gvfs.h")]
public interface AsyncResult : GLib.Object {
public abstract weak GLib.Object get_source_object ();
public abstract pointer get_user_data ();
}
[CCode (cheader_filename = "gio/gvfs.h")]
public interface Drive : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_mount ();
public abstract void eject (GLib.Cancellable cancellable, 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 abstract weak GLib.List get_volumes ();
public abstract bool has_volumes ();
public abstract bool is_automounted ();
public abstract void mount (GLib.MountOperation mount_operation, GLib.Cancellable cancellable, 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 : GLib.Object {
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 GLib.Volume find_enclosing_volume (GLib.Cancellable cancellable) throws GLib.Error;
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 abstract weak string get_uri ();
public abstract weak string get_uri_scheme ();
public abstract bool has_uri_scheme (string uri_scheme);
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, out 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/gicon.h")]
public interface Icon : GLib.Object {
public abstract bool equal (GLib.Icon icon2);
public static uint hash (pointer icon);
}
[CCode (cheader_filename = "gio/gvfs.h")]
public interface LoadableIcon : GLib.Icon, GLib.Object {
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/gseekable.h")]
public interface Seekable : GLib.Object {
public abstract bool can_seek ();
public abstract bool can_truncate ();
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/gvolume.h")]
public interface Volume : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_unmount ();
public abstract void eject (GLib.Cancellable cancellable, 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 abstract void unmount (GLib.Cancellable cancellable, 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 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 const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
public const string FILE_ATTRIBUTE_ETAG_VALUE;
public const string FILE_ATTRIBUTE_FS_FREE;
public const string FILE_ATTRIBUTE_FS_READONLY;
public const string FILE_ATTRIBUTE_FS_SIZE;
public const string FILE_ATTRIBUTE_FS_TYPE;
public const string FILE_ATTRIBUTE_GVFS_BACKEND;
public const string FILE_ATTRIBUTE_ID_FILE;
public const string FILE_ATTRIBUTE_ID_FS;
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
public const string FILE_ATTRIBUTE_OWNER_GROUP;
public const string FILE_ATTRIBUTE_OWNER_USER;
public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
public const string FILE_ATTRIBUTE_STD_CONTENT_TYPE;
public const string FILE_ATTRIBUTE_STD_DISPLAY_NAME;
public const string FILE_ATTRIBUTE_STD_EDIT_NAME;
public const string FILE_ATTRIBUTE_STD_FAST_CONTENT_TYPE;
public const string FILE_ATTRIBUTE_STD_ICON;
public const string FILE_ATTRIBUTE_STD_IS_BACKUP;
public const string FILE_ATTRIBUTE_STD_IS_HIDDEN;
public const string FILE_ATTRIBUTE_STD_IS_SYMLINK;
public const string FILE_ATTRIBUTE_STD_IS_VIRTUAL;
public const string FILE_ATTRIBUTE_STD_NAME;
public const string FILE_ATTRIBUTE_STD_SIZE;
public const string FILE_ATTRIBUTE_STD_SORT_ORDER;
public const string FILE_ATTRIBUTE_STD_SYMLINK_TARGET;
public const string FILE_ATTRIBUTE_STD_TARGET_URI;
public const string FILE_ATTRIBUTE_STD_TYPE;
public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
public const string FILE_ATTRIBUTE_TIME_ACCESS;
public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
public const string FILE_ATTRIBUTE_TIME_CHANGED;
public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
public const string FILE_ATTRIBUTE_TIME_CREATED;
public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
public const string FILE_ATTRIBUTE_TIME_MODIFIED;
public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
public const string FILE_ATTRIBUTE_UNIX_DEVICE;
public const string FILE_ATTRIBUTE_UNIX_GID;
public const string FILE_ATTRIBUTE_UNIX_INODE;
public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
public const string FILE_ATTRIBUTE_UNIX_MODE;
public const string FILE_ATTRIBUTE_UNIX_NLINK;
public const string FILE_ATTRIBUTE_UNIX_RDEV;
public const string FILE_ATTRIBUTE_UNIX_UID;
public const string URI_RESERVED_CHARS_GENERIC_DELIMITERS;
public const string URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS;
[CCode (cname = "g_cancel_all_io_jobs")]
public static void g_cancel_all_io_jobs ();
[CCode (cname = "g_content_type_can_be_executable")]
public static bool g_content_type_can_be_executable (string type);
[CCode (cname = "g_content_type_equals")]
public static bool g_content_type_equals (string type1, string type2);
[CCode (cname = "g_content_type_get_description")]
public static weak string g_content_type_get_description (string type);
[CCode (cname = "g_content_type_get_icon")]
public static weak GLib.Icon g_content_type_get_icon (string type);
[CCode (cname = "g_content_type_get_mime_type")]
public static weak string g_content_type_get_mime_type (string type);
[NoArrayLength]
[CCode (cname = "g_content_type_guess")]
public static weak string g_content_type_guess (string filename, uchar[] data, ulong data_size, bool result_uncertain);
[CCode (cname = "g_content_type_is_a")]
public static bool g_content_type_is_a (string type, string supertype);
[CCode (cname = "g_content_type_is_unknown")]
public static bool g_content_type_is_unknown (string type);
[CCode (cname = "g_content_types_get_registered")]
public static weak GLib.List g_content_types_get_registered ();
[CCode (cname = "g_format_file_size_for_display")]
public static weak string g_format_file_size_for_display (int64 size);
[CCode (cname = "g_io_error_from_errno")]
public static GLib.IOErrorEnum g_io_error_from_errno (int err_no);
[CCode (cname = "g_io_error_quark")]
public static GLib.Quark g_io_error_quark ();
[CCode (cname = "g_io_modules_ensure_loaded")]
public static void g_io_modules_ensure_loaded (string directory);
[CCode (cname = "g_mount_for_location")]
public static void g_mount_for_location (GLib.File location, GLib.MountOperation mount_operation, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
[CCode (cname = "g_mount_for_location_finish")]
public static bool g_mount_for_location_finish (GLib.File location, GLib.AsyncResult result) throws GLib.Error;
[CCode (cname = "g_pop_current_cancellable")]
public static void g_pop_current_cancellable (GLib.Cancellable cancellable);
[CCode (cname = "g_push_current_cancellable")]
public static void g_push_current_cancellable (GLib.Cancellable cancellable);
[CCode (cname = "g_schedule_io_job")]
public static void g_schedule_io_job (GLib.IOJobFunc job_func, pointer user_data, GLib.DestroyNotify notify, int io_priority, GLib.Cancellable cancellable);
[CCode (cname = "g_simple_async_report_error_in_idle")]
public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, pointer user_data, GLib.Quark domain, int code, string format);
[CCode (cname = "g_string_append_uri_escaped")]
public static weak GLib.String g_string_append_uri_escaped (GLib.String string, string unescaped, string reserved_chars_allowed, bool allow_utf8);
[CCode (cname = "g_uri_escape_string")]
public static weak string g_uri_escape_string (string unescaped, string reserved_chars_allowed, bool allow_utf8);
[CCode (cname = "g_uri_get_scheme")]
public static weak string g_uri_get_scheme (string uri);
[CCode (cname = "g_uri_unescape_segment")]
public static weak string g_uri_unescape_segment (string escaped_string, string escaped_string_end, string illegal_characters);
[CCode (cname = "g_uri_unescape_string")]
public static weak string g_uri_unescape_string (string escaped_string, string illegal_characters);
}
|