Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / glibmm2 / gio / src / gio_methods.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object Info
4   (in-module "GApp")
5   (c-name "GAppInfo")
6   (gtype-id "G_TYPE_APP_INFO")
7 )
8
9 (define-object LaunchContext
10   (in-module "GApp")
11   (parent "GObject")
12   (c-name "GAppLaunchContext")
13   (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT")
14 )
15
16 (define-object Result
17   (in-module "GAsync")
18   (c-name "GAsyncResult")
19   (gtype-id "G_TYPE_ASYNC_RESULT")
20 )
21
22 (define-object AppInfoLookup
23   (in-module "GDesktop")
24   (c-name "GDesktopAppInfoLookup")
25   (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
26 )
27
28 (define-object e
29   (in-module "GDriv")
30   (c-name "GDrive")
31   (gtype-id "G_TYPE_DRIVE")
32 )
33
34 (define-object e
35   (in-module "GFil")
36   (c-name "GFile")
37   (gtype-id "G_TYPE_FILE")
38 )
39
40 (define-object Enumerator
41   (in-module "GFile")
42   (parent "GObject")
43   (c-name "GFileEnumerator")
44   (gtype-id "G_TYPE_FILE_ENUMERATOR")
45 )
46
47 (define-object Monitor
48   (in-module "GFile")
49   (parent "GObject")
50   (c-name "GFileMonitor")
51   (gtype-id "G_TYPE_FILE_MONITOR")
52 )
53
54 (define-object n
55   (in-module "GIco")
56   (c-name "GIcon")
57   (gtype-id "G_TYPE_ICON")
58 )
59
60 (define-object Stream
61   (in-module "GInput")
62   (parent "GObject")
63   (c-name "GInputStream")
64   (gtype-id "G_TYPE_INPUT_STREAM")
65 )
66
67 (define-object InputStream
68   (in-module "GFilter")
69   (parent "GInputStream")
70   (c-name "GFilterInputStream")
71   (gtype-id "G_TYPE_FILTER_INPUT_STREAM")
72 )
73
74 (define-object InputStream
75   (in-module "GBuffered")
76   (parent "GFilterInputStream")
77   (c-name "GBufferedInputStream")
78   (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM")
79 )
80
81 (define-object InputStream
82   (in-module "GData")
83   (parent "GBufferedInputStream")
84   (c-name "GDataInputStream")
85   (gtype-id "G_TYPE_DATA_INPUT_STREAM")
86 )
87
88 (define-object InputStream
89   (in-module "GFile")
90   (parent "GInputStream")
91   (c-name "GFileInputStream")
92   (gtype-id "G_TYPE_FILE_INPUT_STREAM")
93 )
94
95 (define-object Icon
96   (in-module "GLoadable")
97   (c-name "GLoadableIcon")
98   (gtype-id "G_TYPE_LOADABLE_ICON")
99 )
100
101 (define-object DirectoryMonitor
102   (in-module "GLocal")
103   (parent "GFileMonitor")
104   (c-name "GLocalDirectoryMonitor")
105   (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR")
106 )
107
108 (define-object FileInputStream
109   (in-module "GLocal")
110   (parent "GFileInputStream")
111   (c-name "GLocalFileInputStream")
112   (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM")
113 )
114
115 (define-object FileMonitor
116   (in-module "GLocal")
117   (parent "GFileMonitor")
118   (c-name "GLocalFileMonitor")
119   (gtype-id "G_TYPE_LOCAL_FILE_MONITOR")
120 )
121
122 (define-object InputStream
123   (in-module "GMemory")
124   (parent "GInputStream")
125   (c-name "GMemoryInputStream")
126   (gtype-id "G_TYPE_MEMORY_INPUT_STREAM")
127 )
128
129 (define-object t
130   (in-module "GMoun")
131   (c-name "GMount")
132   (gtype-id "G_TYPE_MOUNT")
133 )
134
135 (define-object Operation
136   (in-module "GMount")
137   (parent "GObject")
138   (c-name "GMountOperation")
139   (gtype-id "G_TYPE_MOUNT_OPERATION")
140 )
141
142 (define-object Stream
143   (in-module "GOutput")
144   (parent "GObject")
145   (c-name "GOutputStream")
146   (gtype-id "G_TYPE_OUTPUT_STREAM")
147 )
148
149 (define-object OutputStream
150   (in-module "GMemory")
151   (parent "GOutputStream")
152   (c-name "GMemoryOutputStream")
153   (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM")
154 )
155
156 (define-object OutputStream
157   (in-module "GFilter")
158   (parent "GOutputStream")
159   (c-name "GFilterOutputStream")
160   (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM")
161 )
162
163 (define-object OutputStream
164   (in-module "GData")
165   (parent "GFilterOutputStream")
166   (c-name "GDataOutputStream")
167   (gtype-id "G_TYPE_DATA_OUTPUT_STREAM")
168 )
169
170 (define-object OutputStream
171   (in-module "GFile")
172   (parent "GOutputStream")
173   (c-name "GFileOutputStream")
174   (gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
175 )
176
177 (define-object FileOutputStream
178   (in-module "GLocal")
179   (parent "GFileOutputStream")
180   (c-name "GLocalFileOutputStream")
181   (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
182 )
183
184 (define-object e
185   (in-module "GSeekabl")
186   (c-name "GSeekable")
187   (gtype-id "G_TYPE_SEEKABLE")
188 )
189
190 (define-object InputStream
191   (in-module "GUnix")
192   (parent "GInputStream")
193   (c-name "GUnixInputStream")
194   (gtype-id "G_TYPE_UNIX_INPUT_STREAM")
195 )
196
197 (define-object OutputStream
198   (in-module "GUnix")
199   (parent "GOutputStream")
200   (c-name "GUnixOutputStream")
201   (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM")
202 )
203
204 (define-object s
205   (in-module "GVf")
206   (parent "GObject")
207   (c-name "GVfs")
208   (gtype-id "G_TYPE_VFS")
209 )
210
211 (define-object e
212   (in-module "GVolum")
213   (c-name "GVolume")
214   (gtype-id "G_TYPE_VOLUME")
215 )
216
217 (define-object Monitor
218   (in-module "GVolume")
219   (parent "GObject")
220   (c-name "GVolumeMonitor")
221   (gtype-id "G_TYPE_VOLUME_MONITOR")
222 )
223
224 (define-object VolumeMonitor
225   (in-module "GNative")
226   (parent "GVolumeMonitor")
227   (c-name "GNativeVolumeMonitor")
228   (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
229 )
230
231 ;; Enumerations and flags ...
232
233 (define-flags InfoCreateFlags
234   (in-module "GApp")
235   (c-name "GAppInfoCreateFlags")
236   (gtype-id "G_TYPE_APP_INFO_CREATE_FLAGS")
237   (values
238     '("none" "G_APP_INFO_CREATE_NONE")
239     '("needs-terminal" "G_APP_INFO_CREATE_NEEDS_TERMINAL")
240     '("supports-uris" "G_APP_INFO_CREATE_SUPPORTS_URIS")
241   )
242 )
243
244 (define-enum StreamByteOrder
245   (in-module "GData")
246   (c-name "GDataStreamByteOrder")
247   (gtype-id "G_TYPE_DATA_STREAM_BYTE_ORDER")
248   (values
249     '("big-endian" "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN")
250     '("little-endian" "G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN")
251     '("host-endian" "G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN")
252   )
253 )
254
255 (define-enum StreamNewlineType
256   (in-module "GData")
257   (c-name "GDataStreamNewlineType")
258   (gtype-id "G_TYPE_DATA_STREAM_NEWLINE_TYPE")
259   (values
260     '("lf" "G_DATA_STREAM_NEWLINE_TYPE_LF")
261     '("cr" "G_DATA_STREAM_NEWLINE_TYPE_CR")
262     '("cr-lf" "G_DATA_STREAM_NEWLINE_TYPE_CR_LF")
263     '("any" "G_DATA_STREAM_NEWLINE_TYPE_ANY")
264   )
265 )
266
267 (define-enum AttributeType
268   (in-module "GFile")
269   (c-name "GFileAttributeType")
270   (gtype-id "G_TYPE_FILE_ATTRIBUTE_TYPE")
271   (values
272     '("invalid" "G_FILE_ATTRIBUTE_TYPE_INVALID")
273     '("string" "G_FILE_ATTRIBUTE_TYPE_STRING")
274     '("byte-string" "G_FILE_ATTRIBUTE_TYPE_BYTE_STRING")
275     '("boolean" "G_FILE_ATTRIBUTE_TYPE_BOOLEAN")
276     '("uint32" "G_FILE_ATTRIBUTE_TYPE_UINT32")
277     '("int32" "G_FILE_ATTRIBUTE_TYPE_INT32")
278     '("uint64" "G_FILE_ATTRIBUTE_TYPE_UINT64")
279     '("int64" "G_FILE_ATTRIBUTE_TYPE_INT64")
280     '("object" "G_FILE_ATTRIBUTE_TYPE_OBJECT")
281   )
282 )
283
284 (define-flags AttributeInfoFlags
285   (in-module "GFile")
286   (c-name "GFileAttributeInfoFlags")
287   (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS")
288   (values
289     '("none" "G_FILE_ATTRIBUTE_INFO_NONE")
290     '("copy-with-file" "G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE")
291     '("copy-when-moved" "G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED")
292   )
293 )
294
295 (define-enum AttributeStatus
296   (in-module "GFile")
297   (c-name "GFileAttributeStatus")
298   (gtype-id "G_TYPE_FILE_ATTRIBUTE_STATUS")
299   (values
300     '("unset" "G_FILE_ATTRIBUTE_STATUS_UNSET")
301     '("set" "G_FILE_ATTRIBUTE_STATUS_SET")
302     '("error-setting" "G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING")
303   )
304 )
305
306 (define-flags QueryInfoFlags
307   (in-module "GFile")
308   (c-name "GFileQueryInfoFlags")
309   (gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS")
310   (values
311     '("ne" "G_FILE_QUERY_INFO_NONE")
312     '("follow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
313   )
314 )
315
316 (define-flags CreateFlags
317   (in-module "GFile")
318   (c-name "GFileCreateFlags")
319   (gtype-id "G_TYPE_FILE_CREATE_FLAGS")
320   (values
321     '("none" "G_FILE_CREATE_NONE")
322     '("private" "G_FILE_CREATE_PRIVATE")
323   )
324 )
325
326 (define-enum MountFlags
327   (in-module "GMount")
328   (c-name "GMountMountFlags")
329   (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
330   (values
331     '("e" "G_MOUNT_MOUNT_NONE")
332   )
333 )
334
335 (define-flags UnmountFlags
336   (in-module "GMount")
337   (c-name "GMountUnmountFlags")
338   (gtype-id "G_TYPE_MOUNT_UNMOUNT_FLAGS")
339   (values
340     '("none" "G_MOUNT_UNMOUNT_NONE")
341     '("force" "G_MOUNT_UNMOUNT_FORCE")
342   )
343 )
344
345 (define-flags CopyFlags
346   (in-module "GFile")
347   (c-name "GFileCopyFlags")
348   (gtype-id "G_TYPE_FILE_COPY_FLAGS")
349   (values
350     '("none" "G_FILE_COPY_NONE")
351     '("overwrite" "G_FILE_COPY_OVERWRITE")
352     '("backup" "G_FILE_COPY_BACKUP")
353     '("nofollow-symlinks" "G_FILE_COPY_NOFOLLOW_SYMLINKS")
354     '("all-metadata" "G_FILE_COPY_ALL_METADATA")
355     '("no-fallback-for-move" "G_FILE_COPY_NO_FALLBACK_FOR_MOVE")
356   )
357 )
358
359 (define-flags MonitorFlags
360   (in-module "GFile")
361   (c-name "GFileMonitorFlags")
362   (gtype-id "G_TYPE_FILE_MONITOR_FLAGS")
363   (values
364     '("none" "G_FILE_MONITOR_NONE")
365     '("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS")
366   )
367 )
368
369 (define-enum Type
370   (in-module "GFile")
371   (c-name "GFileType")
372   (gtype-id "G_TYPE_FILE_TYPE")
373   (values
374     '("unknown" "G_FILE_TYPE_UNKNOWN")
375     '("regular" "G_FILE_TYPE_REGULAR")
376     '("directory" "G_FILE_TYPE_DIRECTORY")
377     '("symbolic-link" "G_FILE_TYPE_SYMBOLIC_LINK")
378     '("special" "G_FILE_TYPE_SPECIAL")
379     '("shortcut" "G_FILE_TYPE_SHORTCUT")
380     '("mountable" "G_FILE_TYPE_MOUNTABLE")
381   )
382 )
383
384 (define-enum PreviewType
385   (in-module "GFilesystem")
386   (c-name "GFilesystemPreviewType")
387   (gtype-id "G_TYPE_FILESYSTEM_PREVIEW_TYPE")
388   (values
389     '("if-always" "G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS")
390     '("if-local" "G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL")
391     '("never" "G_FILESYSTEM_PREVIEW_TYPE_NEVER")
392   )
393 )
394
395 (define-enum MonitorEvent
396   (in-module "GFile")
397   (c-name "GFileMonitorEvent")
398   (gtype-id "G_TYPE_FILE_MONITOR_EVENT")
399   (values
400     '("changed" "G_FILE_MONITOR_EVENT_CHANGED")
401     '("changes-done-hint" "G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT")
402     '("deleted" "G_FILE_MONITOR_EVENT_DELETED")
403     '("created" "G_FILE_MONITOR_EVENT_CREATED")
404     '("attribute-changed" "G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED")
405     '("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT")
406     '("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED")
407   )
408 )
409
410 (define-enum Enum
411   (in-module "GIOError")
412   (c-name "GIOErrorEnum")
413   (gtype-id "G_TYPE_IO_ERROR_ENUM")
414   (values
415     '("failed" "G_IO_ERROR_FAILED")
416     '("not-found" "G_IO_ERROR_NOT_FOUND")
417     '("exists" "G_IO_ERROR_EXISTS")
418     '("is-directory" "G_IO_ERROR_IS_DIRECTORY")
419     '("not-directory" "G_IO_ERROR_NOT_DIRECTORY")
420     '("not-empty" "G_IO_ERROR_NOT_EMPTY")
421     '("not-regular-file" "G_IO_ERROR_NOT_REGULAR_FILE")
422     '("not-symbolic-link" "G_IO_ERROR_NOT_SYMBOLIC_LINK")
423     '("not-mountable-file" "G_IO_ERROR_NOT_MOUNTABLE_FILE")
424     '("filename-too-long" "G_IO_ERROR_FILENAME_TOO_LONG")
425     '("invalid-filename" "G_IO_ERROR_INVALID_FILENAME")
426     '("too-many-links" "G_IO_ERROR_TOO_MANY_LINKS")
427     '("no-space" "G_IO_ERROR_NO_SPACE")
428     '("invalid-argument" "G_IO_ERROR_INVALID_ARGUMENT")
429     '("permission-denied" "G_IO_ERROR_PERMISSION_DENIED")
430     '("not-supported" "G_IO_ERROR_NOT_SUPPORTED")
431     '("not-mounted" "G_IO_ERROR_NOT_MOUNTED")
432     '("already-mounted" "G_IO_ERROR_ALREADY_MOUNTED")
433     '("closed" "G_IO_ERROR_CLOSED")
434     '("cancelled" "G_IO_ERROR_CANCELLED")
435     '("pending" "G_IO_ERROR_PENDING")
436     '("read-only" "G_IO_ERROR_READ_ONLY")
437     '("cant-create-backup" "G_IO_ERROR_CANT_CREATE_BACKUP")
438     '("wrong-etag" "G_IO_ERROR_WRONG_ETAG")
439     '("timed-out" "G_IO_ERROR_TIMED_OUT")
440     '("would-recurse" "G_IO_ERROR_WOULD_RECURSE")
441     '("busy" "G_IO_ERROR_BUSY")
442     '("would-block" "G_IO_ERROR_WOULD_BLOCK")
443     '("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND")
444     '("would-merge" "G_IO_ERROR_WOULD_MERGE")
445     '("failed-handled" "G_IO_ERROR_FAILED_HANDLED")
446   )
447 )
448
449 (define-flags PasswordFlags
450   (in-module "GAsk")
451   (c-name "GAskPasswordFlags")
452   (gtype-id "G_TYPE_ASK_PASSWORD_FLAGS")
453   (values
454     '("need-password" "G_ASK_PASSWORD_NEED_PASSWORD")
455     '("need-username" "G_ASK_PASSWORD_NEED_USERNAME")
456     '("need-domain" "G_ASK_PASSWORD_NEED_DOMAIN")
457     '("saving-supported" "G_ASK_PASSWORD_SAVING_SUPPORTED")
458     '("anonymous-supported" "G_ASK_PASSWORD_ANONYMOUS_SUPPORTED")
459   )
460 )
461
462 (define-enum Save
463   (in-module "GPassword")
464   (c-name "GPasswordSave")
465   (gtype-id "G_TYPE_PASSWORD_SAVE")
466   (values
467     '("never" "G_PASSWORD_SAVE_NEVER")
468     '("for-session" "G_PASSWORD_SAVE_FOR_SESSION")
469     '("permanently" "G_PASSWORD_SAVE_PERMANENTLY")
470   )
471 )
472
473 (define-enum OperationResult
474   (in-module "GMount")
475   (c-name "GMountOperationResult")
476   (gtype-id "G_TYPE_MOUNT_OPERATION_RESULT")
477   (values
478     '("handled" "G_MOUNT_OPERATION_HANDLED")
479     '("aborted" "G_MOUNT_OPERATION_ABORTED")
480     '("unhandled" "G_MOUNT_OPERATION_UNHANDLED")
481   )
482 )
483
484 (define-flags StreamSpliceFlags
485   (in-module "GOutput")
486   (c-name "GOutputStreamSpliceFlags")
487   (gtype-id "G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS")
488   (values
489     '("none" "G_OUTPUT_STREAM_SPLICE_NONE")
490     '("close-source" "G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE")
491     '("close-target" "G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET")
492   )
493 )
494
495
496 ;; From gappinfo.h
497
498 (define-function g_app_info_get_type
499   (c-name "g_app_info_get_type")
500   (return-type "GType")
501 )
502
503 (define-function g_app_launch_context_get_type
504   (c-name "g_app_launch_context_get_type")
505   (return-type "GType")
506 )
507
508 (define-function g_app_info_create_from_commandline
509   (c-name "g_app_info_create_from_commandline")
510   (return-type "GAppInfo*")
511   (parameters
512     '("const-char*" "commandline")
513     '("const-char*" "application_name")
514     '("GAppInfoCreateFlags" "flags")
515     '("GError**" "error")
516   )
517 )
518
519 (define-method dup
520   (of-object "GAppInfo")
521   (c-name "g_app_info_dup")
522   (return-type "GAppInfo*")
523 )
524
525 (define-method equal
526   (of-object "GAppInfo")
527   (c-name "g_app_info_equal")
528   (return-type "gboolean")
529   (parameters
530     '("GAppInfo*" "appinfo2")
531   )
532 )
533
534 (define-method get_id
535   (of-object "GAppInfo")
536   (c-name "g_app_info_get_id")
537   (return-type "const-char*")
538 )
539
540 (define-method get_name
541   (of-object "GAppInfo")
542   (c-name "g_app_info_get_name")
543   (return-type "const-char*")
544 )
545
546 (define-method get_description
547   (of-object "GAppInfo")
548   (c-name "g_app_info_get_description")
549   (return-type "const-char*")
550 )
551
552 (define-method get_executable
553   (of-object "GAppInfo")
554   (c-name "g_app_info_get_executable")
555   (return-type "const-char*")
556 )
557
558 (define-method get_icon
559   (of-object "GAppInfo")
560   (c-name "g_app_info_get_icon")
561   (return-type "GIcon*")
562 )
563
564 (define-method launch
565   (of-object "GAppInfo")
566   (c-name "g_app_info_launch")
567   (return-type "gboolean")
568   (parameters
569     '("GList*" "files")
570     '("GAppLaunchContext*" "launch_context")
571     '("GError**" "error")
572   )
573 )
574
575 (define-method supports_uris
576   (of-object "GAppInfo")
577   (c-name "g_app_info_supports_uris")
578   (return-type "gboolean")
579 )
580
581 (define-method supports_files
582   (of-object "GAppInfo")
583   (c-name "g_app_info_supports_files")
584   (return-type "gboolean")
585 )
586
587 (define-method launch_uris
588   (of-object "GAppInfo")
589   (c-name "g_app_info_launch_uris")
590   (return-type "gboolean")
591   (parameters
592     '("GList*" "uris")
593     '("GAppLaunchContext*" "launch_context")
594     '("GError**" "error")
595   )
596 )
597
598 (define-method should_show
599   (of-object "GAppInfo")
600   (c-name "g_app_info_should_show")
601   (return-type "gboolean")
602 )
603
604 (define-method set_as_default_for_type
605   (of-object "GAppInfo")
606   (c-name "g_app_info_set_as_default_for_type")
607   (return-type "gboolean")
608   (parameters
609     '("const-char*" "content_type")
610     '("GError**" "error")
611   )
612 )
613
614 (define-method set_as_default_for_extension
615   (of-object "GAppInfo")
616   (c-name "g_app_info_set_as_default_for_extension")
617   (return-type "gboolean")
618   (parameters
619     '("const-char*" "extension")
620     '("GError**" "error")
621   )
622 )
623
624 (define-method add_supports_type
625   (of-object "GAppInfo")
626   (c-name "g_app_info_add_supports_type")
627   (return-type "gboolean")
628   (parameters
629     '("const-char*" "content_type")
630     '("GError**" "error")
631   )
632 )
633
634 (define-method can_remove_supports_type
635   (of-object "GAppInfo")
636   (c-name "g_app_info_can_remove_supports_type")
637   (return-type "gboolean")
638 )
639
640 (define-method remove_supports_type
641   (of-object "GAppInfo")
642   (c-name "g_app_info_remove_supports_type")
643   (return-type "gboolean")
644   (parameters
645     '("const-char*" "content_type")
646     '("GError**" "error")
647   )
648 )
649
650 (define-function g_app_info_get_all
651   (c-name "g_app_info_get_all")
652   (return-type "GList*")
653 )
654
655 (define-function g_app_info_get_all_for_type
656   (c-name "g_app_info_get_all_for_type")
657   (return-type "GList*")
658   (parameters
659     '("const-char*" "content_type")
660   )
661 )
662
663 (define-function g_app_info_get_default_for_type
664   (c-name "g_app_info_get_default_for_type")
665   (return-type "GAppInfo*")
666   (parameters
667     '("const-char*" "content_type")
668     '("gboolean" "must_support_uris")
669   )
670 )
671
672 (define-function g_app_info_get_default_for_uri_scheme
673   (c-name "g_app_info_get_default_for_uri_scheme")
674   (return-type "GAppInfo*")
675   (parameters
676     '("const-char*" "uri_scheme")
677   )
678 )
679
680 (define-function g_app_info_launch_default_for_uri
681   (c-name "g_app_info_launch_default_for_uri")
682   (return-type "gboolean")
683   (parameters
684     '("const-char*" "uri")
685     '("GAppLaunchContext*" "launch_context")
686     '("GError**" "error")
687   )
688 )
689
690 (define-function g_app_launch_context_new
691   (c-name "g_app_launch_context_new")
692   (is-constructor-of "GAppLaunchContext")
693   (return-type "GAppLaunchContext*")
694 )
695
696 (define-method get_display
697   (of-object "GAppLaunchContext")
698   (c-name "g_app_launch_context_get_display")
699   (return-type "char*")
700   (parameters
701     '("GAppInfo*" "info")
702     '("GList*" "files")
703   )
704 )
705
706 (define-method get_startup_notify_id
707   (of-object "GAppLaunchContext")
708   (c-name "g_app_launch_context_get_startup_notify_id")
709   (return-type "char*")
710   (parameters
711     '("GAppInfo*" "info")
712     '("GList*" "files")
713   )
714 )
715
716 (define-method launch_failed
717   (of-object "GAppLaunchContext")
718   (c-name "g_app_launch_context_launch_failed")
719   (return-type "none")
720   (parameters
721     '("const-char*" "startup_notify_id")
722   )
723 )
724
725
726
727 ;; From gasynchelper.h
728
729
730
731 ;; From gasyncresult.h
732
733 (define-function g_async_result_get_type
734   (c-name "g_async_result_get_type")
735   (return-type "GType")
736 )
737
738 (define-method get_user_data
739   (of-object "GAsyncResult")
740   (c-name "g_async_result_get_user_data")
741   (return-type "gpointer")
742 )
743
744 (define-method get_source_object
745   (of-object "GAsyncResult")
746   (c-name "g_async_result_get_source_object")
747   (return-type "GObject*")
748 )
749
750
751
752 ;; From gbufferedinputstream.h
753
754 (define-function g_buffered_input_stream_get_type
755   (c-name "g_buffered_input_stream_get_type")
756   (return-type "GType")
757 )
758
759 (define-function g_buffered_input_stream_new
760   (c-name "g_buffered_input_stream_new")
761   (is-constructor-of "GBufferedInputStream")
762   (return-type "GInputStream*")
763   (parameters
764     '("GInputStream*" "base_stream")
765   )
766 )
767
768 (define-function g_buffered_input_stream_new_sized
769   (c-name "g_buffered_input_stream_new_sized")
770   (return-type "GInputStream*")
771   (parameters
772     '("GInputStream*" "base_stream")
773     '("gsize" "size")
774   )
775 )
776
777 (define-method get_buffer_size
778   (of-object "GBufferedInputStream")
779   (c-name "g_buffered_input_stream_get_buffer_size")
780   (return-type "gsize")
781 )
782
783 (define-method set_buffer_size
784   (of-object "GBufferedInputStream")
785   (c-name "g_buffered_input_stream_set_buffer_size")
786   (return-type "none")
787   (parameters
788     '("gsize" "size")
789   )
790 )
791
792 (define-method get_available
793   (of-object "GBufferedInputStream")
794   (c-name "g_buffered_input_stream_get_available")
795   (return-type "gsize")
796 )
797
798 (define-method peek
799   (of-object "GBufferedInputStream")
800   (c-name "g_buffered_input_stream_peek")
801   (return-type "gsize")
802   (parameters
803     '("void*" "buffer")
804     '("gsize" "offset")
805     '("gsize" "count")
806   )
807 )
808
809 (define-method peek_buffer
810   (of-object "GBufferedInputStream")
811   (c-name "g_buffered_input_stream_peek_buffer")
812   (return-type "const-void*")
813   (parameters
814     '("gsize*" "count")
815   )
816 )
817
818 (define-method fill
819   (of-object "GBufferedInputStream")
820   (c-name "g_buffered_input_stream_fill")
821   (return-type "gssize")
822   (parameters
823     '("gssize" "count")
824     '("GCancellable*" "cancellable")
825     '("GError**" "error")
826   )
827 )
828
829 (define-method fill_async
830   (of-object "GBufferedInputStream")
831   (c-name "g_buffered_input_stream_fill_async")
832   (return-type "none")
833   (parameters
834     '("gssize" "count")
835     '("int" "io_priority")
836     '("GCancellable*" "cancellable")
837     '("GAsyncReadyCallback" "callback")
838     '("gpointer" "user_data")
839   )
840 )
841
842 (define-method fill_finish
843   (of-object "GBufferedInputStream")
844   (c-name "g_buffered_input_stream_fill_finish")
845   (return-type "gssize")
846   (parameters
847     '("GAsyncResult*" "result")
848     '("GError**" "error")
849   )
850 )
851
852 (define-method read_byte
853   (of-object "GBufferedInputStream")
854   (c-name "g_buffered_input_stream_read_byte")
855   (return-type "int")
856   (parameters
857     '("GCancellable*" "cancellable")
858     '("GError**" "error")
859   )
860 )
861
862
863
864 ;; From gbufferedoutputstream.h
865
866 (define-function g_buffered_output_stream_get_type
867   (c-name "g_buffered_output_stream_get_type")
868   (return-type "GType")
869 )
870
871 (define-function g_buffered_output_stream_new
872   (c-name "g_buffered_output_stream_new")
873   (is-constructor-of "GBufferedOutputStream")
874   (return-type "GOutputStream*")
875   (parameters
876     '("GOutputStream*" "base_stream")
877   )
878 )
879
880 (define-function g_buffered_output_stream_new_sized
881   (c-name "g_buffered_output_stream_new_sized")
882   (return-type "GOutputStream*")
883   (parameters
884     '("GOutputStream*" "base_stream")
885     '("gsize" "size")
886   )
887 )
888
889 (define-method get_buffer_size
890   (of-object "GBufferedOutputStream")
891   (c-name "g_buffered_output_stream_get_buffer_size")
892   (return-type "gsize")
893 )
894
895 (define-method set_buffer_size
896   (of-object "GBufferedOutputStream")
897   (c-name "g_buffered_output_stream_set_buffer_size")
898   (return-type "none")
899   (parameters
900     '("gsize" "size")
901   )
902 )
903
904 (define-method get_auto_grow
905   (of-object "GBufferedOutputStream")
906   (c-name "g_buffered_output_stream_get_auto_grow")
907   (return-type "gboolean")
908 )
909
910 (define-method set_auto_grow
911   (of-object "GBufferedOutputStream")
912   (c-name "g_buffered_output_stream_set_auto_grow")
913   (return-type "none")
914   (parameters
915     '("gboolean" "auto_grow")
916   )
917 )
918
919
920
921 ;; From gcancellable.h
922
923 (define-function g_cancellable_get_type
924   (c-name "g_cancellable_get_type")
925   (return-type "GType")
926 )
927
928 (define-function g_cancellable_new
929   (c-name "g_cancellable_new")
930   (is-constructor-of "GCancellable")
931   (return-type "GCancellable*")
932 )
933
934 (define-method is_cancelled
935   (of-object "GCancellable")
936   (c-name "g_cancellable_is_cancelled")
937   (return-type "gboolean")
938 )
939
940 (define-method set_error_if_cancelled
941   (of-object "GCancellable")
942   (c-name "g_cancellable_set_error_if_cancelled")
943   (return-type "gboolean")
944   (parameters
945     '("GError**" "error")
946   )
947 )
948
949 (define-method get_fd
950   (of-object "GCancellable")
951   (c-name "g_cancellable_get_fd")
952   (return-type "int")
953 )
954
955 (define-function g_cancellable_get_current
956   (c-name "g_cancellable_get_current")
957   (return-type "GCancellable*")
958 )
959
960 (define-method push_current
961   (of-object "GCancellable")
962   (c-name "g_cancellable_push_current")
963   (return-type "none")
964 )
965
966 (define-method pop_current
967   (of-object "GCancellable")
968   (c-name "g_cancellable_pop_current")
969   (return-type "none")
970 )
971
972 (define-method reset
973   (of-object "GCancellable")
974   (c-name "g_cancellable_reset")
975   (return-type "none")
976 )
977
978 (define-method cancel
979   (of-object "GCancellable")
980   (c-name "g_cancellable_cancel")
981   (return-type "none")
982 )
983
984
985
986 ;; From gcontenttype.h
987
988 (define-function g_content_type_equals
989   (c-name "g_content_type_equals")
990   (return-type "gboolean")
991   (parameters
992     '("const-char*" "type1")
993     '("const-char*" "type2")
994   )
995 )
996
997 (define-function g_content_type_is_a
998   (c-name "g_content_type_is_a")
999   (return-type "gboolean")
1000   (parameters
1001     '("const-char*" "type")
1002     '("const-char*" "supertype")
1003   )
1004 )
1005
1006 (define-function g_content_type_is_unknown
1007   (c-name "g_content_type_is_unknown")
1008   (return-type "gboolean")
1009   (parameters
1010     '("const-char*" "type")
1011   )
1012 )
1013
1014 (define-function g_content_type_get_description
1015   (c-name "g_content_type_get_description")
1016   (return-type "char*")
1017   (parameters
1018     '("const-char*" "type")
1019   )
1020 )
1021
1022 (define-function g_content_type_get_mime_type
1023   (c-name "g_content_type_get_mime_type")
1024   (return-type "char*")
1025   (parameters
1026     '("const-char*" "type")
1027   )
1028 )
1029
1030 (define-function g_content_type_get_icon
1031   (c-name "g_content_type_get_icon")
1032   (return-type "GIcon*")
1033   (parameters
1034     '("const-char*" "type")
1035   )
1036 )
1037
1038 (define-function g_content_type_can_be_executable
1039   (c-name "g_content_type_can_be_executable")
1040   (return-type "gboolean")
1041   (parameters
1042     '("const-char*" "type")
1043   )
1044 )
1045
1046 (define-function g_content_type_from_mime_type
1047   (c-name "g_content_type_from_mime_type")
1048   (return-type "char*")
1049   (parameters
1050     '("const-char*" "mime_type")
1051   )
1052 )
1053
1054 (define-function g_content_type_guess
1055   (c-name "g_content_type_guess")
1056   (return-type "char*")
1057   (parameters
1058     '("const-char*" "filename")
1059     '("const-guchar*" "data")
1060     '("gsize" "data_size")
1061     '("gboolean*" "result_uncertain")
1062   )
1063 )
1064
1065 (define-function g_content_type_guess_for_tree
1066   (c-name "g_content_type_guess_for_tree")
1067   (return-type "char**")
1068   (parameters
1069     '("GFile*" "root")
1070   )
1071 )
1072
1073 (define-function g_content_types_get_registered
1074   (c-name "g_content_types_get_registered")
1075   (return-type "GList*")
1076 )
1077
1078
1079
1080 ;; From gcontenttypeprivate.h
1081
1082
1083
1084 ;; From gdatainputstream.h
1085
1086 (define-function g_data_input_stream_get_type
1087   (c-name "g_data_input_stream_get_type")
1088   (return-type "GType")
1089 )
1090
1091 (define-function g_data_input_stream_new
1092   (c-name "g_data_input_stream_new")
1093   (is-constructor-of "GDataInputStream")
1094   (return-type "GDataInputStream*")
1095   (parameters
1096     '("GInputStream*" "base_stream")
1097   )
1098 )
1099
1100 (define-method set_byte_order
1101   (of-object "GDataInputStream")
1102   (c-name "g_data_input_stream_set_byte_order")
1103   (return-type "none")
1104   (parameters
1105     '("GDataStreamByteOrder" "order")
1106   )
1107 )
1108
1109 (define-method get_byte_order
1110   (of-object "GDataInputStream")
1111   (c-name "g_data_input_stream_get_byte_order")
1112   (return-type "GDataStreamByteOrder")
1113 )
1114
1115 (define-method set_newline_type
1116   (of-object "GDataInputStream")
1117   (c-name "g_data_input_stream_set_newline_type")
1118   (return-type "none")
1119   (parameters
1120     '("GDataStreamNewlineType" "type")
1121   )
1122 )
1123
1124 (define-method get_newline_type
1125   (of-object "GDataInputStream")
1126   (c-name "g_data_input_stream_get_newline_type")
1127   (return-type "GDataStreamNewlineType")
1128 )
1129
1130 (define-method read_byte
1131   (of-object "GDataInputStream")
1132   (c-name "g_data_input_stream_read_byte")
1133   (return-type "guchar")
1134   (parameters
1135     '("GCancellable*" "cancellable")
1136     '("GError**" "error")
1137   )
1138 )
1139
1140 (define-method read_int16
1141   (of-object "GDataInputStream")
1142   (c-name "g_data_input_stream_read_int16")
1143   (return-type "gint16")
1144   (parameters
1145     '("GCancellable*" "cancellable")
1146     '("GError**" "error")
1147   )
1148 )
1149
1150 (define-method read_uint16
1151   (of-object "GDataInputStream")
1152   (c-name "g_data_input_stream_read_uint16")
1153   (return-type "guint16")
1154   (parameters
1155     '("GCancellable*" "cancellable")
1156     '("GError**" "error")
1157   )
1158 )
1159
1160 (define-method read_int32
1161   (of-object "GDataInputStream")
1162   (c-name "g_data_input_stream_read_int32")
1163   (return-type "gint32")
1164   (parameters
1165     '("GCancellable*" "cancellable")
1166     '("GError**" "error")
1167   )
1168 )
1169
1170 (define-method read_uint32
1171   (of-object "GDataInputStream")
1172   (c-name "g_data_input_stream_read_uint32")
1173   (return-type "guint32")
1174   (parameters
1175     '("GCancellable*" "cancellable")
1176     '("GError**" "error")
1177   )
1178 )
1179
1180 (define-method read_int64
1181   (of-object "GDataInputStream")
1182   (c-name "g_data_input_stream_read_int64")
1183   (return-type "gint64")
1184   (parameters
1185     '("GCancellable*" "cancellable")
1186     '("GError**" "error")
1187   )
1188 )
1189
1190 (define-method read_uint64
1191   (of-object "GDataInputStream")
1192   (c-name "g_data_input_stream_read_uint64")
1193   (return-type "guint64")
1194   (parameters
1195     '("GCancellable*" "cancellable")
1196     '("GError**" "error")
1197   )
1198 )
1199
1200 (define-method read_line
1201   (of-object "GDataInputStream")
1202   (c-name "g_data_input_stream_read_line")
1203   (return-type "char*")
1204   (parameters
1205     '("gsize*" "length")
1206     '("GCancellable*" "cancellable")
1207     '("GError**" "error")
1208   )
1209 )
1210
1211 (define-method read_until
1212   (of-object "GDataInputStream")
1213   (c-name "g_data_input_stream_read_until")
1214   (return-type "char*")
1215   (parameters
1216     '("const-gchar*" "stop_chars")
1217     '("gsize*" "length")
1218     '("GCancellable*" "cancellable")
1219     '("GError**" "error")
1220   )
1221 )
1222
1223
1224
1225 ;; From gdataoutputstream.h
1226
1227 (define-function g_data_output_stream_get_type
1228   (c-name "g_data_output_stream_get_type")
1229   (return-type "GType")
1230 )
1231
1232 (define-function g_data_output_stream_new
1233   (c-name "g_data_output_stream_new")
1234   (is-constructor-of "GDataOutputStream")
1235   (return-type "GDataOutputStream*")
1236   (parameters
1237     '("GOutputStream*" "base_stream")
1238   )
1239 )
1240
1241 (define-method set_byte_order
1242   (of-object "GDataOutputStream")
1243   (c-name "g_data_output_stream_set_byte_order")
1244   (return-type "none")
1245   (parameters
1246     '("GDataStreamByteOrder" "order")
1247   )
1248 )
1249
1250 (define-method get_byte_order
1251   (of-object "GDataOutputStream")
1252   (c-name "g_data_output_stream_get_byte_order")
1253   (return-type "GDataStreamByteOrder")
1254 )
1255
1256 (define-method put_byte
1257   (of-object "GDataOutputStream")
1258   (c-name "g_data_output_stream_put_byte")
1259   (return-type "gboolean")
1260   (parameters
1261     '("guchar" "data")
1262     '("GCancellable*" "cancellable")
1263     '("GError**" "error")
1264   )
1265 )
1266
1267 (define-method put_int16
1268   (of-object "GDataOutputStream")
1269   (c-name "g_data_output_stream_put_int16")
1270   (return-type "gboolean")
1271   (parameters
1272     '("gint16" "data")
1273     '("GCancellable*" "cancellable")
1274     '("GError**" "error")
1275   )
1276 )
1277
1278 (define-method put_uint16
1279   (of-object "GDataOutputStream")
1280   (c-name "g_data_output_stream_put_uint16")
1281   (return-type "gboolean")
1282   (parameters
1283     '("guint16" "data")
1284     '("GCancellable*" "cancellable")
1285     '("GError**" "error")
1286   )
1287 )
1288
1289 (define-method put_int32
1290   (of-object "GDataOutputStream")
1291   (c-name "g_data_output_stream_put_int32")
1292   (return-type "gboolean")
1293   (parameters
1294     '("gint32" "data")
1295     '("GCancellable*" "cancellable")
1296     '("GError**" "error")
1297   )
1298 )
1299
1300 (define-method put_uint32
1301   (of-object "GDataOutputStream")
1302   (c-name "g_data_output_stream_put_uint32")
1303   (return-type "gboolean")
1304   (parameters
1305     '("guint32" "data")
1306     '("GCancellable*" "cancellable")
1307     '("GError**" "error")
1308   )
1309 )
1310
1311 (define-method put_int64
1312   (of-object "GDataOutputStream")
1313   (c-name "g_data_output_stream_put_int64")
1314   (return-type "gboolean")
1315   (parameters
1316     '("gint64" "data")
1317     '("GCancellable*" "cancellable")
1318     '("GError**" "error")
1319   )
1320 )
1321
1322 (define-method put_uint64
1323   (of-object "GDataOutputStream")
1324   (c-name "g_data_output_stream_put_uint64")
1325   (return-type "gboolean")
1326   (parameters
1327     '("guint64" "data")
1328     '("GCancellable*" "cancellable")
1329     '("GError**" "error")
1330   )
1331 )
1332
1333 (define-method put_string
1334   (of-object "GDataOutputStream")
1335   (c-name "g_data_output_stream_put_string")
1336   (return-type "gboolean")
1337   (parameters
1338     '("const-char*" "str")
1339     '("GCancellable*" "cancellable")
1340     '("GError**" "error")
1341   )
1342 )
1343
1344
1345
1346 ;; From gdesktopappinfo.h
1347
1348 (define-function g_desktop_app_info_get_type
1349   (c-name "g_desktop_app_info_get_type")
1350   (return-type "GType")
1351 )
1352
1353 (define-function g_desktop_app_info_new_from_filename
1354   (c-name "g_desktop_app_info_new_from_filename")
1355   (return-type "GDesktopAppInfo*")
1356   (parameters
1357     '("const-char*" "filename")
1358   )
1359 )
1360
1361 (define-function g_desktop_app_info_new_from_keyfile
1362   (c-name "g_desktop_app_info_new_from_keyfile")
1363   (return-type "GDesktopAppInfo*")
1364   (parameters
1365     '("GKeyFile*" "key_file")
1366   )
1367 )
1368
1369 (define-function g_desktop_app_info_new
1370   (c-name "g_desktop_app_info_new")
1371   (is-constructor-of "GDesktopAppInfo")
1372   (return-type "GDesktopAppInfo*")
1373   (parameters
1374     '("const-char*" "desktop_id")
1375   )
1376 )
1377
1378 (define-method get_is_hidden
1379   (of-object "GDesktopAppInfo")
1380   (c-name "g_desktop_app_info_get_is_hidden")
1381   (return-type "gboolean")
1382 )
1383
1384 (define-function g_desktop_app_info_set_desktop_env
1385   (c-name "g_desktop_app_info_set_desktop_env")
1386   (return-type "none")
1387   (parameters
1388     '("const-char*" "desktop_env")
1389   )
1390 )
1391
1392 (define-function g_desktop_app_info_lookup_get_type
1393   (c-name "g_desktop_app_info_lookup_get_type")
1394   (return-type "GType")
1395 )
1396
1397 (define-method get_default_for_uri_scheme
1398   (of-object "GDesktopAppInfoLookup")
1399   (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
1400   (return-type "GAppInfo*")
1401   (parameters
1402     '("const-char*" "uri_scheme")
1403   )
1404 )
1405
1406
1407
1408 ;; From gdrive.h
1409
1410 (define-function g_drive_get_type
1411   (c-name "g_drive_get_type")
1412   (return-type "GType")
1413 )
1414
1415 (define-method get_name
1416   (of-object "GDrive")
1417   (c-name "g_drive_get_name")
1418   (return-type "char*")
1419 )
1420
1421 (define-method get_icon
1422   (of-object "GDrive")
1423   (c-name "g_drive_get_icon")
1424   (return-type "GIcon*")
1425 )
1426
1427 (define-method has_volumes
1428   (of-object "GDrive")
1429   (c-name "g_drive_has_volumes")
1430   (return-type "gboolean")
1431 )
1432
1433 (define-method get_volumes
1434   (of-object "GDrive")
1435   (c-name "g_drive_get_volumes")
1436   (return-type "GList*")
1437 )
1438
1439 (define-method is_media_removable
1440   (of-object "GDrive")
1441   (c-name "g_drive_is_media_removable")
1442   (return-type "gboolean")
1443 )
1444
1445 (define-method has_media
1446   (of-object "GDrive")
1447   (c-name "g_drive_has_media")
1448   (return-type "gboolean")
1449 )
1450
1451 (define-method is_media_check_automatic
1452   (of-object "GDrive")
1453   (c-name "g_drive_is_media_check_automatic")
1454   (return-type "gboolean")
1455 )
1456
1457 (define-method can_poll_for_media
1458   (of-object "GDrive")
1459   (c-name "g_drive_can_poll_for_media")
1460   (return-type "gboolean")
1461 )
1462
1463 (define-method can_eject
1464   (of-object "GDrive")
1465   (c-name "g_drive_can_eject")
1466   (return-type "gboolean")
1467 )
1468
1469 (define-method eject
1470   (of-object "GDrive")
1471   (c-name "g_drive_eject")
1472   (return-type "none")
1473   (parameters
1474     '("GMountUnmountFlags" "flags")
1475     '("GCancellable*" "cancellable")
1476     '("GAsyncReadyCallback" "callback")
1477     '("gpointer" "user_data")
1478   )
1479 )
1480
1481 (define-method eject_finish
1482   (of-object "GDrive")
1483   (c-name "g_drive_eject_finish")
1484   (return-type "gboolean")
1485   (parameters
1486     '("GAsyncResult*" "result")
1487     '("GError**" "error")
1488   )
1489 )
1490
1491 (define-method poll_for_media
1492   (of-object "GDrive")
1493   (c-name "g_drive_poll_for_media")
1494   (return-type "none")
1495   (parameters
1496     '("GCancellable*" "cancellable")
1497     '("GAsyncReadyCallback" "callback")
1498     '("gpointer" "user_data")
1499   )
1500 )
1501
1502 (define-method poll_for_media_finish
1503   (of-object "GDrive")
1504   (c-name "g_drive_poll_for_media_finish")
1505   (return-type "gboolean")
1506   (parameters
1507     '("GAsyncResult*" "result")
1508     '("GError**" "error")
1509   )
1510 )
1511
1512 (define-method get_identifier
1513   (of-object "GDrive")
1514   (c-name "g_drive_get_identifier")
1515   (return-type "char*")
1516   (parameters
1517     '("const-char*" "kind")
1518   )
1519 )
1520
1521 (define-method enumerate_identifiers
1522   (of-object "GDrive")
1523   (c-name "g_drive_enumerate_identifiers")
1524   (return-type "char**")
1525 )
1526
1527
1528
1529 ;; From gdummyfile.h
1530
1531
1532
1533 ;; From gfileattribute.h
1534
1535 (define-function g_file_attribute_info_list_new
1536   (c-name "g_file_attribute_info_list_new")
1537   (is-constructor-of "GFileAttributeInfoList")
1538   (return-type "GFileAttributeInfoList*")
1539 )
1540
1541 (define-method ref
1542   (of-object "GFileAttributeInfoList")
1543   (c-name "g_file_attribute_info_list_ref")
1544   (return-type "GFileAttributeInfoList*")
1545 )
1546
1547 (define-method unref
1548   (of-object "GFileAttributeInfoList")
1549   (c-name "g_file_attribute_info_list_unref")
1550   (return-type "none")
1551 )
1552
1553 (define-method dup
1554   (of-object "GFileAttributeInfoList")
1555   (c-name "g_file_attribute_info_list_dup")
1556   (return-type "GFileAttributeInfoList*")
1557 )
1558
1559 (define-method lookup
1560   (of-object "GFileAttributeInfoList")
1561   (c-name "g_file_attribute_info_list_lookup")
1562   (return-type "const-GFileAttributeInfo*")
1563   (parameters
1564     '("const-char*" "name")
1565   )
1566 )
1567
1568 (define-method add
1569   (of-object "GFileAttributeInfoList")
1570   (c-name "g_file_attribute_info_list_add")
1571   (return-type "none")
1572   (parameters
1573     '("const-char*" "name")
1574     '("GFileAttributeType" "type")
1575     '("GFileAttributeInfoFlags" "flags")
1576   )
1577 )
1578
1579
1580
1581 ;; From gfileattribute-priv.h
1582
1583
1584
1585 ;; From gfileenumerator.h
1586
1587 (define-function g_file_enumerator_get_type
1588   (c-name "g_file_enumerator_get_type")
1589   (return-type "GType")
1590 )
1591
1592 (define-method next_file
1593   (of-object "GFileEnumerator")
1594   (c-name "g_file_enumerator_next_file")
1595   (return-type "GFileInfo*")
1596   (parameters
1597     '("GCancellable*" "cancellable")
1598     '("GError**" "error")
1599   )
1600 )
1601
1602 (define-method close
1603   (of-object "GFileEnumerator")
1604   (c-name "g_file_enumerator_close")
1605   (return-type "gboolean")
1606   (parameters
1607     '("GCancellable*" "cancellable")
1608     '("GError**" "error")
1609   )
1610 )
1611
1612 (define-method next_files_async
1613   (of-object "GFileEnumerator")
1614   (c-name "g_file_enumerator_next_files_async")
1615   (return-type "none")
1616   (parameters
1617     '("int" "num_files")
1618     '("int" "io_priority")
1619     '("GCancellable*" "cancellable")
1620     '("GAsyncReadyCallback" "callback")
1621     '("gpointer" "user_data")
1622   )
1623 )
1624
1625 (define-method next_files_finish
1626   (of-object "GFileEnumerator")
1627   (c-name "g_file_enumerator_next_files_finish")
1628   (return-type "GList*")
1629   (parameters
1630     '("GAsyncResult*" "result")
1631     '("GError**" "error")
1632   )
1633 )
1634
1635 (define-method close_async
1636   (of-object "GFileEnumerator")
1637   (c-name "g_file_enumerator_close_async")
1638   (return-type "none")
1639   (parameters
1640     '("int" "io_priority")
1641     '("GCancellable*" "cancellable")
1642     '("GAsyncReadyCallback" "callback")
1643     '("gpointer" "user_data")
1644   )
1645 )
1646
1647 (define-method close_finish
1648   (of-object "GFileEnumerator")
1649   (c-name "g_file_enumerator_close_finish")
1650   (return-type "gboolean")
1651   (parameters
1652     '("GAsyncResult*" "result")
1653     '("GError**" "error")
1654   )
1655 )
1656
1657 (define-method is_closed
1658   (of-object "GFileEnumerator")
1659   (c-name "g_file_enumerator_is_closed")
1660   (return-type "gboolean")
1661 )
1662
1663 (define-method has_pending
1664   (of-object "GFileEnumerator")
1665   (c-name "g_file_enumerator_has_pending")
1666   (return-type "gboolean")
1667 )
1668
1669 (define-method set_pending
1670   (of-object "GFileEnumerator")
1671   (c-name "g_file_enumerator_set_pending")
1672   (return-type "none")
1673   (parameters
1674     '("gboolean" "pending")
1675   )
1676 )
1677
1678 (define-method get_container
1679   (of-object "GFileEnumerator")
1680   (c-name "g_file_enumerator_get_container")
1681   (return-type "GFile*")
1682 )
1683
1684
1685
1686 ;; From gfile.h
1687
1688 (define-function g_file_get_type
1689   (c-name "g_file_get_type")
1690   (return-type "GType")
1691 )
1692
1693 (define-function g_file_new_for_path
1694   (c-name "g_file_new_for_path")
1695   (return-type "GFile*")
1696   (parameters
1697     '("const-char*" "path")
1698   )
1699 )
1700
1701 (define-function g_file_new_for_uri
1702   (c-name "g_file_new_for_uri")
1703   (return-type "GFile*")
1704   (parameters
1705     '("const-char*" "uri")
1706   )
1707 )
1708
1709 (define-function g_file_new_for_commandline_arg
1710   (c-name "g_file_new_for_commandline_arg")
1711   (return-type "GFile*")
1712   (parameters
1713     '("const-char*" "arg")
1714   )
1715 )
1716
1717 (define-function g_file_parse_name
1718   (c-name "g_file_parse_name")
1719   (return-type "GFile*")
1720   (parameters
1721     '("const-char*" "parse_name")
1722   )
1723 )
1724
1725 (define-method dup
1726   (of-object "GFile")
1727   (c-name "g_file_dup")
1728   (return-type "GFile*")
1729 )
1730
1731 (define-function g_file_hash
1732   (c-name "g_file_hash")
1733   (return-type "guint")
1734   (parameters
1735     '("gconstpointer" "file")
1736   )
1737 )
1738
1739 (define-method equal
1740   (of-object "GFile")
1741   (c-name "g_file_equal")
1742   (return-type "gboolean")
1743   (parameters
1744     '("GFile*" "file2")
1745   )
1746 )
1747
1748 (define-method get_basename
1749   (of-object "GFile")
1750   (c-name "g_file_get_basename")
1751   (return-type "char*")
1752 )
1753
1754 (define-method get_path
1755   (of-object "GFile")
1756   (c-name "g_file_get_path")
1757   (return-type "char*")
1758 )
1759
1760 (define-method get_uri
1761   (of-object "GFile")
1762   (c-name "g_file_get_uri")
1763   (return-type "char*")
1764 )
1765
1766 (define-method get_parse_name
1767   (of-object "GFile")
1768   (c-name "g_file_get_parse_name")
1769   (return-type "char*")
1770 )
1771
1772 (define-method get_parent
1773   (of-object "GFile")
1774   (c-name "g_file_get_parent")
1775   (return-type "GFile*")
1776 )
1777
1778 (define-method get_child
1779   (of-object "GFile")
1780   (c-name "g_file_get_child")
1781   (return-type "GFile*")
1782   (parameters
1783     '("const-char*" "name")
1784   )
1785 )
1786
1787 (define-method get_child_for_display_name
1788   (of-object "GFile")
1789   (c-name "g_file_get_child_for_display_name")
1790   (return-type "GFile*")
1791   (parameters
1792     '("const-char*" "display_name")
1793     '("GError**" "error")
1794   )
1795 )
1796
1797 (define-method has_prefix
1798   (of-object "GFile")
1799   (c-name "g_file_has_prefix")
1800   (return-type "gboolean")
1801   (parameters
1802     '("GFile*" "prefix")
1803   )
1804 )
1805
1806 (define-method get_relative_path
1807   (of-object "GFile")
1808   (c-name "g_file_get_relative_path")
1809   (return-type "char*")
1810   (parameters
1811     '("GFile*" "descendant")
1812   )
1813 )
1814
1815 (define-method resolve_relative_path
1816   (of-object "GFile")
1817   (c-name "g_file_resolve_relative_path")
1818   (return-type "GFile*")
1819   (parameters
1820     '("const-char*" "relative_path")
1821   )
1822 )
1823
1824 (define-method is_native
1825   (of-object "GFile")
1826   (c-name "g_file_is_native")
1827   (return-type "gboolean")
1828 )
1829
1830 (define-method has_uri_scheme
1831   (of-object "GFile")
1832   (c-name "g_file_has_uri_scheme")
1833   (return-type "gboolean")
1834   (parameters
1835     '("const-char*" "uri_scheme")
1836   )
1837 )
1838
1839 (define-method get_uri_scheme
1840   (of-object "GFile")
1841   (c-name "g_file_get_uri_scheme")
1842   (return-type "char*")
1843 )
1844
1845 (define-method read
1846   (of-object "GFile")
1847   (c-name "g_file_read")
1848   (return-type "GFileInputStream*")
1849   (parameters
1850     '("GCancellable*" "cancellable")
1851     '("GError**" "error")
1852   )
1853 )
1854
1855 (define-method read_async
1856   (of-object "GFile")
1857   (c-name "g_file_read_async")
1858   (return-type "none")
1859   (parameters
1860     '("int" "io_priority")
1861     '("GCancellable*" "cancellable")
1862     '("GAsyncReadyCallback" "callback")
1863     '("gpointer" "user_data")
1864   )
1865 )
1866
1867 (define-method read_finish
1868   (of-object "GFile")
1869   (c-name "g_file_read_finish")
1870   (return-type "GFileInputStream*")
1871   (parameters
1872     '("GAsyncResult*" "res")
1873     '("GError**" "error")
1874   )
1875 )
1876
1877 (define-method append_to
1878   (of-object "GFile")
1879   (c-name "g_file_append_to")
1880   (return-type "GFileOutputStream*")
1881   (parameters
1882     '("GFileCreateFlags" "flags")
1883     '("GCancellable*" "cancellable")
1884     '("GError**" "error")
1885   )
1886 )
1887
1888 (define-method create
1889   (of-object "GFile")
1890   (c-name "g_file_create")
1891   (return-type "GFileOutputStream*")
1892   (parameters
1893     '("GFileCreateFlags" "flags")
1894     '("GCancellable*" "cancellable")
1895     '("GError**" "error")
1896   )
1897 )
1898
1899 (define-method replace
1900   (of-object "GFile")
1901   (c-name "g_file_replace")
1902   (return-type "GFileOutputStream*")
1903   (parameters
1904     '("const-char*" "etag")
1905     '("gboolean" "make_backup")
1906     '("GFileCreateFlags" "flags")
1907     '("GCancellable*" "cancellable")
1908     '("GError**" "error")
1909   )
1910 )
1911
1912 (define-method append_to_async
1913   (of-object "GFile")
1914   (c-name "g_file_append_to_async")
1915   (return-type "none")
1916   (parameters
1917     '("GFileCreateFlags" "flags")
1918     '("int" "io_priority")
1919     '("GCancellable*" "cancellable")
1920     '("GAsyncReadyCallback" "callback")
1921     '("gpointer" "user_data")
1922   )
1923 )
1924
1925 (define-method append_to_finish
1926   (of-object "GFile")
1927   (c-name "g_file_append_to_finish")
1928   (return-type "GFileOutputStream*")
1929   (parameters
1930     '("GAsyncResult*" "res")
1931     '("GError**" "error")
1932   )
1933 )
1934
1935 (define-method create_async
1936   (of-object "GFile")
1937   (c-name "g_file_create_async")
1938   (return-type "none")
1939   (parameters
1940     '("GFileCreateFlags" "flags")
1941     '("int" "io_priority")
1942     '("GCancellable*" "cancellable")
1943     '("GAsyncReadyCallback" "callback")
1944     '("gpointer" "user_data")
1945   )
1946 )
1947
1948 (define-method create_finish
1949   (of-object "GFile")
1950   (c-name "g_file_create_finish")
1951   (return-type "GFileOutputStream*")
1952   (parameters
1953     '("GAsyncResult*" "res")
1954     '("GError**" "error")
1955   )
1956 )
1957
1958 (define-method replace_async
1959   (of-object "GFile")
1960   (c-name "g_file_replace_async")
1961   (return-type "none")
1962   (parameters
1963     '("const-char*" "etag")
1964     '("gboolean" "make_backup")
1965     '("GFileCreateFlags" "flags")
1966     '("int" "io_priority")
1967     '("GCancellable*" "cancellable")
1968     '("GAsyncReadyCallback" "callback")
1969     '("gpointer" "user_data")
1970   )
1971 )
1972
1973 (define-method replace_finish
1974   (of-object "GFile")
1975   (c-name "g_file_replace_finish")
1976   (return-type "GFileOutputStream*")
1977   (parameters
1978     '("GAsyncResult*" "res")
1979     '("GError**" "error")
1980   )
1981 )
1982
1983 (define-method query_exists
1984   (of-object "GFile")
1985   (c-name "g_file_query_exists")
1986   (return-type "gboolean")
1987   (parameters
1988     '("GCancellable*" "cancellable")
1989   )
1990 )
1991
1992 (define-method query_file_type
1993   (of-object "GFile")
1994   (c-name "g_file_query_file_type")
1995   (return-type "GFileType")
1996   (parameters
1997     '("GFileQueryInfoFlags" "flags")
1998     '("GCancellable*" "cancellable")
1999   )
2000 )
2001
2002 (define-method query_info
2003   (of-object "GFile")
2004   (c-name "g_file_query_info")
2005   (return-type "GFileInfo*")
2006   (parameters
2007     '("const-char*" "attributes")
2008     '("GFileQueryInfoFlags" "flags")
2009     '("GCancellable*" "cancellable")
2010     '("GError**" "error")
2011   )
2012 )
2013
2014 (define-method query_info_async
2015   (of-object "GFile")
2016   (c-name "g_file_query_info_async")
2017   (return-type "none")
2018   (parameters
2019     '("const-char*" "attributes")
2020     '("GFileQueryInfoFlags" "flags")
2021     '("int" "io_priority")
2022     '("GCancellable*" "cancellable")
2023     '("GAsyncReadyCallback" "callback")
2024     '("gpointer" "user_data")
2025   )
2026 )
2027
2028 (define-method query_info_finish
2029   (of-object "GFile")
2030   (c-name "g_file_query_info_finish")
2031   (return-type "GFileInfo*")
2032   (parameters
2033     '("GAsyncResult*" "res")
2034     '("GError**" "error")
2035   )
2036 )
2037
2038 (define-method query_filesystem_info
2039   (of-object "GFile")
2040   (c-name "g_file_query_filesystem_info")
2041   (return-type "GFileInfo*")
2042   (parameters
2043     '("const-char*" "attributes")
2044     '("GCancellable*" "cancellable")
2045     '("GError**" "error")
2046   )
2047 )
2048
2049 (define-method query_filesystem_info_async
2050   (of-object "GFile")
2051   (c-name "g_file_query_filesystem_info_async")
2052   (return-type "none")
2053   (parameters
2054     '("const-char*" "attributes")
2055     '("int" "io_priority")
2056     '("GCancellable*" "cancellable")
2057     '("GAsyncReadyCallback" "callback")
2058     '("gpointer" "user_data")
2059   )
2060 )
2061
2062 (define-method query_filesystem_info_finish
2063   (of-object "GFile")
2064   (c-name "g_file_query_filesystem_info_finish")
2065   (return-type "GFileInfo*")
2066   (parameters
2067     '("GAsyncResult*" "res")
2068     '("GError**" "error")
2069   )
2070 )
2071
2072 (define-method find_enclosing_mount
2073   (of-object "GFile")
2074   (c-name "g_file_find_enclosing_mount")
2075   (return-type "GMount*")
2076   (parameters
2077     '("GCancellable*" "cancellable")
2078     '("GError**" "error")
2079   )
2080 )
2081
2082 (define-method find_enclosing_mount_async
2083   (of-object "GFile")
2084   (c-name "g_file_find_enclosing_mount_async")
2085   (return-type "none")
2086   (parameters
2087     '("int" "io_priority")
2088     '("GCancellable*" "cancellable")
2089     '("GAsyncReadyCallback" "callback")
2090     '("gpointer" "user_data")
2091   )
2092 )
2093
2094 (define-method find_enclosing_mount_finish
2095   (of-object "GFile")
2096   (c-name "g_file_find_enclosing_mount_finish")
2097   (return-type "GMount*")
2098   (parameters
2099     '("GAsyncResult*" "res")
2100     '("GError**" "error")
2101   )
2102 )
2103
2104 (define-method enumerate_children
2105   (of-object "GFile")
2106   (c-name "g_file_enumerate_children")
2107   (return-type "GFileEnumerator*")
2108   (parameters
2109     '("const-char*" "attributes")
2110     '("GFileQueryInfoFlags" "flags")
2111     '("GCancellable*" "cancellable")
2112     '("GError**" "error")
2113   )
2114 )
2115
2116 (define-method enumerate_children_async
2117   (of-object "GFile")
2118   (c-name "g_file_enumerate_children_async")
2119   (return-type "none")
2120   (parameters
2121     '("const-char*" "attributes")
2122     '("GFileQueryInfoFlags" "flags")
2123     '("int" "io_priority")
2124     '("GCancellable*" "cancellable")
2125     '("GAsyncReadyCallback" "callback")
2126     '("gpointer" "user_data")
2127   )
2128 )
2129
2130 (define-method enumerate_children_finish
2131   (of-object "GFile")
2132   (c-name "g_file_enumerate_children_finish")
2133   (return-type "GFileEnumerator*")
2134   (parameters
2135     '("GAsyncResult*" "res")
2136     '("GError**" "error")
2137   )
2138 )
2139
2140 (define-method set_display_name
2141   (of-object "GFile")
2142   (c-name "g_file_set_display_name")
2143   (return-type "GFile*")
2144   (parameters
2145     '("const-char*" "display_name")
2146     '("GCancellable*" "cancellable")
2147     '("GError**" "error")
2148   )
2149 )
2150
2151 (define-method set_display_name_async
2152   (of-object "GFile")
2153   (c-name "g_file_set_display_name_async")
2154   (return-type "none")
2155   (parameters
2156     '("const-char*" "display_name")
2157     '("int" "io_priority")
2158     '("GCancellable*" "cancellable")
2159     '("GAsyncReadyCallback" "callback")
2160     '("gpointer" "user_data")
2161   )
2162 )
2163
2164 (define-method set_display_name_finish
2165   (of-object "GFile")
2166   (c-name "g_file_set_display_name_finish")
2167   (return-type "GFile*")
2168   (parameters
2169     '("GAsyncResult*" "res")
2170     '("GError**" "error")
2171   )
2172 )
2173
2174 (define-method delete
2175   (of-object "GFile")
2176   (c-name "g_file_delete")
2177   (return-type "gboolean")
2178   (parameters
2179     '("GCancellable*" "cancellable")
2180     '("GError**" "error")
2181   )
2182 )
2183
2184 (define-method trash
2185   (of-object "GFile")
2186   (c-name "g_file_trash")
2187   (return-type "gboolean")
2188   (parameters
2189     '("GCancellable*" "cancellable")
2190     '("GError**" "error")
2191   )
2192 )
2193
2194 (define-method copy
2195   (of-object "GFile")
2196   (c-name "g_file_copy")
2197   (return-type "gboolean")
2198   (parameters
2199     '("GFile*" "destination")
2200     '("GFileCopyFlags" "flags")
2201     '("GCancellable*" "cancellable")
2202     '("GFileProgressCallback" "progress_callback")
2203     '("gpointer" "progress_callback_data")
2204     '("GError**" "error")
2205   )
2206 )
2207
2208 (define-method copy_async
2209   (of-object "GFile")
2210   (c-name "g_file_copy_async")
2211   (return-type "none")
2212   (parameters
2213     '("GFile*" "destination")
2214     '("GFileCopyFlags" "flags")
2215     '("int" "io_priority")
2216     '("GCancellable*" "cancellable")
2217     '("GFileProgressCallback" "progress_callback")
2218     '("gpointer" "progress_callback_data")
2219     '("GAsyncReadyCallback" "callback")
2220     '("gpointer" "user_data")
2221   )
2222 )
2223
2224 (define-method copy_finish
2225   (of-object "GFile")
2226   (c-name "g_file_copy_finish")
2227   (return-type "gboolean")
2228   (parameters
2229     '("GAsyncResult*" "res")
2230     '("GError**" "error")
2231   )
2232 )
2233
2234 (define-method move
2235   (of-object "GFile")
2236   (c-name "g_file_move")
2237   (return-type "gboolean")
2238   (parameters
2239     '("GFile*" "destination")
2240     '("GFileCopyFlags" "flags")
2241     '("GCancellable*" "cancellable")
2242     '("GFileProgressCallback" "progress_callback")
2243     '("gpointer" "progress_callback_data")
2244     '("GError**" "error")
2245   )
2246 )
2247
2248 (define-method make_directory
2249   (of-object "GFile")
2250   (c-name "g_file_make_directory")
2251   (return-type "gboolean")
2252   (parameters
2253     '("GCancellable*" "cancellable")
2254     '("GError**" "error")
2255   )
2256 )
2257
2258 (define-method make_directory_with_parents
2259   (of-object "GFile")
2260   (c-name "g_file_make_directory_with_parents")
2261   (return-type "gboolean")
2262   (parameters
2263     '("GCancellable*" "cancellable")
2264     '("GError**" "error")
2265   )
2266 )
2267
2268 (define-method make_symbolic_link
2269   (of-object "GFile")
2270   (c-name "g_file_make_symbolic_link")
2271   (return-type "gboolean")
2272   (parameters
2273     '("const-char*" "symlink_value")
2274     '("GCancellable*" "cancellable")
2275     '("GError**" "error")
2276   )
2277 )
2278
2279 (define-method query_settable_attributes
2280   (of-object "GFile")
2281   (c-name "g_file_query_settable_attributes")
2282   (return-type "GFileAttributeInfoList*")
2283   (parameters
2284     '("GCancellable*" "cancellable")
2285     '("GError**" "error")
2286   )
2287 )
2288
2289 (define-method query_writable_namespaces
2290   (of-object "GFile")
2291   (c-name "g_file_query_writable_namespaces")
2292   (return-type "GFileAttributeInfoList*")
2293   (parameters
2294     '("GCancellable*" "cancellable")
2295     '("GError**" "error")
2296   )
2297 )
2298
2299 (define-method set_attribute
2300   (of-object "GFile")
2301   (c-name "g_file_set_attribute")
2302   (return-type "gboolean")
2303   (parameters
2304     '("const-char*" "attribute")
2305     '("GFileAttributeType" "type")
2306     '("gpointer" "value_p")
2307     '("GFileQueryInfoFlags" "flags")
2308     '("GCancellable*" "cancellable")
2309     '("GError**" "error")
2310   )
2311 )
2312
2313 (define-method set_attributes_from_info
2314   (of-object "GFile")
2315   (c-name "g_file_set_attributes_from_info")
2316   (return-type "gboolean")
2317   (parameters
2318     '("GFileInfo*" "info")
2319     '("GFileQueryInfoFlags" "flags")
2320     '("GCancellable*" "cancellable")
2321     '("GError**" "error")
2322   )
2323 )
2324
2325 (define-method set_attributes_async
2326   (of-object "GFile")
2327   (c-name "g_file_set_attributes_async")
2328   (return-type "none")
2329   (parameters
2330     '("GFileInfo*" "info")
2331     '("GFileQueryInfoFlags" "flags")
2332     '("int" "io_priority")
2333     '("GCancellable*" "cancellable")
2334     '("GAsyncReadyCallback" "callback")
2335     '("gpointer" "user_data")
2336   )
2337 )
2338
2339 (define-method set_attributes_finish
2340   (of-object "GFile")
2341   (c-name "g_file_set_attributes_finish")
2342   (return-type "gboolean")
2343   (parameters
2344     '("GAsyncResult*" "result")
2345     '("GFileInfo**" "info")
2346     '("GError**" "error")
2347   )
2348 )
2349
2350 (define-method set_attribute_string
2351   (of-object "GFile")
2352   (c-name "g_file_set_attribute_string")
2353   (return-type "gboolean")
2354   (parameters
2355     '("const-char*" "attribute")
2356     '("const-char*" "value")
2357     '("GFileQueryInfoFlags" "flags")
2358     '("GCancellable*" "cancellable")
2359     '("GError**" "error")
2360   )
2361 )
2362
2363 (define-method set_attribute_byte_string
2364   (of-object "GFile")
2365   (c-name "g_file_set_attribute_byte_string")
2366   (return-type "gboolean")
2367   (parameters
2368     '("const-char*" "attribute")
2369     '("const-char*" "value")
2370     '("GFileQueryInfoFlags" "flags")
2371     '("GCancellable*" "cancellable")
2372     '("GError**" "error")
2373   )
2374 )
2375
2376 (define-method set_attribute_uint32
2377   (of-object "GFile")
2378   (c-name "g_file_set_attribute_uint32")
2379   (return-type "gboolean")
2380   (parameters
2381     '("const-char*" "attribute")
2382     '("guint32" "value")
2383     '("GFileQueryInfoFlags" "flags")
2384     '("GCancellable*" "cancellable")
2385     '("GError**" "error")
2386   )
2387 )
2388
2389 (define-method set_attribute_int32
2390   (of-object "GFile")
2391   (c-name "g_file_set_attribute_int32")
2392   (return-type "gboolean")
2393   (parameters
2394     '("const-char*" "attribute")
2395     '("gint32" "value")
2396     '("GFileQueryInfoFlags" "flags")
2397     '("GCancellable*" "cancellable")
2398     '("GError**" "error")
2399   )
2400 )
2401
2402 (define-method set_attribute_uint64
2403   (of-object "GFile")
2404   (c-name "g_file_set_attribute_uint64")
2405   (return-type "gboolean")
2406   (parameters
2407     '("const-char*" "attribute")
2408     '("guint64" "value")
2409     '("GFileQueryInfoFlags" "flags")
2410     '("GCancellable*" "cancellable")
2411     '("GError**" "error")
2412   )
2413 )
2414
2415 (define-method set_attribute_int64
2416   (of-object "GFile")
2417   (c-name "g_file_set_attribute_int64")
2418   (return-type "gboolean")
2419   (parameters
2420     '("const-char*" "attribute")
2421     '("gint64" "value")
2422     '("GFileQueryInfoFlags" "flags")
2423     '("GCancellable*" "cancellable")
2424     '("GError**" "error")
2425   )
2426 )
2427
2428 (define-method mount_enclosing_volume
2429   (of-object "GFile")
2430   (c-name "g_file_mount_enclosing_volume")
2431   (return-type "none")
2432   (parameters
2433     '("GMountMountFlags" "flags")
2434     '("GMountOperation*" "mount_operation")
2435     '("GCancellable*" "cancellable")
2436     '("GAsyncReadyCallback" "callback")
2437     '("gpointer" "user_data")
2438   )
2439 )
2440
2441 (define-method mount_enclosing_volume_finish
2442   (of-object "GFile")
2443   (c-name "g_file_mount_enclosing_volume_finish")
2444   (return-type "gboolean")
2445   (parameters
2446     '("GAsyncResult*" "result")
2447     '("GError**" "error")
2448   )
2449 )
2450
2451 (define-method mount_mountable
2452   (of-object "GFile")
2453   (c-name "g_file_mount_mountable")
2454   (return-type "none")
2455   (parameters
2456     '("GMountMountFlags" "flags")
2457     '("GMountOperation*" "mount_operation")
2458     '("GCancellable*" "cancellable")
2459     '("GAsyncReadyCallback" "callback")
2460     '("gpointer" "user_data")
2461   )
2462 )
2463
2464 (define-method mount_mountable_finish
2465   (of-object "GFile")
2466   (c-name "g_file_mount_mountable_finish")
2467   (return-type "GFile*")
2468   (parameters
2469     '("GAsyncResult*" "result")
2470     '("GError**" "error")
2471   )
2472 )
2473
2474 (define-method unmount_mountable
2475   (of-object "GFile")
2476   (c-name "g_file_unmount_mountable")
2477   (return-type "none")
2478   (parameters
2479     '("GMountUnmountFlags" "flags")
2480     '("GCancellable*" "cancellable")
2481     '("GAsyncReadyCallback" "callback")
2482     '("gpointer" "user_data")
2483   )
2484 )
2485
2486 (define-method unmount_mountable_finish
2487   (of-object "GFile")
2488   (c-name "g_file_unmount_mountable_finish")
2489   (return-type "gboolean")
2490   (parameters
2491     '("GAsyncResult*" "result")
2492     '("GError**" "error")
2493   )
2494 )
2495
2496 (define-method eject_mountable
2497   (of-object "GFile")
2498   (c-name "g_file_eject_mountable")
2499   (return-type "none")
2500   (parameters
2501     '("GMountUnmountFlags" "flags")
2502     '("GCancellable*" "cancellable")
2503     '("GAsyncReadyCallback" "callback")
2504     '("gpointer" "user_data")
2505   )
2506 )
2507
2508 (define-method eject_mountable_finish
2509   (of-object "GFile")
2510   (c-name "g_file_eject_mountable_finish")
2511   (return-type "gboolean")
2512   (parameters
2513     '("GAsyncResult*" "result")
2514     '("GError**" "error")
2515   )
2516 )
2517
2518 (define-method copy_attributes
2519   (of-object "GFile")
2520   (c-name "g_file_copy_attributes")
2521   (return-type "gboolean")
2522   (parameters
2523     '("GFile*" "destination")
2524     '("GFileCopyFlags" "flags")
2525     '("GCancellable*" "cancellable")
2526     '("GError**" "error")
2527   )
2528 )
2529
2530 (define-method monitor_directory
2531   (of-object "GFile")
2532   (c-name "g_file_monitor_directory")
2533   (return-type "GFileMonitor*")
2534   (parameters
2535     '("GFileMonitorFlags" "flags")
2536     '("GCancellable*" "cancellable")
2537     '("GError**" "error")
2538   )
2539 )
2540
2541 (define-method monitor_file
2542   (of-object "GFile")
2543   (c-name "g_file_monitor_file")
2544   (return-type "GFileMonitor*")
2545   (parameters
2546     '("GFileMonitorFlags" "flags")
2547     '("GCancellable*" "cancellable")
2548     '("GError**" "error")
2549   )
2550 )
2551
2552 (define-method monitor
2553   (of-object "GFile")
2554   (c-name "g_file_monitor")
2555   (return-type "GFileMonitor*")
2556   (parameters
2557     '("GFileMonitorFlags" "flags")
2558     '("GCancellable*" "cancellable")
2559     '("GError**" "error")
2560   )
2561 )
2562
2563 (define-method query_default_handler
2564   (of-object "GFile")
2565   (c-name "g_file_query_default_handler")
2566   (return-type "GAppInfo*")
2567   (parameters
2568     '("GCancellable*" "cancellable")
2569     '("GError**" "error")
2570   )
2571 )
2572
2573 (define-method load_contents
2574   (of-object "GFile")
2575   (c-name "g_file_load_contents")
2576   (return-type "gboolean")
2577   (parameters
2578     '("GCancellable*" "cancellable")
2579     '("char**" "contents")
2580     '("gsize*" "length")
2581     '("char**" "etag_out")
2582     '("GError**" "error")
2583   )
2584 )
2585
2586 (define-method load_contents_async
2587   (of-object "GFile")
2588   (c-name "g_file_load_contents_async")
2589   (return-type "none")
2590   (parameters
2591     '("GCancellable*" "cancellable")
2592     '("GAsyncReadyCallback" "callback")
2593     '("gpointer" "user_data")
2594   )
2595 )
2596
2597 (define-method load_contents_finish
2598   (of-object "GFile")
2599   (c-name "g_file_load_contents_finish")
2600   (return-type "gboolean")
2601   (parameters
2602     '("GAsyncResult*" "res")
2603     '("char**" "contents")
2604     '("gsize*" "length")
2605     '("char**" "etag_out")
2606     '("GError**" "error")
2607   )
2608 )
2609
2610 (define-method load_partial_contents_async
2611   (of-object "GFile")
2612   (c-name "g_file_load_partial_contents_async")
2613   (return-type "none")
2614   (parameters
2615     '("GCancellable*" "cancellable")
2616     '("GFileReadMoreCallback" "read_more_callback")
2617     '("GAsyncReadyCallback" "callback")
2618     '("gpointer" "user_data")
2619   )
2620 )
2621
2622 (define-method load_partial_contents_finish
2623   (of-object "GFile")
2624   (c-name "g_file_load_partial_contents_finish")
2625   (return-type "gboolean")
2626   (parameters
2627     '("GAsyncResult*" "res")
2628     '("char**" "contents")
2629     '("gsize*" "length")
2630     '("char**" "etag_out")
2631     '("GError**" "error")
2632   )
2633 )
2634
2635 (define-method replace_contents
2636   (of-object "GFile")
2637   (c-name "g_file_replace_contents")
2638   (return-type "gboolean")
2639   (parameters
2640     '("const-char*" "contents")
2641     '("gsize" "length")
2642     '("const-char*" "etag")
2643     '("gboolean" "make_backup")
2644     '("GFileCreateFlags" "flags")
2645     '("char**" "new_etag")
2646     '("GCancellable*" "cancellable")
2647     '("GError**" "error")
2648   )
2649 )
2650
2651 (define-method replace_contents_async
2652   (of-object "GFile")
2653   (c-name "g_file_replace_contents_async")
2654   (return-type "none")
2655   (parameters
2656     '("const-char*" "contents")
2657     '("gsize" "length")
2658     '("const-char*" "etag")
2659     '("gboolean" "make_backup")
2660     '("GFileCreateFlags" "flags")
2661     '("GCancellable*" "cancellable")
2662     '("GAsyncReadyCallback" "callback")
2663     '("gpointer" "user_data")
2664   )
2665 )
2666
2667 (define-method replace_contents_finish
2668   (of-object "GFile")
2669   (c-name "g_file_replace_contents_finish")
2670   (return-type "gboolean")
2671   (parameters
2672     '("GAsyncResult*" "res")
2673     '("char**" "new_etag")
2674     '("GError**" "error")
2675   )
2676 )
2677
2678
2679
2680 ;; From gfileicon.h
2681
2682 (define-function g_file_icon_get_type
2683   (c-name "g_file_icon_get_type")
2684   (return-type "GType")
2685 )
2686
2687 (define-method icon_new
2688   (of-object "GFile")
2689   (c-name "g_file_icon_new")
2690   (return-type "GIcon*")
2691 )
2692
2693 (define-method get_file
2694   (of-object "GFileIcon")
2695   (c-name "g_file_icon_get_file")
2696   (return-type "GFile*")
2697 )
2698
2699
2700
2701 ;; From gfileinfo.h
2702
2703 (define-function g_file_info_get_type
2704   (c-name "g_file_info_get_type")
2705   (return-type "GType")
2706 )
2707
2708 (define-function g_file_info_new
2709   (c-name "g_file_info_new")
2710   (is-constructor-of "GFileInfo")
2711   (return-type "GFileInfo*")
2712 )
2713
2714 (define-method dup
2715   (of-object "GFileInfo")
2716   (c-name "g_file_info_dup")
2717   (return-type "GFileInfo*")
2718 )
2719
2720 (define-method copy_into
2721   (of-object "GFileInfo")
2722   (c-name "g_file_info_copy_into")
2723   (return-type "none")
2724   (parameters
2725     '("GFileInfo*" "dest_info")
2726   )
2727 )
2728
2729 (define-method has_attribute
2730   (of-object "GFileInfo")
2731   (c-name "g_file_info_has_attribute")
2732   (return-type "gboolean")
2733   (parameters
2734     '("const-char*" "attribute")
2735   )
2736 )
2737
2738 (define-method list_attributes
2739   (of-object "GFileInfo")
2740   (c-name "g_file_info_list_attributes")
2741   (return-type "char**")
2742   (parameters
2743     '("const-char*" "name_space")
2744   )
2745 )
2746
2747 (define-method get_attribute_data
2748   (of-object "GFileInfo")
2749   (c-name "g_file_info_get_attribute_data")
2750   (return-type "gboolean")
2751   (parameters
2752     '("const-char*" "attribute")
2753     '("GFileAttributeType*" "type")
2754     '("gpointer*" "value_pp")
2755     '("GFileAttributeStatus*" "status")
2756   )
2757 )
2758
2759 (define-method get_attribute_type
2760   (of-object "GFileInfo")
2761   (c-name "g_file_info_get_attribute_type")
2762   (return-type "GFileAttributeType")
2763   (parameters
2764     '("const-char*" "attribute")
2765   )
2766 )
2767
2768 (define-method remove_attribute
2769   (of-object "GFileInfo")
2770   (c-name "g_file_info_remove_attribute")
2771   (return-type "none")
2772   (parameters
2773     '("const-char*" "attribute")
2774   )
2775 )
2776
2777 (define-method get_attribute_status
2778   (of-object "GFileInfo")
2779   (c-name "g_file_info_get_attribute_status")
2780   (return-type "GFileAttributeStatus")
2781   (parameters
2782     '("const-char*" "attribute")
2783   )
2784 )
2785
2786 (define-method get_attribute_as_string
2787   (of-object "GFileInfo")
2788   (c-name "g_file_info_get_attribute_as_string")
2789   (return-type "char*")
2790   (parameters
2791     '("const-char*" "attribute")
2792   )
2793 )
2794
2795 (define-method get_attribute_string
2796   (of-object "GFileInfo")
2797   (c-name "g_file_info_get_attribute_string")
2798   (return-type "const-char*")
2799   (parameters
2800     '("const-char*" "attribute")
2801   )
2802 )
2803
2804 (define-method get_attribute_byte_string
2805   (of-object "GFileInfo")
2806   (c-name "g_file_info_get_attribute_byte_string")
2807   (return-type "const-char*")
2808   (parameters
2809     '("const-char*" "attribute")
2810   )
2811 )
2812
2813 (define-method get_attribute_boolean
2814   (of-object "GFileInfo")
2815   (c-name "g_file_info_get_attribute_boolean")
2816   (return-type "gboolean")
2817   (parameters
2818     '("const-char*" "attribute")
2819   )
2820 )
2821
2822 (define-method get_attribute_uint32
2823   (of-object "GFileInfo")
2824   (c-name "g_file_info_get_attribute_uint32")
2825   (return-type "guint32")
2826   (parameters
2827     '("const-char*" "attribute")
2828   )
2829 )
2830
2831 (define-method get_attribute_int32
2832   (of-object "GFileInfo")
2833   (c-name "g_file_info_get_attribute_int32")
2834   (return-type "gint32")
2835   (parameters
2836     '("const-char*" "attribute")
2837   )
2838 )
2839
2840 (define-method get_attribute_uint64
2841   (of-object "GFileInfo")
2842   (c-name "g_file_info_get_attribute_uint64")
2843   (return-type "guint64")
2844   (parameters
2845     '("const-char*" "attribute")
2846   )
2847 )
2848
2849 (define-method get_attribute_int64
2850   (of-object "GFileInfo")
2851   (c-name "g_file_info_get_attribute_int64")
2852   (return-type "gint64")
2853   (parameters
2854     '("const-char*" "attribute")
2855   )
2856 )
2857
2858 (define-method get_attribute_object
2859   (of-object "GFileInfo")
2860   (c-name "g_file_info_get_attribute_object")
2861   (return-type "GObject*")
2862   (parameters
2863     '("const-char*" "attribute")
2864   )
2865 )
2866
2867 (define-method set_attribute
2868   (of-object "GFileInfo")
2869   (c-name "g_file_info_set_attribute")
2870   (return-type "none")
2871   (parameters
2872     '("const-char*" "attribute")
2873     '("GFileAttributeType" "type")
2874     '("gpointer" "value_p")
2875   )
2876 )
2877
2878 (define-method set_attribute_string
2879   (of-object "GFileInfo")
2880   (c-name "g_file_info_set_attribute_string")
2881   (return-type "none")
2882   (parameters
2883     '("const-char*" "attribute")
2884     '("const-char*" "attr_value")
2885   )
2886 )
2887
2888 (define-method set_attribute_byte_string
2889   (of-object "GFileInfo")
2890   (c-name "g_file_info_set_attribute_byte_string")
2891   (return-type "none")
2892   (parameters
2893     '("const-char*" "attribute")
2894     '("const-char*" "attr_value")
2895   )
2896 )
2897
2898 (define-method set_attribute_boolean
2899   (of-object "GFileInfo")
2900   (c-name "g_file_info_set_attribute_boolean")
2901   (return-type "none")
2902   (parameters
2903     '("const-char*" "attribute")
2904     '("gboolean" "attr_value")
2905   )
2906 )
2907
2908 (define-method set_attribute_uint32
2909   (of-object "GFileInfo")
2910   (c-name "g_file_info_set_attribute_uint32")
2911   (return-type "none")
2912   (parameters
2913     '("const-char*" "attribute")
2914     '("guint32" "attr_value")
2915   )
2916 )
2917
2918 (define-method set_attribute_int32
2919   (of-object "GFileInfo")
2920   (c-name "g_file_info_set_attribute_int32")
2921   (return-type "none")
2922   (parameters
2923     '("const-char*" "attribute")
2924     '("gint32" "attr_value")
2925   )
2926 )
2927
2928 (define-method set_attribute_uint64
2929   (of-object "GFileInfo")
2930   (c-name "g_file_info_set_attribute_uint64")
2931   (return-type "none")
2932   (parameters
2933     '("const-char*" "attribute")
2934     '("guint64" "attr_value")
2935   )
2936 )
2937
2938 (define-method set_attribute_int64
2939   (of-object "GFileInfo")
2940   (c-name "g_file_info_set_attribute_int64")
2941   (return-type "none")
2942   (parameters
2943     '("const-char*" "attribute")
2944     '("gint64" "attr_value")
2945   )
2946 )
2947
2948 (define-method set_attribute_object
2949   (of-object "GFileInfo")
2950   (c-name "g_file_info_set_attribute_object")
2951   (return-type "none")
2952   (parameters
2953     '("const-char*" "attribute")
2954     '("GObject*" "attr_value")
2955   )
2956 )
2957
2958 (define-method clear_status
2959   (of-object "GFileInfo")
2960   (c-name "g_file_info_clear_status")
2961   (return-type "none")
2962 )
2963
2964 (define-method get_file_type
2965   (of-object "GFileInfo")
2966   (c-name "g_file_info_get_file_type")
2967   (return-type "GFileType")
2968 )
2969
2970 (define-method get_is_hidden
2971   (of-object "GFileInfo")
2972   (c-name "g_file_info_get_is_hidden")
2973   (return-type "gboolean")
2974 )
2975
2976 (define-method get_is_backup
2977   (of-object "GFileInfo")
2978   (c-name "g_file_info_get_is_backup")
2979   (return-type "gboolean")
2980 )
2981
2982 (define-method get_is_symlink
2983   (of-object "GFileInfo")
2984   (c-name "g_file_info_get_is_symlink")
2985   (return-type "gboolean")
2986 )
2987
2988 (define-method get_name
2989   (of-object "GFileInfo")
2990   (c-name "g_file_info_get_name")
2991   (return-type "const-char*")
2992 )
2993
2994 (define-method get_display_name
2995   (of-object "GFileInfo")
2996   (c-name "g_file_info_get_display_name")
2997   (return-type "const-char*")
2998 )
2999
3000 (define-method get_edit_name
3001   (of-object "GFileInfo")
3002   (c-name "g_file_info_get_edit_name")
3003   (return-type "const-char*")
3004 )
3005
3006 (define-method get_icon
3007   (of-object "GFileInfo")
3008   (c-name "g_file_info_get_icon")
3009   (return-type "GIcon*")
3010 )
3011
3012 (define-method get_content_type
3013   (of-object "GFileInfo")
3014   (c-name "g_file_info_get_content_type")
3015   (return-type "const-char*")
3016 )
3017
3018 (define-method get_size
3019   (of-object "GFileInfo")
3020   (c-name "g_file_info_get_size")
3021   (return-type "goffset")
3022 )
3023
3024 (define-method get_modification_time
3025   (of-object "GFileInfo")
3026   (c-name "g_file_info_get_modification_time")
3027   (return-type "none")
3028   (parameters
3029     '("GTimeVal*" "result")
3030   )
3031 )
3032
3033 (define-method get_symlink_target
3034   (of-object "GFileInfo")
3035   (c-name "g_file_info_get_symlink_target")
3036   (return-type "const-char*")
3037 )
3038
3039 (define-method get_etag
3040   (of-object "GFileInfo")
3041   (c-name "g_file_info_get_etag")
3042   (return-type "const-char*")
3043 )
3044
3045 (define-method get_sort_order
3046   (of-object "GFileInfo")
3047   (c-name "g_file_info_get_sort_order")
3048   (return-type "gint32")
3049 )
3050
3051 (define-method set_attribute_mask
3052   (of-object "GFileInfo")
3053   (c-name "g_file_info_set_attribute_mask")
3054   (return-type "none")
3055   (parameters
3056     '("GFileAttributeMatcher*" "mask")
3057   )
3058 )
3059
3060 (define-method unset_attribute_mask
3061   (of-object "GFileInfo")
3062   (c-name "g_file_info_unset_attribute_mask")
3063   (return-type "none")
3064 )
3065
3066 (define-method set_file_type
3067   (of-object "GFileInfo")
3068   (c-name "g_file_info_set_file_type")
3069   (return-type "none")
3070   (parameters
3071     '("GFileType" "type")
3072   )
3073 )
3074
3075 (define-method set_is_hidden
3076   (of-object "GFileInfo")
3077   (c-name "g_file_info_set_is_hidden")
3078   (return-type "none")
3079   (parameters
3080     '("gboolean" "is_hidden")
3081   )
3082 )
3083
3084 (define-method set_is_symlink
3085   (of-object "GFileInfo")
3086   (c-name "g_file_info_set_is_symlink")
3087   (return-type "none")
3088   (parameters
3089     '("gboolean" "is_symlink")
3090   )
3091 )
3092
3093 (define-method set_name
3094   (of-object "GFileInfo")
3095   (c-name "g_file_info_set_name")
3096   (return-type "none")
3097   (parameters
3098     '("const-char*" "name")
3099   )
3100 )
3101
3102 (define-method set_display_name
3103   (of-object "GFileInfo")
3104   (c-name "g_file_info_set_display_name")
3105   (return-type "none")
3106   (parameters
3107     '("const-char*" "display_name")
3108   )
3109 )
3110
3111 (define-method set_edit_name
3112   (of-object "GFileInfo")
3113   (c-name "g_file_info_set_edit_name")
3114   (return-type "none")
3115   (parameters
3116     '("const-char*" "edit_name")
3117   )
3118 )
3119
3120 (define-method set_icon
3121   (of-object "GFileInfo")
3122   (c-name "g_file_info_set_icon")
3123   (return-type "none")
3124   (parameters
3125     '("GIcon*" "icon")
3126   )
3127 )
3128
3129 (define-method set_content_type
3130   (of-object "GFileInfo")
3131   (c-name "g_file_info_set_content_type")
3132   (return-type "none")
3133   (parameters
3134     '("const-char*" "content_type")
3135   )
3136 )
3137
3138 (define-method set_size
3139   (of-object "GFileInfo")
3140   (c-name "g_file_info_set_size")
3141   (return-type "none")
3142   (parameters
3143     '("goffset" "size")
3144   )
3145 )
3146
3147 (define-method set_modification_time
3148   (of-object "GFileInfo")
3149   (c-name "g_file_info_set_modification_time")
3150   (return-type "none")
3151   (parameters
3152     '("GTimeVal*" "mtime")
3153   )
3154 )
3155
3156 (define-method set_symlink_target
3157   (of-object "GFileInfo")
3158   (c-name "g_file_info_set_symlink_target")
3159   (return-type "none")
3160   (parameters
3161     '("const-char*" "symlink_target")
3162   )
3163 )
3164
3165 (define-method set_sort_order
3166   (of-object "GFileInfo")
3167   (c-name "g_file_info_set_sort_order")
3168   (return-type "none")
3169   (parameters
3170     '("gint32" "sort_order")
3171   )
3172 )
3173
3174 (define-function g_file_attribute_matcher_new
3175   (c-name "g_file_attribute_matcher_new")
3176   (is-constructor-of "GFileAttributeMatcher")
3177   (return-type "GFileAttributeMatcher*")
3178   (parameters
3179     '("const-char*" "attributes")
3180   )
3181 )
3182
3183 (define-method ref
3184   (of-object "GFileAttributeMatcher")
3185   (c-name "g_file_attribute_matcher_ref")
3186   (return-type "GFileAttributeMatcher*")
3187 )
3188
3189 (define-method unref
3190   (of-object "GFileAttributeMatcher")
3191   (c-name "g_file_attribute_matcher_unref")
3192   (return-type "none")
3193 )
3194
3195 (define-method matches
3196   (of-object "GFileAttributeMatcher")
3197   (c-name "g_file_attribute_matcher_matches")
3198   (return-type "gboolean")
3199   (parameters
3200     '("const-char*" "attribute")
3201   )
3202 )
3203
3204 (define-method matches_only
3205   (of-object "GFileAttributeMatcher")
3206   (c-name "g_file_attribute_matcher_matches_only")
3207   (return-type "gboolean")
3208   (parameters
3209     '("const-char*" "attribute")
3210   )
3211 )
3212
3213 (define-method enumerate_namespace
3214   (of-object "GFileAttributeMatcher")
3215   (c-name "g_file_attribute_matcher_enumerate_namespace")
3216   (return-type "gboolean")
3217   (parameters
3218     '("const-char*" "ns")
3219   )
3220 )
3221
3222 (define-method enumerate_next
3223   (of-object "GFileAttributeMatcher")
3224   (c-name "g_file_attribute_matcher_enumerate_next")
3225   (return-type "const-char*")
3226 )
3227
3228
3229
3230 ;; From gfileinputstream.h
3231
3232 (define-function g_file_input_stream_get_type
3233   (c-name "g_file_input_stream_get_type")
3234   (return-type "GType")
3235 )
3236
3237 (define-method query_info
3238   (of-object "GFileInputStream")
3239   (c-name "g_file_input_stream_query_info")
3240   (return-type "GFileInfo*")
3241   (parameters
3242     '("char*" "attributes")
3243     '("GCancellable*" "cancellable")
3244     '("GError**" "error")
3245   )
3246 )
3247
3248 (define-method query_info_async
3249   (of-object "GFileInputStream")
3250   (c-name "g_file_input_stream_query_info_async")
3251   (return-type "none")
3252   (parameters
3253     '("char*" "attributes")
3254     '("int" "io_priority")
3255     '("GCancellable*" "cancellable")
3256     '("GAsyncReadyCallback" "callback")
3257     '("gpointer" "user_data")
3258   )
3259 )
3260
3261 (define-method query_info_finish
3262   (of-object "GFileInputStream")
3263   (c-name "g_file_input_stream_query_info_finish")
3264   (return-type "GFileInfo*")
3265   (parameters
3266     '("GAsyncResult*" "result")
3267     '("GError**" "error")
3268   )
3269 )
3270
3271
3272
3273 ;; From gfilemonitor.h
3274
3275 (define-function g_file_monitor_get_type
3276   (c-name "g_file_monitor_get_type")
3277   (return-type "GType")
3278 )
3279
3280 (define-method cancel
3281   (of-object "GFileMonitor")
3282   (c-name "g_file_monitor_cancel")
3283   (return-type "gboolean")
3284 )
3285
3286 (define-method is_cancelled
3287   (of-object "GFileMonitor")
3288   (c-name "g_file_monitor_is_cancelled")
3289   (return-type "gboolean")
3290 )
3291
3292 (define-method set_rate_limit
3293   (of-object "GFileMonitor")
3294   (c-name "g_file_monitor_set_rate_limit")
3295   (return-type "none")
3296   (parameters
3297     '("int" "limit_msecs")
3298   )
3299 )
3300
3301 (define-method emit_event
3302   (of-object "GFileMonitor")
3303   (c-name "g_file_monitor_emit_event")
3304   (return-type "none")
3305   (parameters
3306     '("GFile*" "child")
3307     '("GFile*" "other_file")
3308     '("GFileMonitorEvent" "event_type")
3309   )
3310 )
3311
3312
3313
3314 ;; From gfilenamecompleter.h
3315
3316 (define-function g_filename_completer_get_type
3317   (c-name "g_filename_completer_get_type")
3318   (return-type "GType")
3319 )
3320
3321 (define-function g_filename_completer_new
3322   (c-name "g_filename_completer_new")
3323   (is-constructor-of "GFilenameCompleter")
3324   (return-type "GFilenameCompleter*")
3325 )
3326
3327 (define-method get_completion_suffix
3328   (of-object "GFilenameCompleter")
3329   (c-name "g_filename_completer_get_completion_suffix")
3330   (return-type "char*")
3331   (parameters
3332     '("const-char*" "initial_text")
3333   )
3334 )
3335
3336 (define-method get_completions
3337   (of-object "GFilenameCompleter")
3338   (c-name "g_filename_completer_get_completions")
3339   (return-type "char**")
3340   (parameters
3341     '("const-char*" "initial_text")
3342   )
3343 )
3344
3345 (define-method set_dirs_only
3346   (of-object "GFilenameCompleter")
3347   (c-name "g_filename_completer_set_dirs_only")
3348   (return-type "none")
3349   (parameters
3350     '("gboolean" "dirs_only")
3351   )
3352 )
3353
3354
3355
3356 ;; From gfileoutputstream.h
3357
3358 (define-function g_file_output_stream_get_type
3359   (c-name "g_file_output_stream_get_type")
3360   (return-type "GType")
3361 )
3362
3363 (define-method query_info
3364   (of-object "GFileOutputStream")
3365   (c-name "g_file_output_stream_query_info")
3366   (return-type "GFileInfo*")
3367   (parameters
3368     '("char*" "attributes")
3369     '("GCancellable*" "cancellable")
3370     '("GError**" "error")
3371   )
3372 )
3373
3374 (define-method query_info_async
3375   (of-object "GFileOutputStream")
3376   (c-name "g_file_output_stream_query_info_async")
3377   (return-type "none")
3378   (parameters
3379     '("char*" "attributes")
3380     '("int" "io_priority")
3381     '("GCancellable*" "cancellable")
3382     '("GAsyncReadyCallback" "callback")
3383     '("gpointer" "user_data")
3384   )
3385 )
3386
3387 (define-method query_info_finish
3388   (of-object "GFileOutputStream")
3389   (c-name "g_file_output_stream_query_info_finish")
3390   (return-type "GFileInfo*")
3391   (parameters
3392     '("GAsyncResult*" "result")
3393     '("GError**" "error")
3394   )
3395 )
3396
3397 (define-method get_etag
3398   (of-object "GFileOutputStream")
3399   (c-name "g_file_output_stream_get_etag")
3400   (return-type "char*")
3401 )
3402
3403
3404
3405 ;; From gfilterinputstream.h
3406
3407 (define-function g_filter_input_stream_get_type
3408   (c-name "g_filter_input_stream_get_type")
3409   (return-type "GType")
3410 )
3411
3412 (define-method get_base_stream
3413   (of-object "GFilterInputStream")
3414   (c-name "g_filter_input_stream_get_base_stream")
3415   (return-type "GInputStream*")
3416 )
3417
3418
3419
3420 ;; From gfilteroutputstream.h
3421
3422 (define-function g_filter_output_stream_get_type
3423   (c-name "g_filter_output_stream_get_type")
3424   (return-type "GType")
3425 )
3426
3427 (define-method get_base_stream
3428   (of-object "GFilterOutputStream")
3429   (c-name "g_filter_output_stream_get_base_stream")
3430   (return-type "GOutputStream*")
3431 )
3432
3433
3434
3435 ;; From gicon.h
3436
3437 (define-function g_icon_get_type
3438   (c-name "g_icon_get_type")
3439   (return-type "GType")
3440 )
3441
3442 (define-function g_icon_hash
3443   (c-name "g_icon_hash")
3444   (return-type "guint")
3445   (parameters
3446     '("gconstpointer" "icon")
3447   )
3448 )
3449
3450 (define-method equal
3451   (of-object "GIcon")
3452   (c-name "g_icon_equal")
3453   (return-type "gboolean")
3454   (parameters
3455     '("GIcon*" "icon2")
3456   )
3457 )
3458
3459
3460
3461 ;; From ginputstream.h
3462
3463 (define-function g_input_stream_get_type
3464   (c-name "g_input_stream_get_type")
3465   (return-type "GType")
3466 )
3467
3468 (define-method read
3469   (of-object "GInputStream")
3470   (c-name "g_input_stream_read")
3471   (return-type "gssize")
3472   (parameters
3473     '("void*" "buffer")
3474     '("gsize" "count")
3475     '("GCancellable*" "cancellable")
3476     '("GError**" "error")
3477   )
3478 )
3479
3480 (define-method read_all
3481   (of-object "GInputStream")
3482   (c-name "g_input_stream_read_all")
3483   (return-type "gboolean")
3484   (parameters
3485     '("void*" "buffer")
3486     '("gsize" "count")
3487     '("gsize*" "bytes_read")
3488     '("GCancellable*" "cancellable")
3489     '("GError**" "error")
3490   )
3491 )
3492
3493 (define-method skip
3494   (of-object "GInputStream")
3495   (c-name "g_input_stream_skip")
3496   (return-type "gssize")
3497   (parameters
3498     '("gsize" "count")
3499     '("GCancellable*" "cancellable")
3500     '("GError**" "error")
3501   )
3502 )
3503
3504 (define-method close
3505   (of-object "GInputStream")
3506   (c-name "g_input_stream_close")
3507   (return-type "gboolean")
3508   (parameters
3509     '("GCancellable*" "cancellable")
3510     '("GError**" "error")
3511   )
3512 )
3513
3514 (define-method read_async
3515   (of-object "GInputStream")
3516   (c-name "g_input_stream_read_async")
3517   (return-type "none")
3518   (parameters
3519     '("void*" "buffer")
3520     '("gsize" "count")
3521     '("int" "io_priority")
3522     '("GCancellable*" "cancellable")
3523     '("GAsyncReadyCallback" "callback")
3524     '("gpointer" "user_data")
3525   )
3526 )
3527
3528 (define-method read_finish
3529   (of-object "GInputStream")
3530   (c-name "g_input_stream_read_finish")
3531   (return-type "gssize")
3532   (parameters
3533     '("GAsyncResult*" "result")
3534     '("GError**" "error")
3535   )
3536 )
3537
3538 (define-method skip_async
3539   (of-object "GInputStream")
3540   (c-name "g_input_stream_skip_async")
3541   (return-type "none")
3542   (parameters
3543     '("gsize" "count")
3544     '("int" "io_priority")
3545     '("GCancellable*" "cancellable")
3546     '("GAsyncReadyCallback" "callback")
3547     '("gpointer" "user_data")
3548   )
3549 )
3550
3551 (define-method skip_finish
3552   (of-object "GInputStream")
3553   (c-name "g_input_stream_skip_finish")
3554   (return-type "gssize")
3555   (parameters
3556     '("GAsyncResult*" "result")
3557     '("GError**" "error")
3558   )
3559 )
3560
3561 (define-method close_async
3562   (of-object "GInputStream")
3563   (c-name "g_input_stream_close_async")
3564   (return-type "none")
3565   (parameters
3566     '("int" "io_priority")
3567     '("GCancellable*" "cancellable")
3568     '("GAsyncReadyCallback" "callback")
3569     '("gpointer" "user_data")
3570   )
3571 )
3572
3573 (define-method close_finish
3574   (of-object "GInputStream")
3575   (c-name "g_input_stream_close_finish")
3576   (return-type "gboolean")
3577   (parameters
3578     '("GAsyncResult*" "result")
3579     '("GError**" "error")
3580   )
3581 )
3582
3583 (define-method is_closed
3584   (of-object "GInputStream")
3585   (c-name "g_input_stream_is_closed")
3586   (return-type "gboolean")
3587 )
3588
3589 (define-method has_pending
3590   (of-object "GInputStream")
3591   (c-name "g_input_stream_has_pending")
3592   (return-type "gboolean")
3593 )
3594
3595 (define-method set_pending
3596   (of-object "GInputStream")
3597   (c-name "g_input_stream_set_pending")
3598   (return-type "gboolean")
3599   (parameters
3600     '("GError**" "error")
3601   )
3602 )
3603
3604 (define-method clear_pending
3605   (of-object "GInputStream")
3606   (c-name "g_input_stream_clear_pending")
3607   (return-type "none")
3608 )
3609
3610
3611
3612 ;; From gioalias.h
3613
3614
3615
3616 ;; From gioenums.h
3617
3618
3619
3620 ;; From gioenumtypes.h
3621
3622 (define-function g_app_info_create_flags_get_type
3623   (c-name "g_app_info_create_flags_get_type")
3624   (return-type "GType")
3625 )
3626
3627 (define-function g_data_stream_byte_order_get_type
3628   (c-name "g_data_stream_byte_order_get_type")
3629   (return-type "GType")
3630 )
3631
3632 (define-function g_data_stream_newline_type_get_type
3633   (c-name "g_data_stream_newline_type_get_type")
3634   (return-type "GType")
3635 )
3636
3637 (define-function g_file_attribute_type_get_type
3638   (c-name "g_file_attribute_type_get_type")
3639   (return-type "GType")
3640 )
3641
3642 (define-function g_file_attribute_info_flags_get_type
3643   (c-name "g_file_attribute_info_flags_get_type")
3644   (return-type "GType")
3645 )
3646
3647 (define-function g_file_attribute_status_get_type
3648   (c-name "g_file_attribute_status_get_type")
3649   (return-type "GType")
3650 )
3651
3652 (define-function g_file_query_info_flags_get_type
3653   (c-name "g_file_query_info_flags_get_type")
3654   (return-type "GType")
3655 )
3656
3657 (define-function g_file_create_flags_get_type
3658   (c-name "g_file_create_flags_get_type")
3659   (return-type "GType")
3660 )
3661
3662 (define-function g_mount_mount_flags_get_type
3663   (c-name "g_mount_mount_flags_get_type")
3664   (return-type "GType")
3665 )
3666
3667 (define-function g_mount_unmount_flags_get_type
3668   (c-name "g_mount_unmount_flags_get_type")
3669   (return-type "GType")
3670 )
3671
3672 (define-function g_file_copy_flags_get_type
3673   (c-name "g_file_copy_flags_get_type")
3674   (return-type "GType")
3675 )
3676
3677 (define-function g_file_monitor_flags_get_type
3678   (c-name "g_file_monitor_flags_get_type")
3679   (return-type "GType")
3680 )
3681
3682 (define-function g_file_type_get_type
3683   (c-name "g_file_type_get_type")
3684   (return-type "GType")
3685 )
3686
3687 (define-function g_filesystem_preview_type_get_type
3688   (c-name "g_filesystem_preview_type_get_type")
3689   (return-type "GType")
3690 )
3691
3692 (define-function g_file_monitor_event_get_type
3693   (c-name "g_file_monitor_event_get_type")
3694   (return-type "GType")
3695 )
3696
3697 (define-function g_io_error_enum_get_type
3698   (c-name "g_io_error_enum_get_type")
3699   (return-type "GType")
3700 )
3701
3702 (define-function g_ask_password_flags_get_type
3703   (c-name "g_ask_password_flags_get_type")
3704   (return-type "GType")
3705 )
3706
3707 (define-function g_password_save_get_type
3708   (c-name "g_password_save_get_type")
3709   (return-type "GType")
3710 )
3711
3712 (define-function g_mount_operation_result_get_type
3713   (c-name "g_mount_operation_result_get_type")
3714   (return-type "GType")
3715 )
3716
3717 (define-function g_output_stream_splice_flags_get_type
3718   (c-name "g_output_stream_splice_flags_get_type")
3719   (return-type "GType")
3720 )
3721
3722
3723
3724 ;; From gioerror.h
3725
3726 (define-function g_io_error_quark
3727   (c-name "g_io_error_quark")
3728   (return-type "GQuark")
3729 )
3730
3731 (define-function g_io_error_from_errno
3732   (c-name "g_io_error_from_errno")
3733   (return-type "GIOErrorEnum")
3734   (parameters
3735     '("gint" "err_no")
3736   )
3737 )
3738
3739
3740
3741 ;; From gio.h
3742
3743
3744
3745 ;; From gio-marshal.h
3746
3747
3748
3749 ;; From giomodule.h
3750
3751 (define-function g_io_module_get_type
3752   (c-name "g_io_module_get_type")
3753   (return-type "GType")
3754 )
3755
3756 (define-function g_io_module_new
3757   (c-name "g_io_module_new")
3758   (is-constructor-of "GIoModule")
3759   (return-type "GIOModule*")
3760   (parameters
3761     '("const-gchar*" "filename")
3762   )
3763 )
3764
3765 (define-function g_io_modules_load_all_in_directory
3766   (c-name "g_io_modules_load_all_in_directory")
3767   (return-type "GList*")
3768   (parameters
3769     '("const-char*" "dirname")
3770   )
3771 )
3772
3773 (define-function g_io_extension_point_register
3774   (c-name "g_io_extension_point_register")
3775   (return-type "GIOExtensionPoint*")
3776   (parameters
3777     '("const-char*" "name")
3778   )
3779 )
3780
3781 (define-function g_io_extension_point_lookup
3782   (c-name "g_io_extension_point_lookup")
3783   (return-type "GIOExtensionPoint*")
3784   (parameters
3785     '("const-char*" "name")
3786   )
3787 )
3788
3789 (define-method set_required_type
3790   (of-object "GIOExtensionPoint")
3791   (c-name "g_io_extension_point_set_required_type")
3792   (return-type "none")
3793   (parameters
3794     '("GType" "type")
3795   )
3796 )
3797
3798 (define-method get_required_type
3799   (of-object "GIOExtensionPoint")
3800   (c-name "g_io_extension_point_get_required_type")
3801   (return-type "GType")
3802 )
3803
3804 (define-method get_extensions
3805   (of-object "GIOExtensionPoint")
3806   (c-name "g_io_extension_point_get_extensions")
3807   (return-type "GList*")
3808 )
3809
3810 (define-method get_extension_by_name
3811   (of-object "GIOExtensionPoint")
3812   (c-name "g_io_extension_point_get_extension_by_name")
3813   (return-type "GIOExtension*")
3814   (parameters
3815     '("const-char*" "name")
3816   )
3817 )
3818
3819 (define-function g_io_extension_point_implement
3820   (c-name "g_io_extension_point_implement")
3821   (return-type "GIOExtension*")
3822   (parameters
3823     '("const-char*" "extension_point_name")
3824     '("GType" "type")
3825     '("const-char*" "extension_name")
3826     '("gint" "priority")
3827   )
3828 )
3829
3830 (define-method get_type
3831   (of-object "GIOExtension")
3832   (c-name "g_io_extension_get_type")
3833   (return-type "GType")
3834 )
3835
3836 (define-method get_name
3837   (of-object "GIOExtension")
3838   (c-name "g_io_extension_get_name")
3839   (return-type "const-char*")
3840 )
3841
3842 (define-method get_priority
3843   (of-object "GIOExtension")
3844   (c-name "g_io_extension_get_priority")
3845   (return-type "gint")
3846 )
3847
3848 (define-method ref_class
3849   (of-object "GIOExtension")
3850   (c-name "g_io_extension_ref_class")
3851   (return-type "GTypeClass*")
3852 )
3853
3854 (define-method load
3855   (of-object "GIOModule")
3856   (c-name "g_io_module_load")
3857   (return-type "none")
3858 )
3859
3860 (define-method unload
3861   (of-object "GIOModule")
3862   (c-name "g_io_module_unload")
3863   (return-type "none")
3864 )
3865
3866
3867
3868 ;; From giomodule-priv.h
3869
3870
3871
3872 ;; From gioscheduler.h
3873
3874 (define-function g_io_scheduler_push_job
3875   (c-name "g_io_scheduler_push_job")
3876   (return-type "none")
3877   (parameters
3878     '("GIOSchedulerJobFunc" "job_func")
3879     '("gpointer" "user_data")
3880     '("GDestroyNotify" "notify")
3881     '("gint" "io_priority")
3882     '("GCancellable*" "cancellable")
3883   )
3884 )
3885
3886 (define-function g_io_scheduler_cancel_all_jobs
3887   (c-name "g_io_scheduler_cancel_all_jobs")
3888   (return-type "none")
3889 )
3890
3891 (define-method send_to_mainloop
3892   (of-object "GIOSchedulerJob")
3893   (c-name "g_io_scheduler_job_send_to_mainloop")
3894   (return-type "gboolean")
3895   (parameters
3896     '("GSourceFunc" "func")
3897     '("gpointer" "user_data")
3898     '("GDestroyNotify" "notify")
3899   )
3900 )
3901
3902 (define-method send_to_mainloop_async
3903   (of-object "GIOSchedulerJob")
3904   (c-name "g_io_scheduler_job_send_to_mainloop_async")
3905   (return-type "none")
3906   (parameters
3907     '("GSourceFunc" "func")
3908     '("gpointer" "user_data")
3909     '("GDestroyNotify" "notify")
3910   )
3911 )
3912
3913
3914
3915 ;; From giotypes.h
3916
3917
3918
3919 ;; From gloadableicon.h
3920
3921 (define-function g_loadable_icon_get_type
3922   (c-name "g_loadable_icon_get_type")
3923   (return-type "GType")
3924 )
3925
3926 (define-method load
3927   (of-object "GLoadableIcon")
3928   (c-name "g_loadable_icon_load")
3929   (return-type "GInputStream*")
3930   (parameters
3931     '("int" "size")
3932     '("char**" "type")
3933     '("GCancellable*" "cancellable")
3934     '("GError**" "error")
3935   )
3936 )
3937
3938 (define-method load_async
3939   (of-object "GLoadableIcon")
3940   (c-name "g_loadable_icon_load_async")
3941   (return-type "none")
3942   (parameters
3943     '("int" "size")
3944     '("GCancellable*" "cancellable")
3945     '("GAsyncReadyCallback" "callback")
3946     '("gpointer" "user_data")
3947   )
3948 )
3949
3950 (define-method load_finish
3951   (of-object "GLoadableIcon")
3952   (c-name "g_loadable_icon_load_finish")
3953   (return-type "GInputStream*")
3954   (parameters
3955     '("GAsyncResult*" "res")
3956     '("char**" "type")
3957     '("GError**" "error")
3958   )
3959 )
3960
3961
3962
3963 ;; From glocaldirectorymonitor.h
3964
3965 (define-function g_local_directory_monitor_get_type
3966   (c-name "g_local_directory_monitor_get_type")
3967   (return-type "GType")
3968 )
3969
3970
3971
3972 ;; From glocalfileenumerator.h
3973
3974
3975
3976 ;; From glocalfile.h
3977
3978
3979
3980 ;; From glocalfileinfo.h
3981
3982
3983
3984 ;; From glocalfileinputstream.h
3985
3986
3987
3988 ;; From glocalfilemonitor.h
3989
3990 (define-function g_local_file_monitor_get_type
3991   (c-name "g_local_file_monitor_get_type")
3992   (return-type "GType")
3993 )
3994
3995
3996
3997 ;; From glocalfileoutputstream.h
3998
3999
4000
4001 ;; From glocalvfs.h
4002
4003
4004
4005 ;; From gmemoryinputstream.h
4006
4007 (define-function g_memory_input_stream_get_type
4008   (c-name "g_memory_input_stream_get_type")
4009   (return-type "GType")
4010 )
4011
4012 (define-function g_memory_input_stream_new
4013   (c-name "g_memory_input_stream_new")
4014   (is-constructor-of "GMemoryInputStream")
4015   (return-type "GInputStream*")
4016 )
4017
4018 (define-function g_memory_input_stream_new_from_data
4019   (c-name "g_memory_input_stream_new_from_data")
4020   (return-type "GInputStream*")
4021   (parameters
4022     '("const-void*" "data")
4023     '("gssize" "len")
4024     '("GDestroyNotify" "destroy")
4025   )
4026 )
4027
4028 (define-method add_data
4029   (of-object "GMemoryInputStream")
4030   (c-name "g_memory_input_stream_add_data")
4031   (return-type "none")
4032   (parameters
4033     '("const-void*" "data")
4034     '("gssize" "len")
4035     '("GDestroyNotify" "destroy")
4036   )
4037 )
4038
4039
4040
4041 ;; From gmemoryoutputstream.h
4042
4043 (define-function g_memory_output_stream_get_type
4044   (c-name "g_memory_output_stream_get_type")
4045   (return-type "GType")
4046 )
4047
4048 (define-function g_memory_output_stream_new
4049   (c-name "g_memory_output_stream_new")
4050   (is-constructor-of "GMemoryOutputStream")
4051   (return-type "GOutputStream*")
4052   (parameters
4053     '("gpointer" "data")
4054     '("gsize" "len")
4055     '("GReallocFunc" "realloc_fn")
4056     '("GDestroyNotify" "destroy")
4057   )
4058 )
4059
4060 (define-method get_data
4061   (of-object "GMemoryOutputStream")
4062   (c-name "g_memory_output_stream_get_data")
4063   (return-type "gpointer")
4064 )
4065
4066 (define-method get_size
4067   (of-object "GMemoryOutputStream")
4068   (c-name "g_memory_output_stream_get_size")
4069   (return-type "gsize")
4070 )
4071
4072 (define-method get_data_size
4073   (of-object "GMemoryOutputStream")
4074   (c-name "g_memory_output_stream_get_data_size")
4075   (return-type "gsize")
4076 )
4077
4078
4079
4080 ;; From gmount.h
4081
4082 (define-function g_mount_get_type
4083   (c-name "g_mount_get_type")
4084   (return-type "GType")
4085 )
4086
4087 (define-method get_root
4088   (of-object "GMount")
4089   (c-name "g_mount_get_root")
4090   (return-type "GFile*")
4091 )
4092
4093 (define-method get_name
4094   (of-object "GMount")
4095   (c-name "g_mount_get_name")
4096   (return-type "char*")
4097 )
4098
4099 (define-method get_icon
4100   (of-object "GMount")
4101   (c-name "g_mount_get_icon")
4102   (return-type "GIcon*")
4103 )
4104
4105 (define-method get_uuid
4106   (of-object "GMount")
4107   (c-name "g_mount_get_uuid")
4108   (return-type "char*")
4109 )
4110
4111 (define-method get_volume
4112   (of-object "GMount")
4113   (c-name "g_mount_get_volume")
4114   (return-type "GVolume*")
4115 )
4116
4117 (define-method get_drive
4118   (of-object "GMount")
4119   (c-name "g_mount_get_drive")
4120   (return-type "GDrive*")
4121 )
4122
4123 (define-method can_unmount
4124   (of-object "GMount")
4125   (c-name "g_mount_can_unmount")
4126   (return-type "gboolean")
4127 )
4128
4129 (define-method can_eject
4130   (of-object "GMount")
4131   (c-name "g_mount_can_eject")
4132   (return-type "gboolean")
4133 )
4134
4135 (define-method unmount
4136   (of-object "GMount")
4137   (c-name "g_mount_unmount")
4138   (return-type "none")
4139   (parameters
4140     '("GMountUnmountFlags" "flags")
4141     '("GCancellable*" "cancellable")
4142     '("GAsyncReadyCallback" "callback")
4143     '("gpointer" "user_data")
4144   )
4145 )
4146
4147 (define-method unmount_finish
4148   (of-object "GMount")
4149   (c-name "g_mount_unmount_finish")
4150   (return-type "gboolean")
4151   (parameters
4152     '("GAsyncResult*" "result")
4153     '("GError**" "error")
4154   )
4155 )
4156
4157 (define-method eject
4158   (of-object "GMount")
4159   (c-name "g_mount_eject")
4160   (return-type "none")
4161   (parameters
4162     '("GMountUnmountFlags" "flags")
4163     '("GCancellable*" "cancellable")
4164     '("GAsyncReadyCallback" "callback")
4165     '("gpointer" "user_data")
4166   )
4167 )
4168
4169 (define-method eject_finish
4170   (of-object "GMount")
4171   (c-name "g_mount_eject_finish")
4172   (return-type "gboolean")
4173   (parameters
4174     '("GAsyncResult*" "result")
4175     '("GError**" "error")
4176   )
4177 )
4178
4179 (define-method remount
4180   (of-object "GMount")
4181   (c-name "g_mount_remount")
4182   (return-type "none")
4183   (parameters
4184     '("GMountMountFlags" "flags")
4185     '("GMountOperation*" "mount_operation")
4186     '("GCancellable*" "cancellable")
4187     '("GAsyncReadyCallback" "callback")
4188     '("gpointer" "user_data")
4189   )
4190 )
4191
4192 (define-method remount_finish
4193   (of-object "GMount")
4194   (c-name "g_mount_remount_finish")
4195   (return-type "gboolean")
4196   (parameters
4197     '("GAsyncResult*" "result")
4198     '("GError**" "error")
4199   )
4200 )
4201
4202 (define-method guess_content_type
4203   (of-object "GMount")
4204   (c-name "g_mount_guess_content_type")
4205   (return-type "none")
4206   (parameters
4207     '("gboolean" "force_rescan")
4208     '("GCancellable*" "cancellable")
4209     '("GAsyncReadyCallback" "callback")
4210     '("gpointer" "user_data")
4211   )
4212 )
4213
4214 (define-method guess_content_type_finish
4215   (of-object "GMount")
4216   (c-name "g_mount_guess_content_type_finish")
4217   (return-type "gchar**")
4218   (parameters
4219     '("GAsyncResult*" "result")
4220     '("GError**" "error")
4221   )
4222 )
4223
4224
4225
4226 ;; From gmountoperation.h
4227
4228 (define-function g_mount_operation_get_type
4229   (c-name "g_mount_operation_get_type")
4230   (return-type "GType")
4231 )
4232
4233 (define-function g_mount_operation_new
4234   (c-name "g_mount_operation_new")
4235   (is-constructor-of "GMountOperation")
4236   (return-type "GMountOperation*")
4237 )
4238
4239 (define-method get_username
4240   (of-object "GMountOperation")
4241   (c-name "g_mount_operation_get_username")
4242   (return-type "const-char*")
4243 )
4244
4245 (define-method set_username
4246   (of-object "GMountOperation")
4247   (c-name "g_mount_operation_set_username")
4248   (return-type "none")
4249   (parameters
4250     '("const-char*" "username")
4251   )
4252 )
4253
4254 (define-method get_password
4255   (of-object "GMountOperation")
4256   (c-name "g_mount_operation_get_password")
4257   (return-type "const-char*")
4258 )
4259
4260 (define-method set_password
4261   (of-object "GMountOperation")
4262   (c-name "g_mount_operation_set_password")
4263   (return-type "none")
4264   (parameters
4265     '("const-char*" "password")
4266   )
4267 )
4268
4269 (define-method get_anonymous
4270   (of-object "GMountOperation")
4271   (c-name "g_mount_operation_get_anonymous")
4272   (return-type "gboolean")
4273 )
4274
4275 (define-method set_anonymous
4276   (of-object "GMountOperation")
4277   (c-name "g_mount_operation_set_anonymous")
4278   (return-type "none")
4279   (parameters
4280     '("gboolean" "anonymous")
4281   )
4282 )
4283
4284 (define-method get_domain
4285   (of-object "GMountOperation")
4286   (c-name "g_mount_operation_get_domain")
4287   (return-type "const-char*")
4288 )
4289
4290 (define-method set_domain
4291   (of-object "GMountOperation")
4292   (c-name "g_mount_operation_set_domain")
4293   (return-type "none")
4294   (parameters
4295     '("const-char*" "domain")
4296   )
4297 )
4298
4299 (define-method get_password_save
4300   (of-object "GMountOperation")
4301   (c-name "g_mount_operation_get_password_save")
4302   (return-type "GPasswordSave")
4303 )
4304
4305 (define-method set_password_save
4306   (of-object "GMountOperation")
4307   (c-name "g_mount_operation_set_password_save")
4308   (return-type "none")
4309   (parameters
4310     '("GPasswordSave" "save")
4311   )
4312 )
4313
4314 (define-method get_choice
4315   (of-object "GMountOperation")
4316   (c-name "g_mount_operation_get_choice")
4317   (return-type "int")
4318 )
4319
4320 (define-method set_choice
4321   (of-object "GMountOperation")
4322   (c-name "g_mount_operation_set_choice")
4323   (return-type "none")
4324   (parameters
4325     '("int" "choice")
4326   )
4327 )
4328
4329 (define-method reply
4330   (of-object "GMountOperation")
4331   (c-name "g_mount_operation_reply")
4332   (return-type "none")
4333   (parameters
4334     '("GMountOperationResult" "result")
4335   )
4336 )
4337
4338
4339
4340 ;; From gmountprivate.h
4341
4342
4343
4344 ;; From gnativevolumemonitor.h
4345
4346 (define-function g_native_volume_monitor_get_type
4347   (c-name "g_native_volume_monitor_get_type")
4348   (return-type "GType")
4349 )
4350
4351
4352
4353 ;; From goutputstream.h
4354
4355 (define-function g_output_stream_get_type
4356   (c-name "g_output_stream_get_type")
4357   (return-type "GType")
4358 )
4359
4360 (define-method write
4361   (of-object "GOutputStream")
4362   (c-name "g_output_stream_write")
4363   (return-type "gssize")
4364   (parameters
4365     '("const-void*" "buffer")
4366     '("gsize" "count")
4367     '("GCancellable*" "cancellable")
4368     '("GError**" "error")
4369   )
4370 )
4371
4372 (define-method write_all
4373   (of-object "GOutputStream")
4374   (c-name "g_output_stream_write_all")
4375   (return-type "gboolean")
4376   (parameters
4377     '("const-void*" "buffer")
4378     '("gsize" "count")
4379     '("gsize*" "bytes_written")
4380     '("GCancellable*" "cancellable")
4381     '("GError**" "error")
4382   )
4383 )
4384
4385 (define-method splice
4386   (of-object "GOutputStream")
4387   (c-name "g_output_stream_splice")
4388   (return-type "gssize")
4389   (parameters
4390     '("GInputStream*" "source")
4391     '("GOutputStreamSpliceFlags" "flags")
4392     '("GCancellable*" "cancellable")
4393     '("GError**" "error")
4394   )
4395 )
4396
4397 (define-method flush
4398   (of-object "GOutputStream")
4399   (c-name "g_output_stream_flush")
4400   (return-type "gboolean")
4401   (parameters
4402     '("GCancellable*" "cancellable")
4403     '("GError**" "error")
4404   )
4405 )
4406
4407 (define-method close
4408   (of-object "GOutputStream")
4409   (c-name "g_output_stream_close")
4410   (return-type "gboolean")
4411   (parameters
4412     '("GCancellable*" "cancellable")
4413     '("GError**" "error")
4414   )
4415 )
4416
4417 (define-method write_async
4418   (of-object "GOutputStream")
4419   (c-name "g_output_stream_write_async")
4420   (return-type "none")
4421   (parameters
4422     '("const-void*" "buffer")
4423     '("gsize" "count")
4424     '("int" "io_priority")
4425     '("GCancellable*" "cancellable")
4426     '("GAsyncReadyCallback" "callback")
4427     '("gpointer" "user_data")
4428   )
4429 )
4430
4431 (define-method write_finish
4432   (of-object "GOutputStream")
4433   (c-name "g_output_stream_write_finish")
4434   (return-type "gssize")
4435   (parameters
4436     '("GAsyncResult*" "result")
4437     '("GError**" "error")
4438   )
4439 )
4440
4441 (define-method splice_async
4442   (of-object "GOutputStream")
4443   (c-name "g_output_stream_splice_async")
4444   (return-type "none")
4445   (parameters
4446     '("GInputStream*" "source")
4447     '("GOutputStreamSpliceFlags" "flags")
4448     '("int" "io_priority")
4449     '("GCancellable*" "cancellable")
4450     '("GAsyncReadyCallback" "callback")
4451     '("gpointer" "user_data")
4452   )
4453 )
4454
4455 (define-method splice_finish
4456   (of-object "GOutputStream")
4457   (c-name "g_output_stream_splice_finish")
4458   (return-type "gssize")
4459   (parameters
4460     '("GAsyncResult*" "result")
4461     '("GError**" "error")
4462   )
4463 )
4464
4465 (define-method flush_async
4466   (of-object "GOutputStream")
4467   (c-name "g_output_stream_flush_async")
4468   (return-type "none")
4469   (parameters
4470     '("int" "io_priority")
4471     '("GCancellable*" "cancellable")
4472     '("GAsyncReadyCallback" "callback")
4473     '("gpointer" "user_data")
4474   )
4475 )
4476
4477 (define-method flush_finish
4478   (of-object "GOutputStream")
4479   (c-name "g_output_stream_flush_finish")
4480   (return-type "gboolean")
4481   (parameters
4482     '("GAsyncResult*" "result")
4483     '("GError**" "error")
4484   )
4485 )
4486
4487 (define-method close_async
4488   (of-object "GOutputStream")
4489   (c-name "g_output_stream_close_async")
4490   (return-type "none")
4491   (parameters
4492     '("int" "io_priority")
4493     '("GCancellable*" "cancellable")
4494     '("GAsyncReadyCallback" "callback")
4495     '("gpointer" "user_data")
4496   )
4497 )
4498
4499 (define-method close_finish
4500   (of-object "GOutputStream")
4501   (c-name "g_output_stream_close_finish")
4502   (return-type "gboolean")
4503   (parameters
4504     '("GAsyncResult*" "result")
4505     '("GError**" "error")
4506   )
4507 )
4508
4509 (define-method is_closed
4510   (of-object "GOutputStream")
4511   (c-name "g_output_stream_is_closed")
4512   (return-type "gboolean")
4513 )
4514
4515 (define-method has_pending
4516   (of-object "GOutputStream")
4517   (c-name "g_output_stream_has_pending")
4518   (return-type "gboolean")
4519 )
4520
4521 (define-method set_pending
4522   (of-object "GOutputStream")
4523   (c-name "g_output_stream_set_pending")
4524   (return-type "gboolean")
4525   (parameters
4526     '("GError**" "error")
4527   )
4528 )
4529
4530 (define-method clear_pending
4531   (of-object "GOutputStream")
4532   (c-name "g_output_stream_clear_pending")
4533   (return-type "none")
4534 )
4535
4536
4537
4538 ;; From gpollfilemonitor.h
4539
4540
4541
4542 ;; From gseekable.h
4543
4544 (define-function g_seekable_get_type
4545   (c-name "g_seekable_get_type")
4546   (return-type "GType")
4547 )
4548
4549 (define-method tell
4550   (of-object "GSeekable")
4551   (c-name "g_seekable_tell")
4552   (return-type "goffset")
4553 )
4554
4555 (define-method can_seek
4556   (of-object "GSeekable")
4557   (c-name "g_seekable_can_seek")
4558   (return-type "gboolean")
4559 )
4560
4561 (define-method seek
4562   (of-object "GSeekable")
4563   (c-name "g_seekable_seek")
4564   (return-type "gboolean")
4565   (parameters
4566     '("goffset" "offset")
4567     '("GSeekType" "type")
4568     '("GCancellable*" "cancellable")
4569     '("GError**" "error")
4570   )
4571 )
4572
4573 (define-method can_truncate
4574   (of-object "GSeekable")
4575   (c-name "g_seekable_can_truncate")
4576   (return-type "gboolean")
4577 )
4578
4579 (define-method truncate
4580   (of-object "GSeekable")
4581   (c-name "g_seekable_truncate")
4582   (return-type "gboolean")
4583   (parameters
4584     '("goffset" "offset")
4585     '("GCancellable*" "cancellable")
4586     '("GError**" "error")
4587   )
4588 )
4589
4590
4591
4592 ;; From gsimpleasyncresult.h
4593
4594 (define-function g_simple_async_result_get_type
4595   (c-name "g_simple_async_result_get_type")
4596   (return-type "GType")
4597 )
4598
4599 (define-function g_simple_async_result_new
4600   (c-name "g_simple_async_result_new")
4601   (is-constructor-of "GSimpleAsyncResult")
4602   (return-type "GSimpleAsyncResult*")
4603   (parameters
4604     '("GObject*" "source_object")
4605     '("GAsyncReadyCallback" "callback")
4606     '("gpointer" "user_data")
4607     '("gpointer" "source_tag")
4608   )
4609 )
4610
4611 (define-function g_simple_async_result_new_error
4612   (c-name "g_simple_async_result_new_error")
4613   (return-type "GSimpleAsyncResult*")
4614   (parameters
4615     '("GObject*" "source_object")
4616     '("GAsyncReadyCallback" "callback")
4617     '("gpointer" "user_data")
4618     '("GQuark" "domain")
4619     '("gint" "code")
4620     '("const-char*" "format")
4621   )
4622   (varargs #t)
4623 )
4624
4625 (define-function g_simple_async_result_new_from_error
4626   (c-name "g_simple_async_result_new_from_error")
4627   (return-type "GSimpleAsyncResult*")
4628   (parameters
4629     '("GObject*" "source_object")
4630     '("GAsyncReadyCallback" "callback")
4631     '("gpointer" "user_data")
4632     '("GError*" "error")
4633   )
4634 )
4635
4636 (define-method set_op_res_gpointer
4637   (of-object "GSimpleAsyncResult")
4638   (c-name "g_simple_async_result_set_op_res_gpointer")
4639   (return-type "none")
4640   (parameters
4641     '("gpointer" "op_res")
4642     '("GDestroyNotify" "destroy_op_res")
4643   )
4644 )
4645
4646 (define-method get_op_res_gpointer
4647   (of-object "GSimpleAsyncResult")
4648   (c-name "g_simple_async_result_get_op_res_gpointer")
4649   (return-type "gpointer")
4650 )
4651
4652 (define-method set_op_res_gssize
4653   (of-object "GSimpleAsyncResult")
4654   (c-name "g_simple_async_result_set_op_res_gssize")
4655   (return-type "none")
4656   (parameters
4657     '("gssize" "op_res")
4658   )
4659 )
4660
4661 (define-method get_op_res_gssize
4662   (of-object "GSimpleAsyncResult")
4663   (c-name "g_simple_async_result_get_op_res_gssize")
4664   (return-type "gssize")
4665 )
4666
4667 (define-method set_op_res_gboolean
4668   (of-object "GSimpleAsyncResult")
4669   (c-name "g_simple_async_result_set_op_res_gboolean")
4670   (return-type "none")
4671   (parameters
4672     '("gboolean" "op_res")
4673   )
4674 )
4675
4676 (define-method get_op_res_gboolean
4677   (of-object "GSimpleAsyncResult")
4678   (c-name "g_simple_async_result_get_op_res_gboolean")
4679   (return-type "gboolean")
4680 )
4681
4682 (define-method get_source_tag
4683   (of-object "GSimpleAsyncResult")
4684   (c-name "g_simple_async_result_get_source_tag")
4685   (return-type "gpointer")
4686 )
4687
4688 (define-method set_handle_cancellation
4689   (of-object "GSimpleAsyncResult")
4690   (c-name "g_simple_async_result_set_handle_cancellation")
4691   (return-type "none")
4692   (parameters
4693     '("gboolean" "handle_cancellation")
4694   )
4695 )
4696
4697 (define-method complete
4698   (of-object "GSimpleAsyncResult")
4699   (c-name "g_simple_async_result_complete")
4700   (return-type "none")
4701 )
4702
4703 (define-method complete_in_idle
4704   (of-object "GSimpleAsyncResult")
4705   (c-name "g_simple_async_result_complete_in_idle")
4706   (return-type "none")
4707 )
4708
4709 (define-method run_in_thread
4710   (of-object "GSimpleAsyncResult")
4711   (c-name "g_simple_async_result_run_in_thread")
4712   (return-type "none")
4713   (parameters
4714     '("GSimpleAsyncThreadFunc" "func")
4715     '("int" "io_priority")
4716     '("GCancellable*" "cancellable")
4717   )
4718 )
4719
4720 (define-method set_from_error
4721   (of-object "GSimpleAsyncResult")
4722   (c-name "g_simple_async_result_set_from_error")
4723   (return-type "none")
4724   (parameters
4725     '("GError*" "error")
4726   )
4727 )
4728
4729 (define-method propagate_error
4730   (of-object "GSimpleAsyncResult")
4731   (c-name "g_simple_async_result_propagate_error")
4732   (return-type "gboolean")
4733   (parameters
4734     '("GError**" "dest")
4735   )
4736 )
4737
4738 (define-method set_error
4739   (of-object "GSimpleAsyncResult")
4740   (c-name "g_simple_async_result_set_error")
4741   (return-type "none")
4742   (parameters
4743     '("GQuark" "domain")
4744     '("gint" "code")
4745     '("const-char*" "format")
4746   )
4747   (varargs #t)
4748 )
4749
4750 (define-method set_error_va
4751   (of-object "GSimpleAsyncResult")
4752   (c-name "g_simple_async_result_set_error_va")
4753   (return-type "none")
4754   (parameters
4755     '("GQuark" "domain")
4756     '("gint" "code")
4757     '("const-char*" "format")
4758     '("va_list" "args")
4759   )
4760 )
4761
4762 (define-function g_simple_async_report_error_in_idle
4763   (c-name "g_simple_async_report_error_in_idle")
4764   (return-type "none")
4765   (parameters
4766     '("GObject*" "object")
4767     '("GAsyncReadyCallback" "callback")
4768     '("gpointer" "user_data")
4769     '("GQuark" "domain")
4770     '("gint" "code")
4771     '("const-char*" "format")
4772   )
4773   (varargs #t)
4774 )
4775
4776 (define-function g_simple_async_report_gerror_in_idle
4777   (c-name "g_simple_async_report_gerror_in_idle")
4778   (return-type "none")
4779   (parameters
4780     '("GObject*" "object")
4781     '("GAsyncReadyCallback" "callback")
4782     '("gpointer" "user_data")
4783     '("GError*" "error")
4784   )
4785 )
4786
4787
4788
4789 ;; From gthemedicon.h
4790
4791 (define-function g_themed_icon_get_type
4792   (c-name "g_themed_icon_get_type")
4793   (return-type "GType")
4794 )
4795
4796 (define-function g_themed_icon_new
4797   (c-name "g_themed_icon_new")
4798   (is-constructor-of "GThemedIcon")
4799   (return-type "GIcon*")
4800   (parameters
4801     '("const-char*" "iconname")
4802   )
4803 )
4804
4805 (define-function g_themed_icon_new_with_default_fallbacks
4806   (c-name "g_themed_icon_new_with_default_fallbacks")
4807   (return-type "GIcon*")
4808   (parameters
4809     '("const-char*" "iconname")
4810   )
4811 )
4812
4813 (define-function g_themed_icon_new_from_names
4814   (c-name "g_themed_icon_new_from_names")
4815   (return-type "GIcon*")
4816   (parameters
4817     '("char**" "iconnames")
4818     '("int" "len")
4819   )
4820 )
4821
4822 (define-method prepend_name
4823   (of-object "GThemedIcon")
4824   (c-name "g_themed_icon_prepend_name")
4825   (return-type "none")
4826   (parameters
4827     '("const-char*" "iconname")
4828   )
4829 )
4830
4831 (define-method append_name
4832   (of-object "GThemedIcon")
4833   (c-name "g_themed_icon_append_name")
4834   (return-type "none")
4835   (parameters
4836     '("const-char*" "iconname")
4837   )
4838 )
4839
4840
4841
4842 ;; From gunionvolumemonitor.h
4843
4844
4845
4846 ;; From gunixinputstream.h
4847
4848 (define-function g_unix_input_stream_get_type
4849   (c-name "g_unix_input_stream_get_type")
4850   (return-type "GType")
4851 )
4852
4853 (define-function g_unix_input_stream_new
4854   (c-name "g_unix_input_stream_new")
4855   (is-constructor-of "GUnixInputStream")
4856   (return-type "GInputStream*")
4857   (parameters
4858     '("int" "fd")
4859     '("gboolean" "close_fd_at_close")
4860   )
4861 )
4862
4863
4864
4865 ;; From gunixmount.h
4866
4867
4868
4869 ;; From gunixmounts.h
4870
4871 (define-function g_unix_mount_free
4872   (c-name "g_unix_mount_free")
4873   (return-type "none")
4874   (parameters
4875     '("GUnixMountEntry*" "mount_entry")
4876   )
4877 )
4878
4879 (define-method free
4880   (of-object "GUnixMountPoint")
4881   (c-name "g_unix_mount_point_free")
4882   (return-type "none")
4883 )
4884
4885 (define-function g_unix_mount_compare
4886   (c-name "g_unix_mount_compare")
4887   (return-type "gint")
4888   (parameters
4889     '("GUnixMountEntry*" "mount1")
4890     '("GUnixMountEntry*" "mount2")
4891   )
4892 )
4893
4894 (define-function g_unix_mount_get_mount_path
4895   (c-name "g_unix_mount_get_mount_path")
4896   (return-type "const-char*")
4897   (parameters
4898     '("GUnixMountEntry*" "mount_entry")
4899   )
4900 )
4901
4902 (define-function g_unix_mount_get_device_path
4903   (c-name "g_unix_mount_get_device_path")
4904   (return-type "const-char*")
4905   (parameters
4906     '("GUnixMountEntry*" "mount_entry")
4907   )
4908 )
4909
4910 (define-function g_unix_mount_get_fs_type
4911   (c-name "g_unix_mount_get_fs_type")
4912   (return-type "const-char*")
4913   (parameters
4914     '("GUnixMountEntry*" "mount_entry")
4915   )
4916 )
4917
4918 (define-function g_unix_mount_is_readonly
4919   (c-name "g_unix_mount_is_readonly")
4920   (return-type "gboolean")
4921   (parameters
4922     '("GUnixMountEntry*" "mount_entry")
4923   )
4924 )
4925
4926 (define-function g_unix_mount_is_system_internal
4927   (c-name "g_unix_mount_is_system_internal")
4928   (return-type "gboolean")
4929   (parameters
4930     '("GUnixMountEntry*" "mount_entry")
4931   )
4932 )
4933
4934 (define-function g_unix_mount_guess_can_eject
4935   (c-name "g_unix_mount_guess_can_eject")
4936   (return-type "gboolean")
4937   (parameters
4938     '("GUnixMountEntry*" "mount_entry")
4939   )
4940 )
4941
4942 (define-function g_unix_mount_guess_should_display
4943   (c-name "g_unix_mount_guess_should_display")
4944   (return-type "gboolean")
4945   (parameters
4946     '("GUnixMountEntry*" "mount_entry")
4947   )
4948 )
4949
4950 (define-function g_unix_mount_guess_name
4951   (c-name "g_unix_mount_guess_name")
4952   (return-type "char*")
4953   (parameters
4954     '("GUnixMountEntry*" "mount_entry")
4955   )
4956 )
4957
4958 (define-function g_unix_mount_guess_icon
4959   (c-name "g_unix_mount_guess_icon")
4960   (return-type "GIcon*")
4961   (parameters
4962     '("GUnixMountEntry*" "mount_entry")
4963   )
4964 )
4965
4966 (define-method compare
4967   (of-object "GUnixMountPoint")
4968   (c-name "g_unix_mount_point_compare")
4969   (return-type "gint")
4970   (parameters
4971     '("GUnixMountPoint*" "mount2")
4972   )
4973 )
4974
4975 (define-method get_mount_path
4976   (of-object "GUnixMountPoint")
4977   (c-name "g_unix_mount_point_get_mount_path")
4978   (return-type "const-char*")
4979 )
4980
4981 (define-method get_device_path
4982   (of-object "GUnixMountPoint")
4983   (c-name "g_unix_mount_point_get_device_path")
4984   (return-type "const-char*")
4985 )
4986
4987 (define-method get_fs_type
4988   (of-object "GUnixMountPoint")
4989   (c-name "g_unix_mount_point_get_fs_type")
4990   (return-type "const-char*")
4991 )
4992
4993 (define-method is_readonly
4994   (of-object "GUnixMountPoint")
4995   (c-name "g_unix_mount_point_is_readonly")
4996   (return-type "gboolean")
4997 )
4998
4999 (define-method is_user_mountable
5000   (of-object "GUnixMountPoint")
5001   (c-name "g_unix_mount_point_is_user_mountable")
5002   (return-type "gboolean")
5003 )
5004
5005 (define-method is_loopback
5006   (of-object "GUnixMountPoint")
5007   (c-name "g_unix_mount_point_is_loopback")
5008   (return-type "gboolean")
5009 )
5010
5011 (define-method guess_can_eject
5012   (of-object "GUnixMountPoint")
5013   (c-name "g_unix_mount_point_guess_can_eject")
5014   (return-type "gboolean")
5015 )
5016
5017 (define-method guess_name
5018   (of-object "GUnixMountPoint")
5019   (c-name "g_unix_mount_point_guess_name")
5020   (return-type "char*")
5021 )
5022
5023 (define-method guess_icon
5024   (of-object "GUnixMountPoint")
5025   (c-name "g_unix_mount_point_guess_icon")
5026   (return-type "GIcon*")
5027 )
5028
5029 (define-function g_unix_mount_points_get
5030   (c-name "g_unix_mount_points_get")
5031   (return-type "GList*")
5032   (parameters
5033     '("guint64*" "time_read")
5034   )
5035 )
5036
5037 (define-function g_unix_mounts_get
5038   (c-name "g_unix_mounts_get")
5039   (return-type "GList*")
5040   (parameters
5041     '("guint64*" "time_read")
5042   )
5043 )
5044
5045 (define-function g_unix_mount_at
5046   (c-name "g_unix_mount_at")
5047   (return-type "GUnixMountEntry*")
5048   (parameters
5049     '("const-char*" "mount_path")
5050     '("guint64*" "time_read")
5051   )
5052 )
5053
5054 (define-function g_unix_mounts_changed_since
5055   (c-name "g_unix_mounts_changed_since")
5056   (return-type "gboolean")
5057   (parameters
5058     '("guint64" "time")
5059   )
5060 )
5061
5062 (define-function g_unix_mount_points_changed_since
5063   (c-name "g_unix_mount_points_changed_since")
5064   (return-type "gboolean")
5065   (parameters
5066     '("guint64" "time")
5067   )
5068 )
5069
5070 (define-function g_unix_mount_monitor_get_type
5071   (c-name "g_unix_mount_monitor_get_type")
5072   (return-type "GType")
5073 )
5074
5075 (define-function g_unix_mount_monitor_new
5076   (c-name "g_unix_mount_monitor_new")
5077   (is-constructor-of "GUnixMountMonitor")
5078   (return-type "GUnixMountMonitor*")
5079 )
5080
5081 (define-method set_rate_limit
5082   (of-object "GUnixMountMonitor")
5083   (c-name "g_unix_mount_monitor_set_rate_limit")
5084   (return-type "none")
5085   (parameters
5086     '("int" "limit_msec")
5087   )
5088 )
5089
5090 (define-function g_unix_is_mount_path_system_internal
5091   (c-name "g_unix_is_mount_path_system_internal")
5092   (return-type "gboolean")
5093   (parameters
5094     '("const-char*" "mount_path")
5095   )
5096 )
5097
5098
5099
5100 ;; From gunixoutputstream.h
5101
5102 (define-function g_unix_output_stream_get_type
5103   (c-name "g_unix_output_stream_get_type")
5104   (return-type "GType")
5105 )
5106
5107 (define-function g_unix_output_stream_new
5108   (c-name "g_unix_output_stream_new")
5109   (is-constructor-of "GUnixOutputStream")
5110   (return-type "GOutputStream*")
5111   (parameters
5112     '("int" "fd")
5113     '("gboolean" "close_fd_at_close")
5114   )
5115 )
5116
5117
5118
5119 ;; From gunixvolume.h
5120
5121
5122
5123 ;; From gunixvolumemonitor.h
5124
5125
5126
5127 ;; From gvfs.h
5128
5129 (define-function g_vfs_get_type
5130   (c-name "g_vfs_get_type")
5131   (return-type "GType")
5132 )
5133
5134 (define-method is_active
5135   (of-object "GVfs")
5136   (c-name "g_vfs_is_active")
5137   (return-type "gboolean")
5138 )
5139
5140 (define-method get_file_for_path
5141   (of-object "GVfs")
5142   (c-name "g_vfs_get_file_for_path")
5143   (return-type "GFile*")
5144   (parameters
5145     '("const-char*" "path")
5146   )
5147 )
5148
5149 (define-method get_file_for_uri
5150   (of-object "GVfs")
5151   (c-name "g_vfs_get_file_for_uri")
5152   (return-type "GFile*")
5153   (parameters
5154     '("const-char*" "uri")
5155   )
5156 )
5157
5158 (define-method parse_name
5159   (of-object "GVfs")
5160   (c-name "g_vfs_parse_name")
5161   (return-type "GFile*")
5162   (parameters
5163     '("const-char*" "parse_name")
5164   )
5165 )
5166
5167 (define-function g_vfs_get_default
5168   (c-name "g_vfs_get_default")
5169   (return-type "GVfs*")
5170 )
5171
5172 (define-function g_vfs_get_local
5173   (c-name "g_vfs_get_local")
5174   (return-type "GVfs*")
5175 )
5176
5177
5178
5179 ;; From gvolume.h
5180
5181 (define-function g_volume_get_type
5182   (c-name "g_volume_get_type")
5183   (return-type "GType")
5184 )
5185
5186 (define-method get_name
5187   (of-object "GVolume")
5188   (c-name "g_volume_get_name")
5189   (return-type "char*")
5190 )
5191
5192 (define-method get_icon
5193   (of-object "GVolume")
5194   (c-name "g_volume_get_icon")
5195   (return-type "GIcon*")
5196 )
5197
5198 (define-method get_uuid
5199   (of-object "GVolume")
5200   (c-name "g_volume_get_uuid")
5201   (return-type "char*")
5202 )
5203
5204 (define-method get_drive
5205   (of-object "GVolume")
5206   (c-name "g_volume_get_drive")
5207   (return-type "GDrive*")
5208 )
5209
5210 (define-method get_mount
5211   (of-object "GVolume")
5212   (c-name "g_volume_get_mount")
5213   (return-type "GMount*")
5214 )
5215
5216 (define-method can_mount
5217   (of-object "GVolume")
5218   (c-name "g_volume_can_mount")
5219   (return-type "gboolean")
5220 )
5221
5222 (define-method can_eject
5223   (of-object "GVolume")
5224   (c-name "g_volume_can_eject")
5225   (return-type "gboolean")
5226 )
5227
5228 (define-method should_automount
5229   (of-object "GVolume")
5230   (c-name "g_volume_should_automount")
5231   (return-type "gboolean")
5232 )
5233
5234 (define-method mount
5235   (of-object "GVolume")
5236   (c-name "g_volume_mount")
5237   (return-type "none")
5238   (parameters
5239     '("GMountMountFlags" "flags")
5240     '("GMountOperation*" "mount_operation")
5241     '("GCancellable*" "cancellable")
5242     '("GAsyncReadyCallback" "callback")
5243     '("gpointer" "user_data")
5244   )
5245 )
5246
5247 (define-method mount_finish
5248   (of-object "GVolume")
5249   (c-name "g_volume_mount_finish")
5250   (return-type "gboolean")
5251   (parameters
5252     '("GAsyncResult*" "result")
5253     '("GError**" "error")
5254   )
5255 )
5256
5257 (define-method eject
5258   (of-object "GVolume")
5259   (c-name "g_volume_eject")
5260   (return-type "none")
5261   (parameters
5262     '("GMountUnmountFlags" "flags")
5263     '("GCancellable*" "cancellable")
5264     '("GAsyncReadyCallback" "callback")
5265     '("gpointer" "user_data")
5266   )
5267 )
5268
5269 (define-method eject_finish
5270   (of-object "GVolume")
5271   (c-name "g_volume_eject_finish")
5272   (return-type "gboolean")
5273   (parameters
5274     '("GAsyncResult*" "result")
5275     '("GError**" "error")
5276   )
5277 )
5278
5279 (define-method get_identifier
5280   (of-object "GVolume")
5281   (c-name "g_volume_get_identifier")
5282   (return-type "char*")
5283   (parameters
5284     '("const-char*" "kind")
5285   )
5286 )
5287
5288 (define-method enumerate_identifiers
5289   (of-object "GVolume")
5290   (c-name "g_volume_enumerate_identifiers")
5291   (return-type "char**")
5292 )
5293
5294 (define-method get_activation_root
5295   (of-object "GVolume")
5296   (c-name "g_volume_get_activation_root")
5297   (return-type "GFile*")
5298 )
5299
5300
5301
5302 ;; From gvolumemonitor.h
5303
5304 (define-function g_volume_monitor_get_type
5305   (c-name "g_volume_monitor_get_type")
5306   (return-type "GType")
5307 )
5308
5309 (define-function g_volume_monitor_get
5310   (c-name "g_volume_monitor_get")
5311   (return-type "GVolumeMonitor*")
5312 )
5313
5314 (define-method get_connected_drives
5315   (of-object "GVolumeMonitor")
5316   (c-name "g_volume_monitor_get_connected_drives")
5317   (return-type "GList*")
5318 )
5319
5320 (define-method get_volumes
5321   (of-object "GVolumeMonitor")
5322   (c-name "g_volume_monitor_get_volumes")
5323   (return-type "GList*")
5324 )
5325
5326 (define-method get_mounts
5327   (of-object "GVolumeMonitor")
5328   (c-name "g_volume_monitor_get_mounts")
5329   (return-type "GList*")
5330 )
5331
5332 (define-method get_volume_for_uuid
5333   (of-object "GVolumeMonitor")
5334   (c-name "g_volume_monitor_get_volume_for_uuid")
5335   (return-type "GVolume*")
5336   (parameters
5337     '("const-char*" "uuid")
5338   )
5339 )
5340
5341 (define-method get_mount_for_uuid
5342   (of-object "GVolumeMonitor")
5343   (c-name "g_volume_monitor_get_mount_for_uuid")
5344   (return-type "GMount*")
5345   (parameters
5346     '("const-char*" "uuid")
5347   )
5348 )
5349
5350 (define-function g_volume_monitor_adopt_orphan_mount
5351   (c-name "g_volume_monitor_adopt_orphan_mount")
5352   (return-type "GVolume*")
5353   (parameters
5354     '("GMount*" "mount")
5355   )
5356 )
5357
5358
5359
5360 ;; From gwin32appinfo.h
5361
5362 (define-function g_win32_app_info_get_type
5363   (c-name "g_win32_app_info_get_type")
5364   (return-type "GType")
5365 )
5366
5367
5368
5369 ;; From gwin32mount.h
5370
5371
5372
5373 ;; From gwin32volumemonitor.h
5374
5375