gio2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +41 -0
- data/Rakefile +9 -70
- data/ext/gio2/extconf.rb +9 -9
- data/ext/gio2/gasyncinitable.c +0 -1
- data/ext/gio2/gbufferedinputstream.c +0 -19
- data/ext/gio2/gbufferedoutputstream.c +0 -34
- data/ext/gio2/gcharsetconverter.c +0 -17
- data/ext/gio2/gcontenttype.c +1 -8
- data/ext/gio2/gconverterinputstream.c +0 -7
- data/ext/gio2/gconverteroutputstream.c +0 -7
- data/ext/gio2/gdatainputstream.c +34 -57
- data/ext/gio2/gdataoutputstream.c +0 -18
- data/ext/gio2/gdesktopappinfo.c +0 -2
- data/ext/gio2/gemblem.c +0 -19
- data/ext/gio2/gfile.c +4 -6
- data/ext/gio2/gfileattribute.c +3 -155
- data/ext/gio2/gfileattributeinfo.c +89 -0
- data/ext/gio2/gfileattributeinfolist.c +109 -0
- data/ext/gio2/gfileenumerator.c +0 -2
- data/ext/gio2/gfileicon.c +0 -7
- data/ext/gio2/gfileinfo.c +4 -11
- data/ext/gio2/gfileinputstream.c +0 -2
- data/ext/gio2/gfileiostream.c +0 -2
- data/ext/gio2/gfilemonitor.c +0 -19
- data/ext/gio2/gfileoutputstream.c +1 -5
- data/ext/gio2/gfilterinputstream.c +1 -30
- data/ext/gio2/gfilteroutputstream.c +1 -30
- data/ext/gio2/gicon.c +0 -2
- data/ext/gio2/ginetaddress.c +0 -72
- data/ext/gio2/ginetsocketaddress.c +0 -16
- data/ext/gio2/ginputstream.c +0 -2
- data/ext/gio2/gio2.c +11 -1
- data/ext/gio2/gio2.h +9 -1
- data/ext/gio2/gioerror.c +4 -1
- data/ext/gio2/giomodule.c +2 -2
- data/ext/gio2/gioscheduler.c +4 -6
- data/ext/gio2/giostream.c +0 -23
- data/ext/gio2/gloadableicon.c +0 -1
- data/ext/gio2/gmemoryoutputstream.c +0 -24
- data/ext/gio2/gmount.c +1 -0
- data/ext/gio2/gmountoperation.c +1 -103
- data/ext/gio2/gnetworkaddress.c +0 -14
- data/ext/gio2/gnetworkservice.c +0 -21
- data/ext/gio2/goutputstream.c +8 -18
- data/ext/gio2/gresolver.c +0 -2
- data/ext/gio2/gsocket.c +2 -80
- data/ext/gio2/gsocketaddress.c +1 -13
- data/ext/gio2/gsocketclient.c +0 -68
- data/ext/gio2/gsocketconnection.c +1 -8
- data/ext/gio2/gsocketcontrolmessage.c +0 -2
- data/ext/gio2/gsocketlistener.c +27 -21
- data/ext/gio2/gtcpconnection.c +1 -22
- data/ext/gio2/gthreadedsocketservice.c +6 -5
- data/ext/gio2/gunixfdlist.c +1 -1
- data/ext/gio2/gunixfdmessage.c +0 -9
- data/ext/gio2/gunixinputstream.c +0 -24
- data/ext/gio2/gunixmounts.c +1 -4
- data/ext/gio2/gunixoutputstream.c +0 -24
- data/ext/gio2/gunixsocketaddress.c +5 -17
- data/ext/gio2/gvfs.c +0 -2
- data/ext/gio2/gvolumemonitor.c +0 -2
- data/ext/gio2/gzlibcompressor.c +3 -0
- data/ext/gio2/util.c +3 -0
- data/lib/1.8/gio2.so +0 -0
- data/lib/1.9/gio2.so +0 -0
- data/lib/gio2.rb +19 -1
- data/test/load-test.rb +14 -0
- data/test/test_bufferedinputstream.rb +2 -0
- data/test/test_charsetconverter.rb +2 -0
- data/test/test_datainputstream.rb +7 -0
- data/test/test_fileenumerator.rb +8 -0
- data/test/test_filemonitor.rb +2 -0
- data/test/test_inetaddress.rb +8 -0
- metadata +90 -835
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +0 -123
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +0 -188
- data/vendor/local/bin/glib-mkenums +0 -537
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/autosprintf.h +0 -66
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
- data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
- data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
- data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
- data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
- data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
- data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
- data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
- data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
- data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
- data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
- data/vendor/local/include/glib-2.0/glib-object.h +0 -42
- data/vendor/local/include/glib-2.0/glib.h +0 -99
- data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
- data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
- data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
- data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
- data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
- data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
- data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
- data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
- data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
- data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
- data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
- data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
- data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
- data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
- data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
- data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
- data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
- data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
- data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
- data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
- data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
- data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
- data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
- data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
- data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
- data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
- data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
- data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
- data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
- data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
- data/vendor/local/include/glib-2.0/gmodule.h +0 -101
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
- data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
- data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
- data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
- data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
- data/vendor/local/include/libintl.h +0 -464
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1143
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +0 -1452
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +0 -370
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +0 -3
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +0 -31
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
- data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
- data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
- data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
- data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
- data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
- data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
- data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
- data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
- data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
- data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
- data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
- data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
- data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
- data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
- data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +0 -77
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +0 -54
- data/vendor/local/share/man/man1/gettext.1 +0 -69
- data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
- data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
- data/vendor/local/share/man/man1/gobject-query.1 +0 -83
- data/vendor/local/share/man/man1/ngettext.1 +0 -68
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
- data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
- data/vendor/local/share/man/man3/dcgettext.3 +0 -1
- data/vendor/local/share/man/man3/dcngettext.3 +0 -1
- data/vendor/local/share/man/man3/dgettext.3 +0 -1
- data/vendor/local/share/man/man3/dngettext.3 +0 -1
- data/vendor/local/share/man/man3/gettext.3 +0 -99
- data/vendor/local/share/man/man3/ngettext.3 +0 -60
- data/vendor/local/share/man/man3/textdomain.3 +0 -57
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,393 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GMemoryOutputStream</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
-
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
-
<link rel="up" href="streaming.html" title="Streaming I/O">
|
9
|
-
<link rel="prev" href="GMemoryInputStream.html" title="GMemoryInputStream">
|
10
|
-
<link rel="next" href="GBufferedInputStream.html" title="GBufferedInputStream">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
-
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="GMemoryInputStream.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="streaming.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GBufferedInputStream.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GMemoryOutputStream.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#GMemoryOutputStream.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#GMemoryOutputStream.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#GMemoryOutputStream.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
-
|
|
32
|
-
<a href="#GMemoryOutputStream.properties" class="shortcut">Properties</a>
|
33
|
-
</td></tr>
|
34
|
-
</table>
|
35
|
-
<div class="refentry">
|
36
|
-
<a name="GMemoryOutputStream"></a><div class="titlepage"></div>
|
37
|
-
<div class="refnamediv"><table width="100%"><tr>
|
38
|
-
<td valign="top">
|
39
|
-
<h2><span class="refentrytitle"><a name="GMemoryOutputStream.top_of_page"></a>GMemoryOutputStream</span></h2>
|
40
|
-
<p>GMemoryOutputStream — Streaming output operations on memory chunks</p>
|
41
|
-
</td>
|
42
|
-
<td valign="top" align="right"></td>
|
43
|
-
</tr></table></div>
|
44
|
-
<div class="refsynopsisdiv">
|
45
|
-
<a name="GMemoryOutputStream.synopsis"></a><h2>Synopsis</h2>
|
46
|
-
<pre class="synopsis">
|
47
|
-
#include <gio/gio.h>
|
48
|
-
|
49
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="GMemoryOutputStream.html#GReallocFunc" title="GReallocFunc ()">*GReallocFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
50
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);
|
51
|
-
<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream-struct" title="GMemoryOutputStream">GMemoryOutputStream</a>;
|
52
|
-
<a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> * <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-new" title="g_memory_output_stream_new ()">g_memory_output_stream_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
53
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html#GReallocFunc" title="GReallocFunc ()"><span class="type">GReallocFunc</span></a> realloc_function</code></em>,
|
55
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_function</code></em>);
|
56
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-get-data" title="g_memory_output_stream_get_data ()">g_memory_output_stream_get_data</a> (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);
|
57
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-get-size" title="g_memory_output_stream_get_size ()">g_memory_output_stream_get_size</a> (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);
|
58
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-get-data-size" title="g_memory_output_stream_get_data_size ()">g_memory_output_stream_get_data_size</a>
|
59
|
-
(<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);
|
60
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-steal-data" title="g_memory_output_stream_steal_data ()">g_memory_output_stream_steal_data</a> (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);
|
61
|
-
</pre>
|
62
|
-
</div>
|
63
|
-
<div class="refsect1">
|
64
|
-
<a name="GMemoryOutputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
65
|
-
<pre class="synopsis">
|
66
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
67
|
-
+----<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>
|
68
|
-
+----GMemoryOutputStream
|
69
|
-
</pre>
|
70
|
-
</div>
|
71
|
-
<div class="refsect1">
|
72
|
-
<a name="GMemoryOutputStream.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
73
|
-
<p>
|
74
|
-
GMemoryOutputStream implements
|
75
|
-
<a class="link" href="GSeekable.html" title="GSeekable">GSeekable</a>.</p>
|
76
|
-
</div>
|
77
|
-
<div class="refsect1">
|
78
|
-
<a name="GMemoryOutputStream.properties"></a><h2>Properties</h2>
|
79
|
-
<pre class="synopsis">
|
80
|
-
"<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--data" title='The "data" property'>data</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
|
81
|
-
"<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--data-size" title='The "data-size" property'>data-size</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read
|
82
|
-
"<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--destroy-function" title='The "destroy-function" property'>destroy-function</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
|
83
|
-
"<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--realloc-function" title='The "realloc-function" property'>realloc-function</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
|
84
|
-
"<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--size" title='The "size" property'>size</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read / Write / Construct Only
|
85
|
-
</pre>
|
86
|
-
</div>
|
87
|
-
<div class="refsect1">
|
88
|
-
<a name="GMemoryOutputStream.description"></a><h2>Description</h2>
|
89
|
-
<p>
|
90
|
-
<a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> is a class for using arbitrary
|
91
|
-
memory chunks as output for GIO streaming output operations.
|
92
|
-
</p>
|
93
|
-
</div>
|
94
|
-
<div class="refsect1">
|
95
|
-
<a name="GMemoryOutputStream.details"></a><h2>Details</h2>
|
96
|
-
<div class="refsect2">
|
97
|
-
<a name="GReallocFunc"></a><h3>GReallocFunc ()</h3>
|
98
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (*GReallocFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
99
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre>
|
100
|
-
<p>
|
101
|
-
Changes the size of the memory block pointed to by <em class="parameter"><code>data</code></em> to
|
102
|
-
<em class="parameter"><code>size</code></em> bytes.
|
103
|
-
</p>
|
104
|
-
<p>
|
105
|
-
The function should have the same semantics as <code class="function">realloc()</code>.
|
106
|
-
</p>
|
107
|
-
<div class="variablelist"><table border="0">
|
108
|
-
<col align="left" valign="top">
|
109
|
-
<tbody>
|
110
|
-
<tr>
|
111
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
112
|
-
<td>memory block to reallocate
|
113
|
-
</td>
|
114
|
-
</tr>
|
115
|
-
<tr>
|
116
|
-
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
117
|
-
<td>size to reallocate <em class="parameter"><code>data</code></em> to
|
118
|
-
</td>
|
119
|
-
</tr>
|
120
|
-
<tr>
|
121
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
122
|
-
<td> a pointer to the reallocated memory
|
123
|
-
</td>
|
124
|
-
</tr>
|
125
|
-
</tbody>
|
126
|
-
</table></div>
|
127
|
-
</div>
|
128
|
-
<hr>
|
129
|
-
<div class="refsect2">
|
130
|
-
<a name="GMemoryOutputStream-struct"></a><h3>GMemoryOutputStream</h3>
|
131
|
-
<pre class="programlisting">typedef struct _GMemoryOutputStream GMemoryOutputStream;</pre>
|
132
|
-
<p>
|
133
|
-
Implements <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a> for arbitrary memory chunks.
|
134
|
-
</p>
|
135
|
-
</div>
|
136
|
-
<hr>
|
137
|
-
<div class="refsect2">
|
138
|
-
<a name="g-memory-output-stream-new"></a><h3>g_memory_output_stream_new ()</h3>
|
139
|
-
<pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> * g_memory_output_stream_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
140
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
141
|
-
<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html#GReallocFunc" title="GReallocFunc ()"><span class="type">GReallocFunc</span></a> realloc_function</code></em>,
|
142
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_function</code></em>);</pre>
|
143
|
-
<p>
|
144
|
-
Creates a new <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a>.
|
145
|
-
</p>
|
146
|
-
<p>
|
147
|
-
If <em class="parameter"><code>data</code></em> is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the stream will use that for its internal storage.
|
148
|
-
If <em class="parameter"><code>realloc_fn</code></em> is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be used for resizing the internal
|
149
|
-
storage when necessary. To construct a fixed-size output stream,
|
150
|
-
pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as <em class="parameter"><code>realloc_fn</code></em>.
|
151
|
-
</p>
|
152
|
-
<p>
|
153
|
-
</p>
|
154
|
-
<div class="informalexample">
|
155
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
156
|
-
<tbody>
|
157
|
-
<tr>
|
158
|
-
<td class="listing_lines" align="right"><pre>1
|
159
|
-
2
|
160
|
-
3
|
161
|
-
4
|
162
|
-
5
|
163
|
-
6
|
164
|
-
7
|
165
|
-
8
|
166
|
-
9</pre></td>
|
167
|
-
<td class="listing_code"><pre class="programlisting"><span class="comment">/* a stream that can grow */</span>
|
168
|
-
<span class="normal">stream </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GMemoryOutputStream.html#g-memory-output-stream-new">g_memory_output_stream_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> realloc</span><span class="symbol">,</span><span class="normal"> free</span><span class="symbol">);</span>
|
169
|
-
|
170
|
-
<span class="comment">/* another stream that can grow */</span>
|
171
|
-
<span class="normal">stream2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GMemoryOutputStream.html#g-memory-output-stream-new">g_memory_output_stream_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-realloc">g_realloc</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="symbol">);</span>
|
172
|
-
|
173
|
-
<span class="comment">/* a fixed-size stream */</span>
|
174
|
-
<span class="normal">data </span><span class="symbol">=</span><span class="normal"> </span><span class="function">malloc</span><span class="normal"> </span><span class="symbol">(</span><span class="number">200</span><span class="symbol">);</span>
|
175
|
-
<span class="normal">stream3 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GMemoryOutputStream.html#g-memory-output-stream-new">g_memory_output_stream_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> free</span><span class="symbol">);</span></pre></td>
|
176
|
-
</tr>
|
177
|
-
</tbody>
|
178
|
-
</table>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
<p>
|
182
|
-
</p>
|
183
|
-
<div class="variablelist"><table border="0">
|
184
|
-
<col align="left" valign="top">
|
185
|
-
<tbody>
|
186
|
-
<tr>
|
187
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
188
|
-
<td>pointer to a chunk of memory to use, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
189
|
-
</td>
|
190
|
-
</tr>
|
191
|
-
<tr>
|
192
|
-
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
193
|
-
<td>the size of <em class="parameter"><code>data</code></em>
|
194
|
-
</td>
|
195
|
-
</tr>
|
196
|
-
<tr>
|
197
|
-
<td><p><span class="term"><em class="parameter"><code>realloc_function</code></em> :</span></p></td>
|
198
|
-
<td>a function with <code class="function">realloc()</code> semantics (like <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-realloc"><code class="function">g_realloc()</code></a>)
|
199
|
-
to be called when <em class="parameter"><code>data</code></em> needs to be grown, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
200
|
-
</td>
|
201
|
-
</tr>
|
202
|
-
<tr>
|
203
|
-
<td><p><span class="term"><em class="parameter"><code>destroy_function</code></em> :</span></p></td>
|
204
|
-
<td>a function to be called on <em class="parameter"><code>data</code></em> when the stream is
|
205
|
-
finalized, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
<tr>
|
209
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
210
|
-
<td> A newly created <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> object.
|
211
|
-
</td>
|
212
|
-
</tr>
|
213
|
-
</tbody>
|
214
|
-
</table></div>
|
215
|
-
</div>
|
216
|
-
<hr>
|
217
|
-
<div class="refsect2">
|
218
|
-
<a name="g-memory-output-stream-get-data"></a><h3>g_memory_output_stream_get_data ()</h3>
|
219
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_memory_output_stream_get_data (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);</pre>
|
220
|
-
<p>
|
221
|
-
Gets any loaded data from the <em class="parameter"><code>ostream</code></em>.
|
222
|
-
</p>
|
223
|
-
<p>
|
224
|
-
Note that the returned pointer may become invalid on the next
|
225
|
-
write or truncate operation on the stream.
|
226
|
-
</p>
|
227
|
-
<div class="variablelist"><table border="0">
|
228
|
-
<col align="left" valign="top">
|
229
|
-
<tbody>
|
230
|
-
<tr>
|
231
|
-
<td><p><span class="term"><em class="parameter"><code>ostream</code></em> :</span></p></td>
|
232
|
-
<td>a <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a>
|
233
|
-
</td>
|
234
|
-
</tr>
|
235
|
-
<tr>
|
236
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
237
|
-
<td> pointer to the stream's data
|
238
|
-
</td>
|
239
|
-
</tr>
|
240
|
-
</tbody>
|
241
|
-
</table></div>
|
242
|
-
</div>
|
243
|
-
<hr>
|
244
|
-
<div class="refsect2">
|
245
|
-
<a name="g-memory-output-stream-get-size"></a><h3>g_memory_output_stream_get_size ()</h3>
|
246
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a> g_memory_output_stream_get_size (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);</pre>
|
247
|
-
<p>
|
248
|
-
Gets the size of the currently allocated data area (availible from
|
249
|
-
<a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-get-data" title="g_memory_output_stream_get_data ()"><code class="function">g_memory_output_stream_get_data()</code></a>). If the stream isn't
|
250
|
-
growable (no realloc was passed to <a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-new" title="g_memory_output_stream_new ()"><code class="function">g_memory_output_stream_new()</code></a>) then
|
251
|
-
this is the maximum size of the stream and further writes
|
252
|
-
will return <a class="link" href="gio-GIOError.html#G-IO-ERROR-NO-SPACE:CAPS"><code class="literal">G_IO_ERROR_NO_SPACE</code></a>.
|
253
|
-
</p>
|
254
|
-
<p>
|
255
|
-
Note that for growable streams the returned size may become invalid on
|
256
|
-
the next write or truncate operation on the stream.
|
257
|
-
</p>
|
258
|
-
<p>
|
259
|
-
If you want the number of bytes currently written to the stream, use
|
260
|
-
<a class="link" href="GMemoryOutputStream.html#g-memory-output-stream-get-data-size" title="g_memory_output_stream_get_data_size ()"><code class="function">g_memory_output_stream_get_data_size()</code></a>.
|
261
|
-
</p>
|
262
|
-
<div class="variablelist"><table border="0">
|
263
|
-
<col align="left" valign="top">
|
264
|
-
<tbody>
|
265
|
-
<tr>
|
266
|
-
<td><p><span class="term"><em class="parameter"><code>ostream</code></em> :</span></p></td>
|
267
|
-
<td>a <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a>
|
268
|
-
</td>
|
269
|
-
</tr>
|
270
|
-
<tr>
|
271
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
272
|
-
<td> the number of bytes allocated for the data buffer
|
273
|
-
</td>
|
274
|
-
</tr>
|
275
|
-
</tbody>
|
276
|
-
</table></div>
|
277
|
-
</div>
|
278
|
-
<hr>
|
279
|
-
<div class="refsect2">
|
280
|
-
<a name="g-memory-output-stream-get-data-size"></a><h3>g_memory_output_stream_get_data_size ()</h3>
|
281
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a> g_memory_output_stream_get_data_size
|
282
|
-
(<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);</pre>
|
283
|
-
<p>
|
284
|
-
Returns the number of bytes from the start up
|
285
|
-
to including the last byte written in the stream
|
286
|
-
that has not been truncated away.
|
287
|
-
</p>
|
288
|
-
<div class="variablelist"><table border="0">
|
289
|
-
<col align="left" valign="top">
|
290
|
-
<tbody>
|
291
|
-
<tr>
|
292
|
-
<td><p><span class="term"><em class="parameter"><code>ostream</code></em> :</span></p></td>
|
293
|
-
<td>a <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a>
|
294
|
-
</td>
|
295
|
-
</tr>
|
296
|
-
<tr>
|
297
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
298
|
-
<td> the number of bytes written to the stream
|
299
|
-
|
300
|
-
</td>
|
301
|
-
</tr>
|
302
|
-
</tbody>
|
303
|
-
</table></div>
|
304
|
-
<p class="since">Since 2.18</p>
|
305
|
-
</div>
|
306
|
-
<hr>
|
307
|
-
<div class="refsect2">
|
308
|
-
<a name="g-memory-output-stream-steal-data"></a><h3>g_memory_output_stream_steal_data ()</h3>
|
309
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_memory_output_stream_steal_data (<em class="parameter"><code><a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a> *ostream</code></em>);</pre>
|
310
|
-
<p>
|
311
|
-
Gets any loaded data from the <em class="parameter"><code>ostream</code></em>. Ownership of the data
|
312
|
-
is transferred to the caller; when no longer needed it must be
|
313
|
-
freed using the free function set in <em class="parameter"><code>ostream</code></em>'s
|
314
|
-
<a class="link" href="GMemoryOutputStream.html#GMemoryOutputStream--destroy-function" title='The "destroy-function" property'><span class="type">"destroy-function"</span></a> property.
|
315
|
-
</p>
|
316
|
-
<p>
|
317
|
-
<em class="parameter"><code>ostream</code></em> must be closed before calling this function.
|
318
|
-
</p>
|
319
|
-
<div class="variablelist"><table border="0">
|
320
|
-
<col align="left" valign="top">
|
321
|
-
<tbody>
|
322
|
-
<tr>
|
323
|
-
<td><p><span class="term"><em class="parameter"><code>ostream</code></em> :</span></p></td>
|
324
|
-
<td>a <a class="link" href="GMemoryOutputStream.html" title="GMemoryOutputStream"><span class="type">GMemoryOutputStream</span></a>
|
325
|
-
</td>
|
326
|
-
</tr>
|
327
|
-
<tr>
|
328
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
329
|
-
<td> the stream's data. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
330
|
-
</td>
|
331
|
-
</tr>
|
332
|
-
</tbody>
|
333
|
-
</table></div>
|
334
|
-
<p class="since">Since 2.26</p>
|
335
|
-
</div>
|
336
|
-
</div>
|
337
|
-
<div class="refsect1">
|
338
|
-
<a name="GMemoryOutputStream.property-details"></a><h2>Property Details</h2>
|
339
|
-
<div class="refsect2">
|
340
|
-
<a name="GMemoryOutputStream--data"></a><h3>The <code class="literal">"data"</code> property</h3>
|
341
|
-
<pre class="programlisting"> "data" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only</pre>
|
342
|
-
<p>
|
343
|
-
Pointer to buffer where data will be written.
|
344
|
-
</p>
|
345
|
-
<p class="since">Since 2.24</p>
|
346
|
-
</div>
|
347
|
-
<hr>
|
348
|
-
<div class="refsect2">
|
349
|
-
<a name="GMemoryOutputStream--data-size"></a><h3>The <code class="literal">"data-size"</code> property</h3>
|
350
|
-
<pre class="programlisting"> "data-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read</pre>
|
351
|
-
<p>
|
352
|
-
Size of data written to the buffer.
|
353
|
-
</p>
|
354
|
-
<p class="since">Since 2.24</p>
|
355
|
-
</div>
|
356
|
-
<hr>
|
357
|
-
<div class="refsect2">
|
358
|
-
<a name="GMemoryOutputStream--destroy-function"></a><h3>The <code class="literal">"destroy-function"</code> property</h3>
|
359
|
-
<pre class="programlisting"> "destroy-function" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only</pre>
|
360
|
-
<p>
|
361
|
-
Function called with the buffer as argument when the stream is destroyed.
|
362
|
-
</p>
|
363
|
-
<p class="since">Since 2.24</p>
|
364
|
-
</div>
|
365
|
-
<hr>
|
366
|
-
<div class="refsect2">
|
367
|
-
<a name="GMemoryOutputStream--realloc-function"></a><h3>The <code class="literal">"realloc-function"</code> property</h3>
|
368
|
-
<pre class="programlisting"> "realloc-function" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only</pre>
|
369
|
-
<p>
|
370
|
-
Function with realloc semantics called to enlarge the buffer.
|
371
|
-
</p>
|
372
|
-
<p class="since">Since 2.24</p>
|
373
|
-
</div>
|
374
|
-
<hr>
|
375
|
-
<div class="refsect2">
|
376
|
-
<a name="GMemoryOutputStream--size"></a><h3>The <code class="literal">"size"</code> property</h3>
|
377
|
-
<pre class="programlisting"> "size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read / Write / Construct Only</pre>
|
378
|
-
<p>
|
379
|
-
Current size of the data buffer.
|
380
|
-
</p>
|
381
|
-
<p class="since">Since 2.24</p>
|
382
|
-
</div>
|
383
|
-
</div>
|
384
|
-
<div class="refsect1">
|
385
|
-
<a name="GMemoryOutputStream.see-also"></a><h2>See Also</h2>
|
386
|
-
<a class="link" href="GMemoryInputStream.html" title="GMemoryInputStream"><span class="type">GMemoryInputStream</span></a>
|
387
|
-
</div>
|
388
|
-
</div>
|
389
|
-
<div class="footer">
|
390
|
-
<hr>
|
391
|
-
Generated by GTK-Doc V1.15.1</div>
|
392
|
-
</body>
|
393
|
-
</html>
|
@@ -1,1465 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GMount</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
-
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
-
<link rel="up" href="volume_mon.html" title="Volumes and Drives">
|
9
|
-
<link rel="prev" href="GVolume.html" title="GVolume">
|
10
|
-
<link rel="next" href="GDrive.html" title="GDrive">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
-
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="GVolume.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="volume_mon.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GDrive.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GMount.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#GMount.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#GMount.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#GMount.prerequisites" class="shortcut">Prerequisites</a>
|
31
|
-
|
|
32
|
-
<a href="#GMount.signals" class="shortcut">Signals</a>
|
33
|
-
</td></tr>
|
34
|
-
</table>
|
35
|
-
<div class="refentry">
|
36
|
-
<a name="GMount"></a><div class="titlepage"></div>
|
37
|
-
<div class="refnamediv"><table width="100%"><tr>
|
38
|
-
<td valign="top">
|
39
|
-
<h2><span class="refentrytitle"><a name="GMount.top_of_page"></a>GMount</span></h2>
|
40
|
-
<p>GMount — Mount management</p>
|
41
|
-
</td>
|
42
|
-
<td valign="top" align="right"></td>
|
43
|
-
</tr></table></div>
|
44
|
-
<div class="refsynopsisdiv">
|
45
|
-
<a name="GMount.synopsis"></a><h2>Synopsis</h2>
|
46
|
-
<pre class="synopsis">
|
47
|
-
#include <gio/gio.h
|
48
|
-
@see also: GVolume>
|
49
|
-
#include <GUnixMount>
|
50
|
-
|
51
|
-
<a class="link" href="GMount.html#GMount-struct" title="GMount">GMount</a>;
|
52
|
-
<a class="link" href="GMount.html#GMountIface" title="GMountIface">GMountIface</a>;
|
53
|
-
<span class="returnvalue">char</span> * <a class="link" href="GMount.html#g-mount-get-name" title="g_mount_get_name ()">g_mount_get_name</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
54
|
-
<span class="returnvalue">char</span> * <a class="link" href="GMount.html#g-mount-get-uuid" title="g_mount_get_uuid ()">g_mount_get_uuid</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
55
|
-
<a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * <a class="link" href="GMount.html#g-mount-get-icon" title="g_mount_get_icon ()">g_mount_get_icon</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
56
|
-
<a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> * <a class="link" href="GMount.html#g-mount-get-drive" title="g_mount_get_drive ()">g_mount_get_drive</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
57
|
-
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * <a class="link" href="GMount.html#g-mount-get-root" title="g_mount_get_root ()">g_mount_get_root</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
58
|
-
<a class="link" href="GVolume.html" title="GVolume"><span class="returnvalue">GVolume</span></a> * <a class="link" href="GMount.html#g-mount-get-volume" title="g_mount_get_volume ()">g_mount_get_volume</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
59
|
-
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * <a class="link" href="GMount.html#g-mount-get-default-location" title="g_mount_get_default_location ()">g_mount_get_default_location</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
60
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-can-unmount" title="g_mount_can_unmount ()">g_mount_can_unmount</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
61
|
-
enum <a class="link" href="GMount.html#GMountMountFlags" title="enum GMountMountFlags">GMountMountFlags</a>;
|
62
|
-
enum <a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags">GMountUnmountFlags</a>;
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-unmount" title="g_mount_unmount ()">g_mount_unmount</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
65
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
67
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
68
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-unmount-finish" title="g_mount_unmount_finish ()">g_mount_unmount_finish</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
69
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
70
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-unmount-with-operation" title="g_mount_unmount_with_operation ()">g_mount_unmount_with_operation</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
72
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
73
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
75
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
76
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
77
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-unmount-with-operation-finish" title="g_mount_unmount_with_operation_finish ()">g_mount_unmount_with_operation_finish</a>
|
78
|
-
(<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
79
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
80
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-remount" title="g_mount_remount ()">g_mount_remount</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
82
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountMountFlags" title="enum GMountMountFlags"><span class="type">GMountMountFlags</span></a> flags</code></em>,
|
83
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
85
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
86
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
87
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-remount-finish" title="g_mount_remount_finish ()">g_mount_remount_finish</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
89
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
90
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-can-eject" title="g_mount_can_eject ()">g_mount_can_eject</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
91
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-eject" title="g_mount_eject ()">g_mount_eject</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
92
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
93
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
94
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
95
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
96
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-eject-finish" title="g_mount_eject_finish ()">g_mount_eject_finish</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
97
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
98
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-eject-with-operation" title="g_mount_eject_with_operation ()">g_mount_eject_with_operation</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
100
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
102
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
103
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
104
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
105
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-eject-with-operation-finish" title="g_mount_eject_with_operation_finish ()">g_mount_eject_with_operation_finish</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
106
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
107
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
108
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-guess-content-type" title="g_mount_guess_content_type ()">g_mount_guess_content_type</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
109
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_rescan</code></em>,
|
110
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
111
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
112
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
113
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="GMount.html#g-mount-guess-content-type-finish" title="g_mount_guess_content_type_finish ()">g_mount_guess_content_type_finish</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
114
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
115
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
116
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="GMount.html#g-mount-guess-content-type-sync" title="g_mount_guess_content_type_sync ()">g_mount_guess_content_type_sync</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
117
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_rescan</code></em>,
|
118
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
119
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
120
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMount.html#g-mount-is-shadowed" title="g_mount_is_shadowed ()">g_mount_is_shadowed</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
121
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-shadow" title="g_mount_shadow ()">g_mount_shadow</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
122
|
-
<span class="returnvalue">void</span> <a class="link" href="GMount.html#g-mount-unshadow" title="g_mount_unshadow ()">g_mount_unshadow</a> (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);
|
123
|
-
</pre>
|
124
|
-
</div>
|
125
|
-
<div class="refsect1">
|
126
|
-
<a name="GMount.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
127
|
-
<pre class="synopsis">
|
128
|
-
GInterface
|
129
|
-
+----GMount
|
130
|
-
</pre>
|
131
|
-
</div>
|
132
|
-
<div class="refsect1">
|
133
|
-
<a name="GMount.prerequisites"></a><h2>Prerequisites</h2>
|
134
|
-
<p>
|
135
|
-
GMount requires
|
136
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
|
137
|
-
</div>
|
138
|
-
<div class="refsect1">
|
139
|
-
<a name="GMount.signals"></a><h2>Signals</h2>
|
140
|
-
<pre class="synopsis">
|
141
|
-
"<a class="link" href="GMount.html#GMount-changed" title='The "changed" signal'>changed</a>" : Run Last
|
142
|
-
"<a class="link" href="GMount.html#GMount-pre-unmount" title='The "pre-unmount" signal'>pre-unmount</a>" : Run Last
|
143
|
-
"<a class="link" href="GMount.html#GMount-unmounted" title='The "unmounted" signal'>unmounted</a>" : Run Last
|
144
|
-
</pre>
|
145
|
-
</div>
|
146
|
-
<div class="refsect1">
|
147
|
-
<a name="GMount.description"></a><h2>Description</h2>
|
148
|
-
<p>
|
149
|
-
The <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> interface represents user-visible mounts. Note, when
|
150
|
-
porting from GnomeVFS, <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> is the moral equivalent of <span class="type">GnomeVFSVolume</span>.
|
151
|
-
</p>
|
152
|
-
<p>
|
153
|
-
<a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> is a "mounted" filesystem that you can access. Mounted is in
|
154
|
-
quotes because it's not the same as a unix mount, it might be a gvfs
|
155
|
-
mount, but you can still access the files on it if you use GIO. Might or
|
156
|
-
might not be related to a volume object.
|
157
|
-
</p>
|
158
|
-
<p>
|
159
|
-
Unmounting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> instance is an asynchronous operation. For
|
160
|
-
more information about asynchronous operations, see <span class="type">GAsyncReady</span>
|
161
|
-
and <span class="type">GSimpleAsyncReady</span>. To unmount a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> instance, first call
|
162
|
-
<a class="link" href="GMount.html#g-mount-unmount-with-operation" title="g_mount_unmount_with_operation ()"><code class="function">g_mount_unmount_with_operation()</code></a> with (at least) the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> instance and a
|
163
|
-
<a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. The callback will be fired when the
|
164
|
-
operation has resolved (either with success or failure), and a
|
165
|
-
<span class="type">GAsyncReady</span> structure will be passed to the callback. That
|
166
|
-
callback should then call <a class="link" href="GMount.html#g-mount-unmount-with-operation-finish" title="g_mount_unmount_with_operation_finish ()"><code class="function">g_mount_unmount_with_operation_finish()</code></a> with the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>
|
167
|
-
and the <span class="type">GAsyncReady</span> data to see if the operation was completed
|
168
|
-
successfully. If an <em class="parameter"><code>error</code></em> is present when <a class="link" href="GMount.html#g-mount-unmount-with-operation-finish" title="g_mount_unmount_with_operation_finish ()"><code class="function">g_mount_unmount_with_operation_finish()</code></a>
|
169
|
-
is called, then it will be filled with any error information.
|
170
|
-
</p>
|
171
|
-
</div>
|
172
|
-
<div class="refsect1">
|
173
|
-
<a name="GMount.details"></a><h2>Details</h2>
|
174
|
-
<div class="refsect2">
|
175
|
-
<a name="GMount-struct"></a><h3>GMount</h3>
|
176
|
-
<pre class="programlisting">typedef struct _GMount GMount;</pre>
|
177
|
-
<p>
|
178
|
-
A handle to an object implementing the <a class="link" href="GMount.html#GMountIface" title="GMountIface"><span class="type">GMountIface</span></a> interface.
|
179
|
-
</p>
|
180
|
-
</div>
|
181
|
-
<hr>
|
182
|
-
<div class="refsect2">
|
183
|
-
<a name="GMountIface"></a><h3>GMountIface</h3>
|
184
|
-
<pre class="programlisting">typedef struct {
|
185
|
-
GTypeInterface g_iface;
|
186
|
-
|
187
|
-
/* signals */
|
188
|
-
|
189
|
-
void (* changed) (GMount *mount);
|
190
|
-
void (* unmounted) (GMount *mount);
|
191
|
-
|
192
|
-
/* Virtual Table */
|
193
|
-
|
194
|
-
GFile * (* get_root) (GMount *mount);
|
195
|
-
char * (* get_name) (GMount *mount);
|
196
|
-
GIcon * (* get_icon) (GMount *mount);
|
197
|
-
char * (* get_uuid) (GMount *mount);
|
198
|
-
GVolume * (* get_volume) (GMount *mount);
|
199
|
-
GDrive * (* get_drive) (GMount *mount);
|
200
|
-
gboolean (* can_unmount) (GMount *mount);
|
201
|
-
gboolean (* can_eject) (GMount *mount);
|
202
|
-
|
203
|
-
void (* unmount) (GMount *mount,
|
204
|
-
GMountUnmountFlags flags,
|
205
|
-
GCancellable *cancellable,
|
206
|
-
GAsyncReadyCallback callback,
|
207
|
-
gpointer user_data);
|
208
|
-
gboolean (* unmount_finish) (GMount *mount,
|
209
|
-
GAsyncResult *result,
|
210
|
-
GError **error);
|
211
|
-
|
212
|
-
void (* eject) (GMount *mount,
|
213
|
-
GMountUnmountFlags flags,
|
214
|
-
GCancellable *cancellable,
|
215
|
-
GAsyncReadyCallback callback,
|
216
|
-
gpointer user_data);
|
217
|
-
gboolean (* eject_finish) (GMount *mount,
|
218
|
-
GAsyncResult *result,
|
219
|
-
GError **error);
|
220
|
-
|
221
|
-
void (* remount) (GMount *mount,
|
222
|
-
GMountMountFlags flags,
|
223
|
-
GMountOperation *mount_operation,
|
224
|
-
GCancellable *cancellable,
|
225
|
-
GAsyncReadyCallback callback,
|
226
|
-
gpointer user_data);
|
227
|
-
gboolean (* remount_finish) (GMount *mount,
|
228
|
-
GAsyncResult *result,
|
229
|
-
GError **error);
|
230
|
-
|
231
|
-
void (* guess_content_type) (GMount *mount,
|
232
|
-
gboolean force_rescan,
|
233
|
-
GCancellable *cancellable,
|
234
|
-
GAsyncReadyCallback callback,
|
235
|
-
gpointer user_data);
|
236
|
-
gchar ** (* guess_content_type_finish) (GMount *mount,
|
237
|
-
GAsyncResult *result,
|
238
|
-
GError **error);
|
239
|
-
gchar ** (* guess_content_type_sync) (GMount *mount,
|
240
|
-
gboolean force_rescan,
|
241
|
-
GCancellable *cancellable,
|
242
|
-
GError **error);
|
243
|
-
|
244
|
-
/* Signal, not VFunc */
|
245
|
-
void (* pre_unmount) (GMount *mount);
|
246
|
-
|
247
|
-
void (* unmount_with_operation) (GMount *mount,
|
248
|
-
GMountUnmountFlags flags,
|
249
|
-
GMountOperation *mount_operation,
|
250
|
-
GCancellable *cancellable,
|
251
|
-
GAsyncReadyCallback callback,
|
252
|
-
gpointer user_data);
|
253
|
-
gboolean (* unmount_with_operation_finish) (GMount *mount,
|
254
|
-
GAsyncResult *result,
|
255
|
-
GError **error);
|
256
|
-
|
257
|
-
void (* eject_with_operation) (GMount *mount,
|
258
|
-
GMountUnmountFlags flags,
|
259
|
-
GMountOperation *mount_operation,
|
260
|
-
GCancellable *cancellable,
|
261
|
-
GAsyncReadyCallback callback,
|
262
|
-
gpointer user_data);
|
263
|
-
gboolean (* eject_with_operation_finish) (GMount *mount,
|
264
|
-
GAsyncResult *result,
|
265
|
-
GError **error);
|
266
|
-
GFile * (* get_default_location) (GMount *mount);
|
267
|
-
} GMountIface;
|
268
|
-
</pre>
|
269
|
-
<p>
|
270
|
-
Interface for implementing operations for mounts.
|
271
|
-
</p>
|
272
|
-
<div class="variablelist"><table border="0">
|
273
|
-
<col align="left" valign="top">
|
274
|
-
<tbody>
|
275
|
-
<tr>
|
276
|
-
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GMountIface.g-iface"></a>g_iface</code></em>;</span></p></td>
|
277
|
-
<td>The parent interface.
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
<tr>
|
281
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.changed"></a>changed</code></em> ()</span></p></td>
|
282
|
-
<td>Changed signal that is emitted when the mount's state has changed.
|
283
|
-
</td>
|
284
|
-
</tr>
|
285
|
-
<tr>
|
286
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.unmounted"></a>unmounted</code></em> ()</span></p></td>
|
287
|
-
<td>The unmounted signal that is emitted when the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> have been unmounted. If the recipient is holding references to the object they should release them so the object can be finalized.
|
288
|
-
</td>
|
289
|
-
</tr>
|
290
|
-
<tr>
|
291
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-root"></a>get_root</code></em> ()</span></p></td>
|
292
|
-
<td>Gets a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> to the root directory of the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
293
|
-
</td>
|
294
|
-
</tr>
|
295
|
-
<tr>
|
296
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-name"></a>get_name</code></em> ()</span></p></td>
|
297
|
-
<td>Gets a string containing the name of the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
298
|
-
</td>
|
299
|
-
</tr>
|
300
|
-
<tr>
|
301
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-icon"></a>get_icon</code></em> ()</span></p></td>
|
302
|
-
<td>Gets a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
303
|
-
</td>
|
304
|
-
</tr>
|
305
|
-
<tr>
|
306
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-uuid"></a>get_uuid</code></em> ()</span></p></td>
|
307
|
-
<td>Gets the UUID for the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no UUID available.
|
308
|
-
</td>
|
309
|
-
</tr>
|
310
|
-
<tr>
|
311
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-volume"></a>get_volume</code></em> ()</span></p></td>
|
312
|
-
<td>Gets a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> the mount is located on. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> is not associated with a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a>.
|
313
|
-
</td>
|
314
|
-
</tr>
|
315
|
-
<tr>
|
316
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-drive"></a>get_drive</code></em> ()</span></p></td>
|
317
|
-
<td>Gets a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> the volume of the mount is located on. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> is not associated with a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> or a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a>. This is convenience method for getting the <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> and using that to get the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
|
318
|
-
</td>
|
319
|
-
</tr>
|
320
|
-
<tr>
|
321
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.can-unmount"></a>can_unmount</code></em> ()</span></p></td>
|
322
|
-
<td>Checks if a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> can be unmounted.
|
323
|
-
</td>
|
324
|
-
</tr>
|
325
|
-
<tr>
|
326
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.can-eject"></a>can_eject</code></em> ()</span></p></td>
|
327
|
-
<td>Checks if a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> can be ejected.
|
328
|
-
</td>
|
329
|
-
</tr>
|
330
|
-
<tr>
|
331
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.unmount"></a>unmount</code></em> ()</span></p></td>
|
332
|
-
<td>Starts unmounting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
333
|
-
</td>
|
334
|
-
</tr>
|
335
|
-
<tr>
|
336
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.unmount-finish"></a>unmount_finish</code></em> ()</span></p></td>
|
337
|
-
<td>Finishes an unmounting operation.
|
338
|
-
</td>
|
339
|
-
</tr>
|
340
|
-
<tr>
|
341
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.eject"></a>eject</code></em> ()</span></p></td>
|
342
|
-
<td>Starts ejecting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
343
|
-
</td>
|
344
|
-
</tr>
|
345
|
-
<tr>
|
346
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.eject-finish"></a>eject_finish</code></em> ()</span></p></td>
|
347
|
-
<td>Finishes an eject operation.
|
348
|
-
</td>
|
349
|
-
</tr>
|
350
|
-
<tr>
|
351
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.remount"></a>remount</code></em> ()</span></p></td>
|
352
|
-
<td>Starts remounting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
353
|
-
</td>
|
354
|
-
</tr>
|
355
|
-
<tr>
|
356
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.remount-finish"></a>remount_finish</code></em> ()</span></p></td>
|
357
|
-
<td>Finishes a remounting operation.
|
358
|
-
</td>
|
359
|
-
</tr>
|
360
|
-
<tr>
|
361
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.guess-content-type"></a>guess_content_type</code></em> ()</span></p></td>
|
362
|
-
<td>Starts guessing the type of the content of a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
363
|
-
See <a class="link" href="GMount.html#g-mount-guess-content-type" title="g_mount_guess_content_type ()"><code class="function">g_mount_guess_content_type()</code></a> for more information on content
|
364
|
-
type guessing. This operation was added in 2.18.
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
<tr>
|
368
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.guess-content-type-finish"></a>guess_content_type_finish</code></em> ()</span></p></td>
|
369
|
-
<td>Finishes a contenet type guessing operation. Added in 2.18.
|
370
|
-
</td>
|
371
|
-
</tr>
|
372
|
-
<tr>
|
373
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.guess-content-type-sync"></a>guess_content_type_sync</code></em> ()</span></p></td>
|
374
|
-
<td>Synchronous variant of <em class="parameter"><code>guess_content_type</code></em>. Added in 2.18
|
375
|
-
</td>
|
376
|
-
</tr>
|
377
|
-
<tr>
|
378
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.pre-unmount"></a>pre_unmount</code></em> ()</span></p></td>
|
379
|
-
<td>The pre_unmout signal that is emitted when the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> will soon be emitted. If the recipient is somehow holding the mount open by keeping an open file on it it should close the file.
|
380
|
-
</td>
|
381
|
-
</tr>
|
382
|
-
<tr>
|
383
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.unmount-with-operation"></a>unmount_with_operation</code></em> ()</span></p></td>
|
384
|
-
<td>Starts unmounting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
|
385
|
-
</td>
|
386
|
-
</tr>
|
387
|
-
<tr>
|
388
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.unmount-with-operation-finish"></a>unmount_with_operation_finish</code></em> ()</span></p></td>
|
389
|
-
<td>Finishes an unmounting operation using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
|
390
|
-
</td>
|
391
|
-
</tr>
|
392
|
-
<tr>
|
393
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.eject-with-operation"></a>eject_with_operation</code></em> ()</span></p></td>
|
394
|
-
<td>Starts ejecting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
|
395
|
-
</td>
|
396
|
-
</tr>
|
397
|
-
<tr>
|
398
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.eject-with-operation-finish"></a>eject_with_operation_finish</code></em> ()</span></p></td>
|
399
|
-
<td>Finishes an eject operation using a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>. Since 2.22.
|
400
|
-
</td>
|
401
|
-
</tr>
|
402
|
-
<tr>
|
403
|
-
<td><p><span class="term"><em class="structfield"><code><a name="GMountIface.get-default-location"></a>get_default_location</code></em> ()</span></p></td>
|
404
|
-
<td>Gets a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> indication a start location that can be use as the entry point for this mount. Since 2.24.
|
405
|
-
</td>
|
406
|
-
</tr>
|
407
|
-
</tbody>
|
408
|
-
</table></div>
|
409
|
-
</div>
|
410
|
-
<hr>
|
411
|
-
<div class="refsect2">
|
412
|
-
<a name="g-mount-get-name"></a><h3>g_mount_get_name ()</h3>
|
413
|
-
<pre class="programlisting"><span class="returnvalue">char</span> * g_mount_get_name (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
414
|
-
<p>
|
415
|
-
Gets the name of <em class="parameter"><code>mount</code></em>.
|
416
|
-
</p>
|
417
|
-
<div class="variablelist"><table border="0">
|
418
|
-
<col align="left" valign="top">
|
419
|
-
<tbody>
|
420
|
-
<tr>
|
421
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
422
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
423
|
-
</td>
|
424
|
-
</tr>
|
425
|
-
<tr>
|
426
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
427
|
-
<td> the name for the given <em class="parameter"><code>mount</code></em>.
|
428
|
-
The returned string should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
|
429
|
-
when no longer needed.
|
430
|
-
</td>
|
431
|
-
</tr>
|
432
|
-
</tbody>
|
433
|
-
</table></div>
|
434
|
-
</div>
|
435
|
-
<hr>
|
436
|
-
<div class="refsect2">
|
437
|
-
<a name="g-mount-get-uuid"></a><h3>g_mount_get_uuid ()</h3>
|
438
|
-
<pre class="programlisting"><span class="returnvalue">char</span> * g_mount_get_uuid (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
439
|
-
<p>
|
440
|
-
Gets the UUID for the <em class="parameter"><code>mount</code></em>. The reference is typically based on
|
441
|
-
the file system UUID for the mount in question and should be
|
442
|
-
considered an opaque string. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no UUID
|
443
|
-
available.
|
444
|
-
</p>
|
445
|
-
<div class="variablelist"><table border="0">
|
446
|
-
<col align="left" valign="top">
|
447
|
-
<tbody>
|
448
|
-
<tr>
|
449
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
450
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
451
|
-
</td>
|
452
|
-
</tr>
|
453
|
-
<tr>
|
454
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
455
|
-
<td> the UUID for <em class="parameter"><code>mount</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no UUID can be computed.
|
456
|
-
The returned string should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
|
457
|
-
when no longer needed.
|
458
|
-
</td>
|
459
|
-
</tr>
|
460
|
-
</tbody>
|
461
|
-
</table></div>
|
462
|
-
</div>
|
463
|
-
<hr>
|
464
|
-
<div class="refsect2">
|
465
|
-
<a name="g-mount-get-icon"></a><h3>g_mount_get_icon ()</h3>
|
466
|
-
<pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * g_mount_get_icon (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
467
|
-
<p>
|
468
|
-
Gets the icon for <em class="parameter"><code>mount</code></em>.
|
469
|
-
</p>
|
470
|
-
<div class="variablelist"><table border="0">
|
471
|
-
<col align="left" valign="top">
|
472
|
-
<tbody>
|
473
|
-
<tr>
|
474
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
475
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
476
|
-
</td>
|
477
|
-
</tr>
|
478
|
-
<tr>
|
479
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
480
|
-
<td> a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.
|
481
|
-
The returned object should be unreffed with
|
482
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
|
483
|
-
</td>
|
484
|
-
</tr>
|
485
|
-
</tbody>
|
486
|
-
</table></div>
|
487
|
-
</div>
|
488
|
-
<hr>
|
489
|
-
<div class="refsect2">
|
490
|
-
<a name="g-mount-get-drive"></a><h3>g_mount_get_drive ()</h3>
|
491
|
-
<pre class="programlisting"><a class="link" href="GDrive.html" title="GDrive"><span class="returnvalue">GDrive</span></a> * g_mount_get_drive (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
492
|
-
<p>
|
493
|
-
Gets the drive for the <em class="parameter"><code>mount</code></em>.
|
494
|
-
</p>
|
495
|
-
<p>
|
496
|
-
This is a convenience method for getting the <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> and then
|
497
|
-
using that object to get the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
|
498
|
-
</p>
|
499
|
-
<div class="variablelist"><table border="0">
|
500
|
-
<col align="left" valign="top">
|
501
|
-
<tbody>
|
502
|
-
<tr>
|
503
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
504
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
505
|
-
</td>
|
506
|
-
</tr>
|
507
|
-
<tr>
|
508
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
509
|
-
<td> a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>mount</code></em> is not associated with a volume or a drive.
|
510
|
-
The returned object should be unreffed with
|
511
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
|
512
|
-
</td>
|
513
|
-
</tr>
|
514
|
-
</tbody>
|
515
|
-
</table></div>
|
516
|
-
</div>
|
517
|
-
<hr>
|
518
|
-
<div class="refsect2">
|
519
|
-
<a name="g-mount-get-root"></a><h3>g_mount_get_root ()</h3>
|
520
|
-
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * g_mount_get_root (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
521
|
-
<p>
|
522
|
-
Gets the root directory on <em class="parameter"><code>mount</code></em>.
|
523
|
-
</p>
|
524
|
-
<div class="variablelist"><table border="0">
|
525
|
-
<col align="left" valign="top">
|
526
|
-
<tbody>
|
527
|
-
<tr>
|
528
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
529
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
530
|
-
</td>
|
531
|
-
</tr>
|
532
|
-
<tr>
|
533
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
534
|
-
<td> a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
|
535
|
-
The returned object should be unreffed with
|
536
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
|
537
|
-
</td>
|
538
|
-
</tr>
|
539
|
-
</tbody>
|
540
|
-
</table></div>
|
541
|
-
</div>
|
542
|
-
<hr>
|
543
|
-
<div class="refsect2">
|
544
|
-
<a name="g-mount-get-volume"></a><h3>g_mount_get_volume ()</h3>
|
545
|
-
<pre class="programlisting"><a class="link" href="GVolume.html" title="GVolume"><span class="returnvalue">GVolume</span></a> * g_mount_get_volume (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
546
|
-
<p>
|
547
|
-
Gets the volume for the <em class="parameter"><code>mount</code></em>.
|
548
|
-
</p>
|
549
|
-
<div class="variablelist"><table border="0">
|
550
|
-
<col align="left" valign="top">
|
551
|
-
<tbody>
|
552
|
-
<tr>
|
553
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
554
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
555
|
-
</td>
|
556
|
-
</tr>
|
557
|
-
<tr>
|
558
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td> a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>mount</code></em> is not associated with a volume.
|
560
|
-
The returned object should be unreffed with
|
561
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
|
562
|
-
</td>
|
563
|
-
</tr>
|
564
|
-
</tbody>
|
565
|
-
</table></div>
|
566
|
-
</div>
|
567
|
-
<hr>
|
568
|
-
<div class="refsect2">
|
569
|
-
<a name="g-mount-get-default-location"></a><h3>g_mount_get_default_location ()</h3>
|
570
|
-
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> * g_mount_get_default_location (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
571
|
-
<p>
|
572
|
-
Gets the default location of <em class="parameter"><code>mount</code></em>. The default location of the given
|
573
|
-
<em class="parameter"><code>mount</code></em> is a path that reflects the main entry point for the user (e.g.
|
574
|
-
the home directory, or the root of the volume).
|
575
|
-
</p>
|
576
|
-
<div class="variablelist"><table border="0">
|
577
|
-
<col align="left" valign="top">
|
578
|
-
<tbody>
|
579
|
-
<tr>
|
580
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
581
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
582
|
-
</td>
|
583
|
-
</tr>
|
584
|
-
<tr>
|
585
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
586
|
-
<td> a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
|
587
|
-
The returned object should be unreffed with
|
588
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
|
589
|
-
</td>
|
590
|
-
</tr>
|
591
|
-
</tbody>
|
592
|
-
</table></div>
|
593
|
-
</div>
|
594
|
-
<hr>
|
595
|
-
<div class="refsect2">
|
596
|
-
<a name="g-mount-can-unmount"></a><h3>g_mount_can_unmount ()</h3>
|
597
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_can_unmount (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
598
|
-
<p>
|
599
|
-
Checks if <em class="parameter"><code>mount</code></em> can be mounted.
|
600
|
-
</p>
|
601
|
-
<div class="variablelist"><table border="0">
|
602
|
-
<col align="left" valign="top">
|
603
|
-
<tbody>
|
604
|
-
<tr>
|
605
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
606
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
607
|
-
</td>
|
608
|
-
</tr>
|
609
|
-
<tr>
|
610
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
611
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>mount</code></em> can be unmounted.
|
612
|
-
</td>
|
613
|
-
</tr>
|
614
|
-
</tbody>
|
615
|
-
</table></div>
|
616
|
-
</div>
|
617
|
-
<hr>
|
618
|
-
<div class="refsect2">
|
619
|
-
<a name="GMountMountFlags"></a><h3>enum GMountMountFlags</h3>
|
620
|
-
<pre class="programlisting">typedef enum {
|
621
|
-
G_MOUNT_MOUNT_NONE = 0
|
622
|
-
} GMountMountFlags;
|
623
|
-
</pre>
|
624
|
-
<p>
|
625
|
-
Flags used when mounting a mount.
|
626
|
-
</p>
|
627
|
-
<div class="variablelist"><table border="0">
|
628
|
-
<col align="left" valign="top">
|
629
|
-
<tbody><tr>
|
630
|
-
<td><p><a name="G-MOUNT-MOUNT-NONE:CAPS"></a><span class="term"><code class="literal">G_MOUNT_MOUNT_NONE</code></span></p></td>
|
631
|
-
<td>No flags set.
|
632
|
-
</td>
|
633
|
-
</tr></tbody>
|
634
|
-
</table></div>
|
635
|
-
</div>
|
636
|
-
<hr>
|
637
|
-
<div class="refsect2">
|
638
|
-
<a name="GMountUnmountFlags"></a><h3>enum GMountUnmountFlags</h3>
|
639
|
-
<pre class="programlisting">typedef enum {
|
640
|
-
G_MOUNT_UNMOUNT_NONE = 0,
|
641
|
-
G_MOUNT_UNMOUNT_FORCE = (1 << 0)
|
642
|
-
} GMountUnmountFlags;
|
643
|
-
</pre>
|
644
|
-
<p>
|
645
|
-
Flags used when an unmounting a mount.
|
646
|
-
</p>
|
647
|
-
<div class="variablelist"><table border="0">
|
648
|
-
<col align="left" valign="top">
|
649
|
-
<tbody>
|
650
|
-
<tr>
|
651
|
-
<td><p><a name="G-MOUNT-UNMOUNT-NONE:CAPS"></a><span class="term"><code class="literal">G_MOUNT_UNMOUNT_NONE</code></span></p></td>
|
652
|
-
<td>No flags set.
|
653
|
-
</td>
|
654
|
-
</tr>
|
655
|
-
<tr>
|
656
|
-
<td><p><a name="G-MOUNT-UNMOUNT-FORCE:CAPS"></a><span class="term"><code class="literal">G_MOUNT_UNMOUNT_FORCE</code></span></p></td>
|
657
|
-
<td>Unmount even if there are outstanding
|
658
|
-
file operations on the mount.
|
659
|
-
</td>
|
660
|
-
</tr>
|
661
|
-
</tbody>
|
662
|
-
</table></div>
|
663
|
-
</div>
|
664
|
-
<hr>
|
665
|
-
<div class="refsect2">
|
666
|
-
<a name="g-mount-unmount"></a><h3>g_mount_unmount ()</h3>
|
667
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_unmount (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
668
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
669
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
670
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
671
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
672
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
673
|
-
<h3 class="title">Warning</h3>
|
674
|
-
<p><code class="literal">g_mount_unmount</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GMount.html#g-mount-unmount-with-operation" title="g_mount_unmount_with_operation ()"><code class="function">g_mount_unmount_with_operation()</code></a> instead.</p>
|
675
|
-
</div>
|
676
|
-
<p>
|
677
|
-
Unmounts a mount. This is an asynchronous operation, and is
|
678
|
-
finished by calling <a class="link" href="GMount.html#g-mount-unmount-finish" title="g_mount_unmount_finish ()"><code class="function">g_mount_unmount_finish()</code></a> with the <em class="parameter"><code>mount</code></em>
|
679
|
-
and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
680
|
-
</p>
|
681
|
-
<div class="variablelist"><table border="0">
|
682
|
-
<col align="left" valign="top">
|
683
|
-
<tbody>
|
684
|
-
<tr>
|
685
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
686
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
687
|
-
</td>
|
688
|
-
</tr>
|
689
|
-
<tr>
|
690
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
691
|
-
<td>flags affecting the operation
|
692
|
-
</td>
|
693
|
-
</tr>
|
694
|
-
<tr>
|
695
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
696
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
697
|
-
</td>
|
698
|
-
</tr>
|
699
|
-
<tr>
|
700
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
701
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
702
|
-
</td>
|
703
|
-
</tr>
|
704
|
-
<tr>
|
705
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
706
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>.
|
707
|
-
</td>
|
708
|
-
</tr>
|
709
|
-
</tbody>
|
710
|
-
</table></div>
|
711
|
-
</div>
|
712
|
-
<hr>
|
713
|
-
<div class="refsect2">
|
714
|
-
<a name="g-mount-unmount-finish"></a><h3>g_mount_unmount_finish ()</h3>
|
715
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_unmount_finish (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
716
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
717
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
718
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
719
|
-
<h3 class="title">Warning</h3>
|
720
|
-
<p><code class="literal">g_mount_unmount_finish</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GMount.html#g-mount-unmount-with-operation-finish" title="g_mount_unmount_with_operation_finish ()"><code class="function">g_mount_unmount_with_operation_finish()</code></a> instead.</p>
|
721
|
-
</div>
|
722
|
-
<p>
|
723
|
-
Finishes unmounting a mount. If any errors occurred during the operation,
|
724
|
-
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
725
|
-
</p>
|
726
|
-
<div class="variablelist"><table border="0">
|
727
|
-
<col align="left" valign="top">
|
728
|
-
<tbody>
|
729
|
-
<tr>
|
730
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
731
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
732
|
-
</td>
|
733
|
-
</tr>
|
734
|
-
<tr>
|
735
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
736
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
|
737
|
-
</td>
|
738
|
-
</tr>
|
739
|
-
<tr>
|
740
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
741
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
742
|
-
ignore.
|
743
|
-
</td>
|
744
|
-
</tr>
|
745
|
-
<tr>
|
746
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
747
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mount was successfully unmounted. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
748
|
-
|
749
|
-
</td>
|
750
|
-
</tr>
|
751
|
-
</tbody>
|
752
|
-
</table></div>
|
753
|
-
</div>
|
754
|
-
<hr>
|
755
|
-
<div class="refsect2">
|
756
|
-
<a name="g-mount-unmount-with-operation"></a><h3>g_mount_unmount_with_operation ()</h3>
|
757
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_unmount_with_operation (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
758
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
759
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
760
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
761
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
762
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
763
|
-
<p>
|
764
|
-
Unmounts a mount. This is an asynchronous operation, and is
|
765
|
-
finished by calling <a class="link" href="GMount.html#g-mount-unmount-with-operation-finish" title="g_mount_unmount_with_operation_finish ()"><code class="function">g_mount_unmount_with_operation_finish()</code></a> with the <em class="parameter"><code>mount</code></em>
|
766
|
-
and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
767
|
-
</p>
|
768
|
-
<div class="variablelist"><table border="0">
|
769
|
-
<col align="left" valign="top">
|
770
|
-
<tbody>
|
771
|
-
<tr>
|
772
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
773
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
774
|
-
</td>
|
775
|
-
</tr>
|
776
|
-
<tr>
|
777
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
778
|
-
<td>flags affecting the operation
|
779
|
-
</td>
|
780
|
-
</tr>
|
781
|
-
<tr>
|
782
|
-
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
|
783
|
-
<td>a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
|
784
|
-
</td>
|
785
|
-
</tr>
|
786
|
-
<tr>
|
787
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
788
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
789
|
-
</td>
|
790
|
-
</tr>
|
791
|
-
<tr>
|
792
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
793
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
794
|
-
</td>
|
795
|
-
</tr>
|
796
|
-
<tr>
|
797
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
798
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>.
|
799
|
-
</td>
|
800
|
-
</tr>
|
801
|
-
</tbody>
|
802
|
-
</table></div>
|
803
|
-
<p class="since">Since 2.22</p>
|
804
|
-
</div>
|
805
|
-
<hr>
|
806
|
-
<div class="refsect2">
|
807
|
-
<a name="g-mount-unmount-with-operation-finish"></a><h3>g_mount_unmount_with_operation_finish ()</h3>
|
808
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_unmount_with_operation_finish
|
809
|
-
(<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
810
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
811
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
812
|
-
<p>
|
813
|
-
Finishes unmounting a mount. If any errors occurred during the operation,
|
814
|
-
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
815
|
-
</p>
|
816
|
-
<div class="variablelist"><table border="0">
|
817
|
-
<col align="left" valign="top">
|
818
|
-
<tbody>
|
819
|
-
<tr>
|
820
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
821
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
822
|
-
</td>
|
823
|
-
</tr>
|
824
|
-
<tr>
|
825
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
826
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
|
827
|
-
</td>
|
828
|
-
</tr>
|
829
|
-
<tr>
|
830
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
831
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
832
|
-
ignore.
|
833
|
-
</td>
|
834
|
-
</tr>
|
835
|
-
<tr>
|
836
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
837
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mount was successfully unmounted. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
838
|
-
|
839
|
-
</td>
|
840
|
-
</tr>
|
841
|
-
</tbody>
|
842
|
-
</table></div>
|
843
|
-
<p class="since">Since 2.22</p>
|
844
|
-
</div>
|
845
|
-
<hr>
|
846
|
-
<div class="refsect2">
|
847
|
-
<a name="g-mount-remount"></a><h3>g_mount_remount ()</h3>
|
848
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_remount (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
849
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountMountFlags" title="enum GMountMountFlags"><span class="type">GMountMountFlags</span></a> flags</code></em>,
|
850
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
851
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
852
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
853
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
854
|
-
<p>
|
855
|
-
Remounts a mount. This is an asynchronous operation, and is
|
856
|
-
finished by calling <a class="link" href="GMount.html#g-mount-remount-finish" title="g_mount_remount_finish ()"><code class="function">g_mount_remount_finish()</code></a> with the <em class="parameter"><code>mount</code></em>
|
857
|
-
and <a href="GAsyncResult.html"><span class="type">GAsyncResults</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
858
|
-
</p>
|
859
|
-
<p>
|
860
|
-
Remounting is useful when some setting affecting the operation
|
861
|
-
of the volume has been changed, as these may need a remount to
|
862
|
-
take affect. While this is semantically equivalent with unmounting
|
863
|
-
and then remounting not all backends might need to actually be
|
864
|
-
unmounted.
|
865
|
-
</p>
|
866
|
-
<div class="variablelist"><table border="0">
|
867
|
-
<col align="left" valign="top">
|
868
|
-
<tbody>
|
869
|
-
<tr>
|
870
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
871
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
872
|
-
</td>
|
873
|
-
</tr>
|
874
|
-
<tr>
|
875
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
876
|
-
<td>flags affecting the operation
|
877
|
-
</td>
|
878
|
-
</tr>
|
879
|
-
<tr>
|
880
|
-
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
|
881
|
-
<td>a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
|
882
|
-
</td>
|
883
|
-
</tr>
|
884
|
-
<tr>
|
885
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
886
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
887
|
-
</td>
|
888
|
-
</tr>
|
889
|
-
<tr>
|
890
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
891
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
892
|
-
</td>
|
893
|
-
</tr>
|
894
|
-
<tr>
|
895
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
896
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>.
|
897
|
-
</td>
|
898
|
-
</tr>
|
899
|
-
</tbody>
|
900
|
-
</table></div>
|
901
|
-
</div>
|
902
|
-
<hr>
|
903
|
-
<div class="refsect2">
|
904
|
-
<a name="g-mount-remount-finish"></a><h3>g_mount_remount_finish ()</h3>
|
905
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_remount_finish (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
906
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
907
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
908
|
-
<p>
|
909
|
-
Finishes remounting a mount. If any errors occurred during the operation,
|
910
|
-
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
911
|
-
</p>
|
912
|
-
<div class="variablelist"><table border="0">
|
913
|
-
<col align="left" valign="top">
|
914
|
-
<tbody>
|
915
|
-
<tr>
|
916
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
917
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
918
|
-
</td>
|
919
|
-
</tr>
|
920
|
-
<tr>
|
921
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
922
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
|
923
|
-
</td>
|
924
|
-
</tr>
|
925
|
-
<tr>
|
926
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
927
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
928
|
-
ignore.
|
929
|
-
</td>
|
930
|
-
</tr>
|
931
|
-
<tr>
|
932
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
933
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mount was successfully remounted. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
934
|
-
</td>
|
935
|
-
</tr>
|
936
|
-
</tbody>
|
937
|
-
</table></div>
|
938
|
-
</div>
|
939
|
-
<hr>
|
940
|
-
<div class="refsect2">
|
941
|
-
<a name="g-mount-can-eject"></a><h3>g_mount_can_eject ()</h3>
|
942
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_can_eject (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
943
|
-
<p>
|
944
|
-
Checks if <em class="parameter"><code>mount</code></em> can be eject.
|
945
|
-
</p>
|
946
|
-
<div class="variablelist"><table border="0">
|
947
|
-
<col align="left" valign="top">
|
948
|
-
<tbody>
|
949
|
-
<tr>
|
950
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
951
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
952
|
-
</td>
|
953
|
-
</tr>
|
954
|
-
<tr>
|
955
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
956
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>mount</code></em> can be ejected.
|
957
|
-
</td>
|
958
|
-
</tr>
|
959
|
-
</tbody>
|
960
|
-
</table></div>
|
961
|
-
</div>
|
962
|
-
<hr>
|
963
|
-
<div class="refsect2">
|
964
|
-
<a name="g-mount-eject"></a><h3>g_mount_eject ()</h3>
|
965
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_eject (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
966
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
967
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
968
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
969
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
970
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
971
|
-
<h3 class="title">Warning</h3>
|
972
|
-
<p><code class="literal">g_mount_eject</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GMount.html#g-mount-eject-with-operation" title="g_mount_eject_with_operation ()"><code class="function">g_mount_eject_with_operation()</code></a> instead.</p>
|
973
|
-
</div>
|
974
|
-
<p>
|
975
|
-
Ejects a mount. This is an asynchronous operation, and is
|
976
|
-
finished by calling <a class="link" href="GMount.html#g-mount-eject-finish" title="g_mount_eject_finish ()"><code class="function">g_mount_eject_finish()</code></a> with the <em class="parameter"><code>mount</code></em>
|
977
|
-
and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
978
|
-
</p>
|
979
|
-
<div class="variablelist"><table border="0">
|
980
|
-
<col align="left" valign="top">
|
981
|
-
<tbody>
|
982
|
-
<tr>
|
983
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
984
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
985
|
-
</td>
|
986
|
-
</tr>
|
987
|
-
<tr>
|
988
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
989
|
-
<td>flags affecting the unmount if required for eject
|
990
|
-
</td>
|
991
|
-
</tr>
|
992
|
-
<tr>
|
993
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
994
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
995
|
-
</td>
|
996
|
-
</tr>
|
997
|
-
<tr>
|
998
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
999
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1000
|
-
</td>
|
1001
|
-
</tr>
|
1002
|
-
<tr>
|
1003
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1004
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>.
|
1005
|
-
</td>
|
1006
|
-
</tr>
|
1007
|
-
</tbody>
|
1008
|
-
</table></div>
|
1009
|
-
</div>
|
1010
|
-
<hr>
|
1011
|
-
<div class="refsect2">
|
1012
|
-
<a name="g-mount-eject-finish"></a><h3>g_mount_eject_finish ()</h3>
|
1013
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_eject_finish (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1014
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1015
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1016
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1017
|
-
<h3 class="title">Warning</h3>
|
1018
|
-
<p><code class="literal">g_mount_eject_finish</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GMount.html#g-mount-eject-with-operation-finish" title="g_mount_eject_with_operation_finish ()"><code class="function">g_mount_eject_with_operation_finish()</code></a> instead.</p>
|
1019
|
-
</div>
|
1020
|
-
<p>
|
1021
|
-
Finishes ejecting a mount. If any errors occurred during the operation,
|
1022
|
-
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
1023
|
-
</p>
|
1024
|
-
<div class="variablelist"><table border="0">
|
1025
|
-
<col align="left" valign="top">
|
1026
|
-
<tbody>
|
1027
|
-
<tr>
|
1028
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1029
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1030
|
-
</td>
|
1031
|
-
</tr>
|
1032
|
-
<tr>
|
1033
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
1034
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
|
1035
|
-
</td>
|
1036
|
-
</tr>
|
1037
|
-
<tr>
|
1038
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1039
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1040
|
-
ignore.
|
1041
|
-
</td>
|
1042
|
-
</tr>
|
1043
|
-
<tr>
|
1044
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1045
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mount was successfully ejected. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
1046
|
-
|
1047
|
-
</td>
|
1048
|
-
</tr>
|
1049
|
-
</tbody>
|
1050
|
-
</table></div>
|
1051
|
-
</div>
|
1052
|
-
<hr>
|
1053
|
-
<div class="refsect2">
|
1054
|
-
<a name="g-mount-eject-with-operation"></a><h3>g_mount_eject_with_operation ()</h3>
|
1055
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_eject_with_operation (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1056
|
-
<em class="parameter"><code><a class="link" href="GMount.html#GMountUnmountFlags" title="enum GMountUnmountFlags"><span class="type">GMountUnmountFlags</span></a> flags</code></em>,
|
1057
|
-
<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *mount_operation</code></em>,
|
1058
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1059
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1060
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1061
|
-
<p>
|
1062
|
-
Ejects a mount. This is an asynchronous operation, and is
|
1063
|
-
finished by calling <a class="link" href="GMount.html#g-mount-eject-with-operation-finish" title="g_mount_eject_with_operation_finish ()"><code class="function">g_mount_eject_with_operation_finish()</code></a> with the <em class="parameter"><code>mount</code></em>
|
1064
|
-
and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
1065
|
-
</p>
|
1066
|
-
<div class="variablelist"><table border="0">
|
1067
|
-
<col align="left" valign="top">
|
1068
|
-
<tbody>
|
1069
|
-
<tr>
|
1070
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1071
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1072
|
-
</td>
|
1073
|
-
</tr>
|
1074
|
-
<tr>
|
1075
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1076
|
-
<td>flags affecting the unmount if required for eject
|
1077
|
-
</td>
|
1078
|
-
</tr>
|
1079
|
-
<tr>
|
1080
|
-
<td><p><span class="term"><em class="parameter"><code>mount_operation</code></em> :</span></p></td>
|
1081
|
-
<td>a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to avoid user interaction.
|
1082
|
-
</td>
|
1083
|
-
</tr>
|
1084
|
-
<tr>
|
1085
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1086
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
1087
|
-
</td>
|
1088
|
-
</tr>
|
1089
|
-
<tr>
|
1090
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
1091
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1092
|
-
</td>
|
1093
|
-
</tr>
|
1094
|
-
<tr>
|
1095
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1096
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>.
|
1097
|
-
</td>
|
1098
|
-
</tr>
|
1099
|
-
</tbody>
|
1100
|
-
</table></div>
|
1101
|
-
<p class="since">Since 2.22</p>
|
1102
|
-
</div>
|
1103
|
-
<hr>
|
1104
|
-
<div class="refsect2">
|
1105
|
-
<a name="g-mount-eject-with-operation-finish"></a><h3>g_mount_eject_with_operation_finish ()</h3>
|
1106
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_eject_with_operation_finish (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1107
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1108
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1109
|
-
<p>
|
1110
|
-
Finishes ejecting a mount. If any errors occurred during the operation,
|
1111
|
-
<em class="parameter"><code>error</code></em> will be set to contain the errors and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
1112
|
-
</p>
|
1113
|
-
<div class="variablelist"><table border="0">
|
1114
|
-
<col align="left" valign="top">
|
1115
|
-
<tbody>
|
1116
|
-
<tr>
|
1117
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1118
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1119
|
-
</td>
|
1120
|
-
</tr>
|
1121
|
-
<tr>
|
1122
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
1123
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
|
1124
|
-
</td>
|
1125
|
-
</tr>
|
1126
|
-
<tr>
|
1127
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1128
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1129
|
-
ignore.
|
1130
|
-
</td>
|
1131
|
-
</tr>
|
1132
|
-
<tr>
|
1133
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1134
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mount was successfully ejected. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
1135
|
-
|
1136
|
-
</td>
|
1137
|
-
</tr>
|
1138
|
-
</tbody>
|
1139
|
-
</table></div>
|
1140
|
-
<p class="since">Since 2.22</p>
|
1141
|
-
</div>
|
1142
|
-
<hr>
|
1143
|
-
<div class="refsect2">
|
1144
|
-
<a name="g-mount-guess-content-type"></a><h3>g_mount_guess_content_type ()</h3>
|
1145
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_guess_content_type (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1146
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_rescan</code></em>,
|
1147
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1148
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1149
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1150
|
-
<p>
|
1151
|
-
Tries to guess the type of content stored on <em class="parameter"><code>mount</code></em>. Returns one or
|
1152
|
-
more textual identifiers of well-known content types (typically
|
1153
|
-
prefixed with "x-content/"), e.g. x-content/image-dcf for camera
|
1154
|
-
memory cards. See the <a class="ulink" href="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec" target="_top">shared-mime-info</a>
|
1155
|
-
specification for more on x-content types.
|
1156
|
-
</p>
|
1157
|
-
<p>
|
1158
|
-
This is an asynchronous operation (see
|
1159
|
-
<a class="link" href="GMount.html#g-mount-guess-content-type-sync" title="g_mount_guess_content_type_sync ()"><code class="function">g_mount_guess_content_type_sync()</code></a> for the synchronous version), and
|
1160
|
-
is finished by calling <a class="link" href="GMount.html#g-mount-guess-content-type-finish" title="g_mount_guess_content_type_finish ()"><code class="function">g_mount_guess_content_type_finish()</code></a> with the
|
1161
|
-
<em class="parameter"><code>mount</code></em> and <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> data returned in the <em class="parameter"><code>callback</code></em>.
|
1162
|
-
</p>
|
1163
|
-
<div class="variablelist"><table border="0">
|
1164
|
-
<col align="left" valign="top">
|
1165
|
-
<tbody>
|
1166
|
-
<tr>
|
1167
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1168
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>
|
1169
|
-
</td>
|
1170
|
-
</tr>
|
1171
|
-
<tr>
|
1172
|
-
<td><p><span class="term"><em class="parameter"><code>force_rescan</code></em> :</span></p></td>
|
1173
|
-
<td>Whether to force a rescan of the content.
|
1174
|
-
Otherwise a cached result will be used if available
|
1175
|
-
</td>
|
1176
|
-
</tr>
|
1177
|
-
<tr>
|
1178
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1179
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
|
1180
|
-
</td>
|
1181
|
-
</tr>
|
1182
|
-
<tr>
|
1183
|
-
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
1184
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>
|
1185
|
-
</td>
|
1186
|
-
</tr>
|
1187
|
-
<tr>
|
1188
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1189
|
-
<td>user data passed to <em class="parameter"><code>callback</code></em>
|
1190
|
-
</td>
|
1191
|
-
</tr>
|
1192
|
-
</tbody>
|
1193
|
-
</table></div>
|
1194
|
-
<p class="since">Since 2.18</p>
|
1195
|
-
</div>
|
1196
|
-
<hr>
|
1197
|
-
<div class="refsect2">
|
1198
|
-
<a name="g-mount-guess-content-type-finish"></a><h3>g_mount_guess_content_type_finish ()</h3>
|
1199
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** g_mount_guess_content_type_finish (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1200
|
-
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1201
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1202
|
-
<p>
|
1203
|
-
Finishes guessing content types of <em class="parameter"><code>mount</code></em>. If any errors occured
|
1204
|
-
during the operation, <em class="parameter"><code>error</code></em> will be set to contain the errors and
|
1205
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. In particular, you may get an
|
1206
|
-
<a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> if the mount does not support content
|
1207
|
-
guessing.
|
1208
|
-
</p>
|
1209
|
-
<div class="variablelist"><table border="0">
|
1210
|
-
<col align="left" valign="top">
|
1211
|
-
<tbody>
|
1212
|
-
<tr>
|
1213
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1214
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>
|
1215
|
-
</td>
|
1216
|
-
</tr>
|
1217
|
-
<tr>
|
1218
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
1219
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>
|
1220
|
-
</td>
|
1221
|
-
</tr>
|
1222
|
-
<tr>
|
1223
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1224
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1225
|
-
ignore
|
1226
|
-
</td>
|
1227
|
-
</tr>
|
1228
|
-
<tr>
|
1229
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1230
|
-
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of content types or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
1231
|
-
Caller should free this array with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when done with it.
|
1232
|
-
|
1233
|
-
</td>
|
1234
|
-
</tr>
|
1235
|
-
</tbody>
|
1236
|
-
</table></div>
|
1237
|
-
<p class="since">Since 2.18</p>
|
1238
|
-
</div>
|
1239
|
-
<hr>
|
1240
|
-
<div class="refsect2">
|
1241
|
-
<a name="g-mount-guess-content-type-sync"></a><h3>g_mount_guess_content_type_sync ()</h3>
|
1242
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** g_mount_guess_content_type_sync (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>,
|
1243
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_rescan</code></em>,
|
1244
|
-
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1245
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1246
|
-
<p>
|
1247
|
-
Tries to guess the type of content stored on <em class="parameter"><code>mount</code></em>. Returns one or
|
1248
|
-
more textual identifiers of well-known content types (typically
|
1249
|
-
prefixed with "x-content/"), e.g. x-content/image-dcf for camera
|
1250
|
-
memory cards. See the <a class="ulink" href="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec" target="_top">shared-mime-info</a>
|
1251
|
-
specification for more on x-content types.
|
1252
|
-
</p>
|
1253
|
-
<p>
|
1254
|
-
This is an synchronous operation and as such may block doing IO;
|
1255
|
-
see <a class="link" href="GMount.html#g-mount-guess-content-type" title="g_mount_guess_content_type ()"><code class="function">g_mount_guess_content_type()</code></a> for the asynchronous version.
|
1256
|
-
</p>
|
1257
|
-
<div class="variablelist"><table border="0">
|
1258
|
-
<col align="left" valign="top">
|
1259
|
-
<tbody>
|
1260
|
-
<tr>
|
1261
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1262
|
-
<td>a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>
|
1263
|
-
</td>
|
1264
|
-
</tr>
|
1265
|
-
<tr>
|
1266
|
-
<td><p><span class="term"><em class="parameter"><code>force_rescan</code></em> :</span></p></td>
|
1267
|
-
<td>Whether to force a rescan of the content.
|
1268
|
-
Otherwise a cached result will be used if available
|
1269
|
-
</td>
|
1270
|
-
</tr>
|
1271
|
-
<tr>
|
1272
|
-
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1273
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
|
1274
|
-
</td>
|
1275
|
-
</tr>
|
1276
|
-
<tr>
|
1277
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1278
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
1279
|
-
ignore
|
1280
|
-
</td>
|
1281
|
-
</tr>
|
1282
|
-
<tr>
|
1283
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1284
|
-
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of content types or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
1285
|
-
Caller should free this array with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when done with it.
|
1286
|
-
|
1287
|
-
</td>
|
1288
|
-
</tr>
|
1289
|
-
</tbody>
|
1290
|
-
</table></div>
|
1291
|
-
<p class="since">Since 2.18</p>
|
1292
|
-
</div>
|
1293
|
-
<hr>
|
1294
|
-
<div class="refsect2">
|
1295
|
-
<a name="g-mount-is-shadowed"></a><h3>g_mount_is_shadowed ()</h3>
|
1296
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_is_shadowed (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
1297
|
-
<p>
|
1298
|
-
Determines if <em class="parameter"><code>mount</code></em> is shadowed. Applications or libraries should
|
1299
|
-
avoid displaying <em class="parameter"><code>mount</code></em> in the user interface if it is shadowed.
|
1300
|
-
</p>
|
1301
|
-
<p>
|
1302
|
-
A mount is said to be shadowed if there exists one or more user
|
1303
|
-
visible objects (currently <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> objects) with a root that is
|
1304
|
-
inside the root of <em class="parameter"><code>mount</code></em>.
|
1305
|
-
</p>
|
1306
|
-
<p>
|
1307
|
-
One application of shadow mounts is when exposing a single file
|
1308
|
-
system that is used to address several logical volumes. In this
|
1309
|
-
situation, a <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> implementation would create two
|
1310
|
-
<a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> objects (for example, one for the camera functionality of
|
1311
|
-
the device and one for a SD card reader on the device) with
|
1312
|
-
activation URIs <code class="literal">gphoto2://[usb:001,002]/store1/</code>
|
1313
|
-
and <code class="literal">gphoto2://[usb:001,002]/store2/</code>. When the
|
1314
|
-
underlying mount (with root
|
1315
|
-
<code class="literal">gphoto2://[usb:001,002]/</code>) is mounted, said
|
1316
|
-
<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> implementation would create two <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> objects
|
1317
|
-
(each with their root matching the corresponding volume activation
|
1318
|
-
root) that would shadow the original mount.
|
1319
|
-
</p>
|
1320
|
-
<p>
|
1321
|
-
The proxy monitor in GVfs 2.26 and later, automatically creates and
|
1322
|
-
manage shadow mounts (and shadows the underlying mount) if the
|
1323
|
-
activation root on a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> is set.
|
1324
|
-
</p>
|
1325
|
-
<div class="variablelist"><table border="0">
|
1326
|
-
<col align="left" valign="top">
|
1327
|
-
<tbody>
|
1328
|
-
<tr>
|
1329
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1330
|
-
<td>A <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1331
|
-
</td>
|
1332
|
-
</tr>
|
1333
|
-
<tr>
|
1334
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1335
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>mount</code></em> is shadowed.
|
1336
|
-
|
1337
|
-
</td>
|
1338
|
-
</tr>
|
1339
|
-
</tbody>
|
1340
|
-
</table></div>
|
1341
|
-
<p class="since">Since 2.20</p>
|
1342
|
-
</div>
|
1343
|
-
<hr>
|
1344
|
-
<div class="refsect2">
|
1345
|
-
<a name="g-mount-shadow"></a><h3>g_mount_shadow ()</h3>
|
1346
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_shadow (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
1347
|
-
<p>
|
1348
|
-
Increments the shadow count on <em class="parameter"><code>mount</code></em>. Usually used by
|
1349
|
-
<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> implementations when creating a shadow mount for
|
1350
|
-
<em class="parameter"><code>mount</code></em>, see <a class="link" href="GMount.html#g-mount-is-shadowed" title="g_mount_is_shadowed ()"><code class="function">g_mount_is_shadowed()</code></a> for more information. The caller
|
1351
|
-
will need to emit the <a class="link" href="GMount.html#GMount-changed" title='The "changed" signal'><span class="type">"changed"</span></a> signal on <em class="parameter"><code>mount</code></em> manually.
|
1352
|
-
</p>
|
1353
|
-
<div class="variablelist"><table border="0">
|
1354
|
-
<col align="left" valign="top">
|
1355
|
-
<tbody><tr>
|
1356
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1357
|
-
<td>A <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1358
|
-
</td>
|
1359
|
-
</tr></tbody>
|
1360
|
-
</table></div>
|
1361
|
-
<p class="since">Since 2.20</p>
|
1362
|
-
</div>
|
1363
|
-
<hr>
|
1364
|
-
<div class="refsect2">
|
1365
|
-
<a name="g-mount-unshadow"></a><h3>g_mount_unshadow ()</h3>
|
1366
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_unshadow (<em class="parameter"><code><a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount</code></em>);</pre>
|
1367
|
-
<p>
|
1368
|
-
Decrements the shadow count on <em class="parameter"><code>mount</code></em>. Usually used by
|
1369
|
-
<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> implementations when destroying a shadow mount for
|
1370
|
-
<em class="parameter"><code>mount</code></em>, see <a class="link" href="GMount.html#g-mount-is-shadowed" title="g_mount_is_shadowed ()"><code class="function">g_mount_is_shadowed()</code></a> for more information. The caller
|
1371
|
-
will need to emit the <a class="link" href="GMount.html#GMount-changed" title='The "changed" signal'><span class="type">"changed"</span></a> signal on <em class="parameter"><code>mount</code></em> manually.
|
1372
|
-
</p>
|
1373
|
-
<div class="variablelist"><table border="0">
|
1374
|
-
<col align="left" valign="top">
|
1375
|
-
<tbody><tr>
|
1376
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1377
|
-
<td>A <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a>.
|
1378
|
-
</td>
|
1379
|
-
</tr></tbody>
|
1380
|
-
</table></div>
|
1381
|
-
<p class="since">Since 2.20</p>
|
1382
|
-
</div>
|
1383
|
-
</div>
|
1384
|
-
<div class="refsect1">
|
1385
|
-
<a name="GMount.signal-details"></a><h2>Signal Details</h2>
|
1386
|
-
<div class="refsect2">
|
1387
|
-
<a name="GMount-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
|
1388
|
-
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount,
|
1389
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
1390
|
-
<p>
|
1391
|
-
Emitted when the mount has been changed.
|
1392
|
-
</p>
|
1393
|
-
<div class="variablelist"><table border="0">
|
1394
|
-
<col align="left" valign="top">
|
1395
|
-
<tbody>
|
1396
|
-
<tr>
|
1397
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1398
|
-
<td>the object on which the signal is emitted
|
1399
|
-
</td>
|
1400
|
-
</tr>
|
1401
|
-
<tr>
|
1402
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1403
|
-
<td>user data set when the signal handler was connected.</td>
|
1404
|
-
</tr>
|
1405
|
-
</tbody>
|
1406
|
-
</table></div>
|
1407
|
-
</div>
|
1408
|
-
<hr>
|
1409
|
-
<div class="refsect2">
|
1410
|
-
<a name="GMount-pre-unmount"></a><h3>The <code class="literal">"pre-unmount"</code> signal</h3>
|
1411
|
-
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount,
|
1412
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
1413
|
-
<p>
|
1414
|
-
This signal is emitted when the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> is about to be
|
1415
|
-
unmounted.
|
1416
|
-
</p>
|
1417
|
-
<div class="variablelist"><table border="0">
|
1418
|
-
<col align="left" valign="top">
|
1419
|
-
<tbody>
|
1420
|
-
<tr>
|
1421
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1422
|
-
<td>the object on which the signal is emitted
|
1423
|
-
</td>
|
1424
|
-
</tr>
|
1425
|
-
<tr>
|
1426
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1427
|
-
<td>user data set when the signal handler was connected.</td>
|
1428
|
-
</tr>
|
1429
|
-
</tbody>
|
1430
|
-
</table></div>
|
1431
|
-
<p class="since">Since 2.22</p>
|
1432
|
-
</div>
|
1433
|
-
<hr>
|
1434
|
-
<div class="refsect2">
|
1435
|
-
<a name="GMount-unmounted"></a><h3>The <code class="literal">"unmounted"</code> signal</h3>
|
1436
|
-
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> *mount,
|
1437
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
1438
|
-
<p>
|
1439
|
-
This signal is emitted when the <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> have been
|
1440
|
-
unmounted. If the recipient is holding references to the
|
1441
|
-
object they should release them so the object can be
|
1442
|
-
finalized.
|
1443
|
-
</p>
|
1444
|
-
<div class="variablelist"><table border="0">
|
1445
|
-
<col align="left" valign="top">
|
1446
|
-
<tbody>
|
1447
|
-
<tr>
|
1448
|
-
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
|
1449
|
-
<td>the object on which the signal is emitted
|
1450
|
-
</td>
|
1451
|
-
</tr>
|
1452
|
-
<tr>
|
1453
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1454
|
-
<td>user data set when the signal handler was connected.</td>
|
1455
|
-
</tr>
|
1456
|
-
</tbody>
|
1457
|
-
</table></div>
|
1458
|
-
</div>
|
1459
|
-
</div>
|
1460
|
-
</div>
|
1461
|
-
<div class="footer">
|
1462
|
-
<hr>
|
1463
|
-
Generated by GTK-Doc V1.15.1</div>
|
1464
|
-
</body>
|
1465
|
-
</html>
|