~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GMount.html

Tags: upstream-2.16.1
Import upstream version 2.16.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
<th width="100%" align="center">GIO Reference Manual</th>
41
41
<td><a accesskey="n" href="GDrive.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
42
42
</tr>
43
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3044607" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id3149839" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id3149792" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id3149817" class="shortcut">Prerequisites</a></nobr></td></tr>
 
43
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3119142" class="shortcut">Top</a>
 
44
                  &#160;|&#160;
 
45
                  <a href="#id3212891" class="shortcut">Description</a>
 
46
                  &#160;|&#160;
 
47
                  <a href="#id3212844" class="shortcut">Object Hierarchy</a>
 
48
                  &#160;|&#160;
 
49
                  <a href="#id3212868" class="shortcut">Prerequisites</a></nobr></td></tr>
50
50
</table>
51
51
<div class="refentry" lang="en">
52
52
<a name="GMount"></a><div class="titlepage"></div>
53
53
<div class="refnamediv"><table width="100%"><tr>
54
54
<td valign="top">
55
55
<h2>
56
 
<a name="id3044607"></a><span class="refentrytitle">GMount</span>
 
56
<a name="id3119142"></a><span class="refentrytitle">GMount</span>
57
57
</h2>
58
58
<p>GMount &#8212; Mount management</p>
59
59
</td>
132
132
</pre>
133
133
</div>
134
134
<div class="refsect1" lang="en">
135
 
<a name="id3149792"></a><h2>Object Hierarchy</h2>
 
135
<a name="id3212844"></a><h2>Object Hierarchy</h2>
136
136
<pre class="synopsis">
137
137
 
138
138
  GInterface
140
140
</pre>
141
141
</div>
142
142
<div class="refsect1" lang="en">
143
 
<a name="id3149817"></a><h2>Prerequisites</h2>
 
143
<a name="id3212868"></a><h2>Prerequisites</h2>
144
144
<p>
145
145
GMount requires
146
146
 <a
148
148
>GObject</a>.</p>
149
149
</div>
150
150
<div class="refsect1" lang="en">
151
 
<a name="id3149839"></a><h2>Description</h2>
 
151
<a name="id3212891"></a><h2>Description</h2>
152
152
<p>
153
153
The <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> interface represents user-visible mounts. Note, when 
154
154
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>.
176
176
</p>
177
177
</div>
178
178
<div class="refsect1" lang="en">
179
 
<a name="id3150003"></a><h2>Details</h2>
 
179
<a name="id3213054"></a><h2>Details</h2>
180
180
<div class="refsect2" lang="en">
181
 
<a name="id3161677"></a><h3>
 
181
<a name="id3224563"></a><h3>
182
182
<a name="GMount-struct"></a>GMount</h3>
183
 
<a class="indexterm" name="id3161689"></a><pre class="programlisting">typedef struct _GMount GMount;</pre>
 
183
<a class="indexterm" name="id3224575"></a><pre class="programlisting">typedef struct _GMount GMount;</pre>
184
184
<p>
185
185
A handle to an object implementing the <a class="link" href="GMount.html#GMountIface"><span class="type">GMountIface</span></a> interface.</p>
186
186
<p>
189
189
</div>
190
190
<hr>
191
191
<div class="refsect2" lang="en">
192
 
<a name="id3161715"></a><h3>
 
192
<a name="id3224601"></a><h3>
193
193
<a name="GMountIface"></a>GMountIface</h3>
194
 
<a class="indexterm" name="id3161727"></a><pre class="programlisting">typedef struct {
 
194
<a class="indexterm" name="id3224613"></a><pre class="programlisting">typedef struct {
195
195
  GTypeInterface g_iface;
196
196
 
197
197
  /* signals */
342
342
</div>
343
343
<hr>
344
344
<div class="refsect2" lang="en">
345
 
<a name="id3162228"></a><h3>
 
345
<a name="id3225114"></a><h3>
346
346
<a name="g-mount-get-name"></a>g_mount_get_name ()</h3>
347
 
<a class="indexterm" name="id3162241"></a><pre class="programlisting">char*               g_mount_get_name                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
347
<a class="indexterm" name="id3225127"></a><pre class="programlisting">char*               g_mount_get_name                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
348
348
<p>
349
349
Gets the name of <em class="parameter"><code>mount</code></em>.</p>
350
350
<p>
369
369
</div>
370
370
<hr>
371
371
<div class="refsect2" lang="en">
372
 
<a name="id3162321"></a><h3>
 
372
<a name="id3225207"></a><h3>
373
373
<a name="g-mount-get-uuid"></a>g_mount_get_uuid ()</h3>
374
 
<a class="indexterm" name="id3162333"></a><pre class="programlisting">char*               g_mount_get_uuid                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
374
<a class="indexterm" name="id3225219"></a><pre class="programlisting">char*               g_mount_get_uuid                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
375
375
<p>
376
376
Gets the UUID for the <em class="parameter"><code>mount</code></em>. The reference is typically based on
377
377
the file system UUID for the mount in question and should be
402
402
</div>
403
403
<hr>
404
404
<div class="refsect2" lang="en">
405
 
<a name="id3162433"></a><h3>
 
405
<a name="id3225319"></a><h3>
406
406
<a name="g-mount-get-icon"></a>g_mount_get_icon ()</h3>
407
 
<a class="indexterm" name="id3162446"></a><pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a>*              g_mount_get_icon                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
407
<a class="indexterm" name="id3225332"></a><pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a>*              g_mount_get_icon                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
408
408
<p>
409
409
Gets the icon for <em class="parameter"><code>mount</code></em>.</p>
410
410
<p>
428
428
</div>
429
429
<hr>
430
430
<div class="refsect2" lang="en">
431
 
<a name="id3162526"></a><h3>
 
431
<a name="id3225412"></a><h3>
432
432
<a name="g-mount-get-drive"></a>g_mount_get_drive ()</h3>
433
 
<a class="indexterm" name="id3162539"></a><pre class="programlisting"><a class="link" href="GDrive.html" title="GDrive">GDrive</a>*             g_mount_get_drive                   (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
433
<a class="indexterm" name="id3225425"></a><pre class="programlisting"><a class="link" href="GDrive.html" title="GDrive">GDrive</a>*             g_mount_get_drive                   (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
434
434
<p>
435
435
Gets the drive for the <em class="parameter"><code>mount</code></em>.
436
436
</p>
460
460
</div>
461
461
<hr>
462
462
<div class="refsect2" lang="en">
463
 
<a name="id3162653"></a><h3>
 
463
<a name="id3225539"></a><h3>
464
464
<a name="g-mount-get-root"></a>g_mount_get_root ()</h3>
465
 
<a class="indexterm" name="id3162665"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_mount_get_root                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
465
<a class="indexterm" name="id3225551"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_mount_get_root                    (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
466
466
<p>
467
467
Gets the root directory on <em class="parameter"><code>mount</code></em>.</p>
468
468
<p>
486
486
</div>
487
487
<hr>
488
488
<div class="refsect2" lang="en">
489
 
<a name="id3162746"></a><h3>
 
489
<a name="id3225632"></a><h3>
490
490
<a name="g-mount-get-volume"></a>g_mount_get_volume ()</h3>
491
 
<a class="indexterm" name="id3162758"></a><pre class="programlisting"><a class="link" href="GVolume.html" title="GVolume">GVolume</a>*            g_mount_get_volume                  (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
 
491
<a class="indexterm" name="id3225644"></a><pre class="programlisting"><a class="link" href="GVolume.html" title="GVolume">GVolume</a>*            g_mount_get_volume                  (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
492
492
<p>
493
493
Gets the volume for the <em class="parameter"><code>mount</code></em>.</p>
494
494
<p>
514
514
</div>
515
515
<hr>
516
516
<div class="refsect2" lang="en">
517
 
<a name="id3162853"></a><h3>
 
517
<a name="id3225739"></a><h3>
518
518
<a name="g-mount-can-unmount"></a>g_mount_can_unmount ()</h3>
519
 
<a class="indexterm" name="id3162865"></a><pre class="programlisting"><a
 
519
<a class="indexterm" name="id3225751"></a><pre class="programlisting"><a
520
520
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
521
521
>gboolean</a>            g_mount_can_unmount                 (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
522
522
<p>
544
544
</div>
545
545
<hr>
546
546
<div class="refsect2" lang="en">
547
 
<a name="id3162954"></a><h3>
 
547
<a name="id3225840"></a><h3>
548
548
<a name="GMountMountFlags"></a>enum GMountMountFlags</h3>
549
 
<a class="indexterm" name="id3162966"></a><pre class="programlisting">typedef enum  {
 
549
<a class="indexterm" name="id3225852"></a><pre class="programlisting">typedef enum  {
550
550
  G_MOUNT_MOUNT_NONE = 0
551
551
} GMountMountFlags;
552
552
</pre>
566
566
</div>
567
567
<hr>
568
568
<div class="refsect2" lang="en">
569
 
<a name="id3163012"></a><h3>
 
569
<a name="id3225898"></a><h3>
570
570
<a name="GMountUnmountFlags"></a>enum GMountUnmountFlags</h3>
571
 
<a class="indexterm" name="id3163024"></a><pre class="programlisting">typedef enum  {
 
571
<a class="indexterm" name="id3225910"></a><pre class="programlisting">typedef enum  {
572
572
  G_MOUNT_UNMOUNT_NONE = 0,
573
573
  G_MOUNT_UNMOUNT_FORCE = (1&lt;&lt;0)
574
574
} GMountUnmountFlags;
597
597
</div>
598
598
<hr>
599
599
<div class="refsect2" lang="en">
600
 
<a name="id3163092"></a><h3>
 
600
<a name="id3225978"></a><h3>
601
601
<a name="g-mount-unmount"></a>g_mount_unmount ()</h3>
602
 
<a class="indexterm" name="id3163104"></a><pre class="programlisting">void                g_mount_unmount                     (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
 
602
<a class="indexterm" name="id3225990"></a><pre class="programlisting">void                g_mount_unmount                     (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
603
603
                                                         <a class="link" href="GMount.html#GMountUnmountFlags">GMountUnmountFlags</a> flags,
604
604
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
605
605
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
650
650
</div>
651
651
<hr>
652
652
<div class="refsect2" lang="en">
653
 
<a name="id3163315"></a><h3>
 
653
<a name="id3226201"></a><h3>
654
654
<a name="g-mount-unmount-finish"></a>g_mount_unmount_finish ()</h3>
655
 
<a class="indexterm" name="id3163326"></a><pre class="programlisting"><a
 
655
<a class="indexterm" name="id3226212"></a><pre class="programlisting"><a
656
656
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
657
657
>gboolean</a>            g_mount_unmount_finish              (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
658
658
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
704
704
</div>
705
705
<hr>
706
706
<div class="refsect2" lang="en">
707
 
<a name="id3163495"></a><h3>
 
707
<a name="id3226381"></a><h3>
708
708
<a name="g-mount-remount"></a>g_mount_remount ()</h3>
709
 
<a class="indexterm" name="id3163507"></a><pre class="programlisting">void                g_mount_remount                     (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
 
709
<a class="indexterm" name="id3226393"></a><pre class="programlisting">void                g_mount_remount                     (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
710
710
                                                         <a class="link" href="GMount.html#GMountMountFlags">GMountMountFlags</a> flags,
711
711
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
712
712
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
772
772
</div>
773
773
<hr>
774
774
<div class="refsect2" lang="en">
775
 
<a name="id3164592"></a><h3>
 
775
<a name="id3227470"></a><h3>
776
776
<a name="g-mount-remount-finish"></a>g_mount_remount_finish ()</h3>
777
 
<a class="indexterm" name="id3164603"></a><pre class="programlisting"><a
 
777
<a class="indexterm" name="id3227480"></a><pre class="programlisting"><a
778
778
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
779
779
>gboolean</a>            g_mount_remount_finish              (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
780
780
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
826
826
</div>
827
827
<hr>
828
828
<div class="refsect2" lang="en">
829
 
<a name="id3164753"></a><h3>
 
829
<a name="id3227630"></a><h3>
830
830
<a name="g-mount-can-eject"></a>g_mount_can_eject ()</h3>
831
 
<a class="indexterm" name="id3164763"></a><pre class="programlisting"><a
 
831
<a class="indexterm" name="id3227641"></a><pre class="programlisting"><a
832
832
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
833
833
>gboolean</a>            g_mount_can_eject                   (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
834
834
<p>
856
856
</div>
857
857
<hr>
858
858
<div class="refsect2" lang="en">
859
 
<a name="id3164842"></a><h3>
 
859
<a name="id3227719"></a><h3>
860
860
<a name="g-mount-eject"></a>g_mount_eject ()</h3>
861
 
<a class="indexterm" name="id3164852"></a><pre class="programlisting">void                g_mount_eject                       (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
 
861
<a class="indexterm" name="id3227730"></a><pre class="programlisting">void                g_mount_eject                       (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
862
862
                                                         <a class="link" href="GMount.html#GMountUnmountFlags">GMountUnmountFlags</a> flags,
863
863
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
864
864
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
909
909
</div>
910
910
<hr>
911
911
<div class="refsect2" lang="en">
912
 
<a name="id3165041"></a><h3>
 
912
<a name="id3227918"></a><h3>
913
913
<a name="g-mount-eject-finish"></a>g_mount_eject_finish ()</h3>
914
 
<a class="indexterm" name="id3165051"></a><pre class="programlisting"><a
 
914
<a class="indexterm" name="id3227928"></a><pre class="programlisting"><a
915
915
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
916
916
>gboolean</a>            g_mount_eject_finish                (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount,
917
917
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
963
963
</div>
964
964
</div>
965
965
<div class="refsect1" lang="en">
966
 
<a name="id3165204"></a><div class="refsect2" lang="en"><a name="id3165206"></a></div>
 
966
<a name="id3228080"></a><div class="refsect2" lang="en"><a name="id3228081"></a></div>
967
967
<hr>
968
 
<div class="refsect2" lang="en"><a name="id3165207"></a></div>
 
968
<div class="refsect2" lang="en"><a name="id3228082"></a></div>
969
969
</div>
970
970
</div>
971
971
</body>