This file is indexed.

/usr/share/doc/libgnomevfs2-common/html/gnome-vfs-2.0-gnome-vfs-drive.html is in libgnomevfs2-common 1:2.24.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeVFSDrive</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
<link rel="up" href="volumes.html" title="Volumes and Drives Handling">
<link rel="prev" href="gnome-vfs-2.0-gnome-vfs-volume.html" title="GnomeVFSVolume">
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html" title="GnomeVFSVolumeMonitor">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gnome-vfs-2.0-gnome-vfs-volume.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="volumes.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
<td><a accesskey="n" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-vfs-2.0-gnome-vfs-drive.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-drive.description" class="shortcut">Description</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-drive.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-drive.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-drive"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-drive.top_of_page"></a>GnomeVFSDrive</span></h2>
<p>GnomeVFSDrive — Container for GnomeVFSVolume (floppy drive, CD reader, ...)</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-drive.synopsis"></a><h2>Synopsis</h2>
<a name="GnomeVFSDrive"></a><pre class="synopsis">enum                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType">GnomeVFSDeviceType</a>;
                    <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive-struct" title="GnomeVFSDrive">GnomeVFSDrive</a>;
struct              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDriveClass" title="struct GnomeVFSDriveClass">GnomeVFSDriveClass</a>;
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE:CAPS" title="GNOME_IS_VFS_DRIVE()">GNOME_IS_VFS_DRIVE</a>                  (o)
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE-CLASS:CAPS" title="GNOME_IS_VFS_DRIVE_CLASS()">GNOME_IS_VFS_DRIVE_CLASS</a>            (k)
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GNOME-VFS-TYPE-DRIVE:CAPS" title="GNOME_VFS_TYPE_DRIVE">GNOME_VFS_TYPE_DRIVE</a>
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GNOME-VFS-DRIVE:CAPS" title="GNOME_VFS_DRIVE()">GNOME_VFS_DRIVE</a>                     (o)
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GNOME-VFS-DRIVE-CLASS:CAPS" title="GNOME_VFS_DRIVE_CLASS()">GNOME_VFS_DRIVE_CLASS</a>               (k)
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-compare" title="gnome_vfs_drive_compare ()">gnome_vfs_drive_compare</a>             (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *b</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-eject" title="gnome_vfs_drive_eject ()">gnome_vfs_drive_eject</a>               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-activation-uri" title="gnome_vfs_drive_get_activation_uri ()">gnome_vfs_drive_get_activation_uri</a>  (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-device-path" title="gnome_vfs_drive_get_device_path ()">gnome_vfs_drive_get_device_path</a>     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType"><span class="returnvalue">GnomeVFSDeviceType</span></a>  <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-device-type" title="gnome_vfs_drive_get_device_type ()">gnome_vfs_drive_get_device_type</a>     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-display-name" title="gnome_vfs_drive_get_display_name ()">gnome_vfs_drive_get_display_name</a>    (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-hal-udi" title="gnome_vfs_drive_get_hal_udi ()">gnome_vfs_drive_get_hal_udi</a>         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-icon" title="gnome_vfs_drive_get_icon ()">gnome_vfs_drive_get_icon</a>            (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>              <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-id" title="gnome_vfs_drive_get_id ()">gnome_vfs_drive_get_id</a>              (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="returnvalue">GnomeVFSVolume</span></a> *    <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volume" title="gnome_vfs_drive_get_mounted_volume ()">gnome_vfs_drive_get_mounted_volume</a>  (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()">gnome_vfs_drive_get_mounted_volumes</a> (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-volume-list-free" title="gnome_vfs_drive_volume_list_free ()">gnome_vfs_drive_volume_list_free</a>    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *volumes</code></em>);
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-type" title="gnome_vfs_drive_get_type ()">gnome_vfs_drive_get_type</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-is-connected" title="gnome_vfs_drive_is_connected ()">gnome_vfs_drive_is_connected</a>        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-is-mounted" title="gnome_vfs_drive_is_mounted ()">gnome_vfs_drive_is_mounted</a>          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-is-user-visible" title="gnome_vfs_drive_is_user_visible ()">gnome_vfs_drive_is_user_visible</a>     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-mount" title="gnome_vfs_drive_mount ()">gnome_vfs_drive_mount</a>               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="returnvalue">GnomeVFSDrive</span></a> *     <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-ref" title="gnome_vfs_drive_ref ()">gnome_vfs_drive_ref</a>                 (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()">gnome_vfs_drive_unmount</a>             (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-unref" title="gnome_vfs_drive_unref ()">gnome_vfs_drive_unref</a>               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-drive.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GnomeVFSDrive
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-drive.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive-volume-mounted" title='The "volume-mounted" signal'>volume-mounted</a>"                                 : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
  "<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive-volume-pre-unmount" title='The "volume-pre-unmount" signal'>volume-pre-unmount</a>"                             : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
  "<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive-volume-unmounted" title='The "volume-unmounted" signal'>volume-unmounted</a>"                               : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-drive.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-drive.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeVFSDeviceType"></a><h3>enum GnomeVFSDeviceType</h3>
<pre class="programlisting">typedef enum {
	GNOME_VFS_DEVICE_TYPE_UNKNOWN,
	GNOME_VFS_DEVICE_TYPE_AUDIO_CD,
	GNOME_VFS_DEVICE_TYPE_VIDEO_DVD,
	GNOME_VFS_DEVICE_TYPE_HARDDRIVE, 
	GNOME_VFS_DEVICE_TYPE_CDROM,
	GNOME_VFS_DEVICE_TYPE_FLOPPY,
	GNOME_VFS_DEVICE_TYPE_ZIP,
	GNOME_VFS_DEVICE_TYPE_JAZ,
	GNOME_VFS_DEVICE_TYPE_NFS,
	GNOME_VFS_DEVICE_TYPE_AUTOFS,
	GNOME_VFS_DEVICE_TYPE_CAMERA,
	GNOME_VFS_DEVICE_TYPE_MEMORY_STICK,
	GNOME_VFS_DEVICE_TYPE_SMB,
	GNOME_VFS_DEVICE_TYPE_APPLE,
	GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER,
	GNOME_VFS_DEVICE_TYPE_WINDOWS, 
	GNOME_VFS_DEVICE_TYPE_LOOPBACK, 
	GNOME_VFS_DEVICE_TYPE_NETWORK 
} GnomeVFSDeviceType;
</pre>
<p>
Identifies the device type of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_UNKNOWN</code></span></p></td>
<td>the type of this <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is not known.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-AUDIO-CD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_AUDIO_CD</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
volume is an audio CD.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-VIDEO-DVD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_VIDEO_DVD</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
volume is a video DVD.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-HARDDRIVE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_HARDDRIVE</code></span></p></td>
<td>this is a mount point refering to a harddisk partition that
neither has a Microsoft file system (FAT, VFAT, NTFS) nor an Apple file system (HFS, HFS+).
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-CDROM:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_CDROM</code></span></p></td>
<td>this may either be a mount point or a HAL drive/volume. Either way,
it refers to a CD-ROM device respectively volume.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-FLOPPY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_FLOPPY</code></span></p></td>
<td>the volume or drive referenced by this <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a floppy disc respectively a floppy drive.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-ZIP:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_ZIP</code></span></p></td>
<td>the volume or drive referenced by this <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a ZIP disc respectively a ZIP drive.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-JAZ:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_JAZ</code></span></p></td>
<td>the volume or drive referenced by this <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a JAZ disc respectively a JAZ drive.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-NFS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_NFS</code></span></p></td>
<td>this is a mount point having an NFS file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-AUTOFS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_AUTOFS</code></span></p></td>
<td>this is a mount point having an AutoFS file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-CAMERA:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_CAMERA</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a camera.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-MEMORY-STICK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_MEMORY_STICK</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a memory stick.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-SMB:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_SMB</code></span></p></td>
<td>this is a mount point having a Samba file system.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-APPLE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_APPLE</code></span></p></td>
<td>this is a mount point refering to a harddisk partition, that has an
Apple file system (HFS, HFS+).
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-MUSIC-PLAYER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
volume is a music player.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-WINDOWS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_WINDOWS</code></span></p></td>
<td>this is a mount point refering to a harddisk partition, that has a
Microsoft file system (FAT, VFAT, NTFS).
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-LOOPBACK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_LOOPBACK</code></span></p></td>
<td>this is a mount point refering to a loopback device.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-DEVICE-TYPE-NETWORK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_NETWORK</code></span></p></td>
<td>only used for <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, denoting that this volume
refers to a network mount that is not managed by the kernel VFS but exclusively known to GnomeVFS.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSDrive-struct"></a><h3>GnomeVFSDrive</h3>
<pre class="programlisting">typedef struct _GnomeVFSDrive GnomeVFSDrive;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSDriveClass"></a><h3>struct GnomeVFSDriveClass</h3>
<pre class="programlisting">struct GnomeVFSDriveClass {
	GObjectClass parent_class;

	void (* volume_mounted)	  	(GnomeVFSDrive *drive,
				   	 GnomeVFSVolume *volume);
	void (* volume_pre_unmount) (GnomeVFSDrive *drive,
				   	 GnomeVFSVolume *volume);
	void (* volume_unmounted) (GnomeVFSDrive *drive,
				   	 GnomeVFSVolume *volume);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-IS-VFS-DRIVE:CAPS"></a><h3>GNOME_IS_VFS_DRIVE()</h3>
<pre class="programlisting">#define GNOME_IS_VFS_DRIVE(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_VFS_TYPE_DRIVE))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-IS-VFS-DRIVE-CLASS:CAPS"></a><h3>GNOME_IS_VFS_DRIVE_CLASS()</h3>
<pre class="programlisting">#define GNOME_IS_VFS_DRIVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_VFS_TYPE_DRIVE))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-TYPE-DRIVE:CAPS"></a><h3>GNOME_VFS_TYPE_DRIVE</h3>
<pre class="programlisting">#define GNOME_VFS_TYPE_DRIVE        (gnome_vfs_drive_get_type ())
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-DRIVE:CAPS"></a><h3>GNOME_VFS_DRIVE()</h3>
<pre class="programlisting">#define GNOME_VFS_DRIVE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_VFS_TYPE_DRIVE, GnomeVFSDrive))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-DRIVE-CLASS:CAPS"></a><h3>GNOME_VFS_DRIVE_CLASS()</h3>
<pre class="programlisting">#define GNOME_VFS_DRIVE_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GNOME_VFS_TYPE_DRIVE, GnomeVFSDriveClass))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-compare"></a><h3>gnome_vfs_drive_compare ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gnome_vfs_drive_compare             (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *a</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *b</code></em>);</pre>
<p>
Compares two <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>. Two
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects referring to different drives
are guaranteed to not return 0 when comparing them,
if they refer to the same drive 0 is returned.
</p>
<p>
The resulting <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> should be used to determine the
order in which <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> are displayed in graphical
user interfces.
</p>
<p>
The comparison algorithm first of all peeks the device
type of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>, they will be sorted in the following
order:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><p>Magnetic and opto-magnetic drives (ZIP, floppy)</p></li>
<li class="listitem"><p>Optical drives (CD, DVD)</p></li>
<li class="listitem"><p>External drives (USB sticks, music players)</p></li>
<li class="listitem"><p>Mounted hard disks&lt;</p></li>
<li class="listitem"><p>Other drives&lt;</p></li>
</ul></div>
<p>
</p>
<p>
Afterwards, the display name of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> is compared
using a locale-sensitive sorting algorithm, which
involves <a href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#g-utf8-collate-key"><code class="function">g_utf8_collate_key()</code></a>.
</p>
<p>
If two drives have the same display name, their
unique ID is compared which can be queried using
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-id" title="gnome_vfs_drive_get_id ()"><code class="function">gnome_vfs_drive_get_id()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>0 if the drives refer to the same <em class="parameter"><code>GnomeVFSDrive</code></em>,
a negative value if <em class="parameter"><code>a</code></em> should be displayed before <em class="parameter"><code>b</code></em>,
or a positive value if <em class="parameter"><code>a</code></em> should be displayed after <em class="parameter"><code>b</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-eject"></a><h3>gnome_vfs_drive_eject ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_drive_eject               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
If <em class="parameter"><code>drive</code></em> has associated <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, all of them will be
unmounted by calling <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#gnome-vfs-volume-unmount" title="gnome_vfs_volume_unmount ()"><code class="function">gnome_vfs_volume_unmount()</code></a> for each volume in
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>, except for the last one,
for which <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#gnome-vfs-volume-eject" title="gnome_vfs_volume_eject ()"><code class="function">gnome_vfs_volume_eject()</code></a> is called to ensure that the
<em class="parameter"><code>drive</code></em>'s media is ejected.
</p>
<p>
If <em class="parameter"><code>drive</code></em> however has no associated <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, it
simply calls an unmount helper on the <em class="parameter"><code>drive</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be ejcted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after ejecting <em class="parameter"><code>drive</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>the user data to pass to <em class="parameter"><code>callback</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-activation-uri"></a><h3>gnome_vfs_drive_get_activation_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_drive_get_activation_uri  (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Returns the activation URI of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
</p>
<p>
The returned URI usually refers to a valid location. You can check the
validity of the location by calling <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-new" title="gnome_vfs_uri_new ()"><code class="function">gnome_vfs_uri_new()</code></a> with the URI,
and checking whether the return value is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string for the activation uri of the <span class="type">drive</span>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-device-path"></a><h3>gnome_vfs_drive_get_device_path ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_drive_get_device_path     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Returns the device path of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
</p>
<p>
For HAL drives, this returns the value of the
drives's "block.device" key. For UNIX mounts,
it returns the <code class="literal">mntent</code>'s <code class="literal">mnt_fsname</code> entry.
</p>
<p>
Otherwise, it returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string for the device path of the <span class="type">drive</span>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-device-type"></a><h3>gnome_vfs_drive_get_device_type ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType"><span class="returnvalue">GnomeVFSDeviceType</span></a>  gnome_vfs_drive_get_device_type     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>device type, a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType"><span class="type">GnomeVFSDeviceType</span></a> value.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-display-name"></a><h3>gnome_vfs_drive_get_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_drive_get_display_name    (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string for the display name of the <em class="parameter"><code>drive</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-hal-udi"></a><h3>gnome_vfs_drive_get_hal_udi ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_drive_get_hal_udi         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Returns the HAL UDI of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
</p>
<p>
For HAL drives, this matches the value of the "info.udi" key,
for other drives it is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string for the unique device id of the <em class="parameter"><code>drive</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-icon"></a><h3>gnome_vfs_drive_get_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_drive_get_icon            (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string for the icon filename of the <em class="parameter"><code>drive</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-id"></a><h3>gnome_vfs_drive_get_id ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>              gnome_vfs_drive_get_id              (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>drive id, a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> value.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-mounted-volume"></a><h3>gnome_vfs_drive_get_mounted_volume ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="returnvalue">GnomeVFSVolume</span></a> *    gnome_vfs_drive_get_mounted_volume  (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_drive_get_mounted_volume</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a> instead.</p>
</div>
<p>
Returns the first mounted volume for the <em class="parameter"><code>drive</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-mounted-volumes"></a><h3>gnome_vfs_drive_get_mounted_volumes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gnome_vfs_drive_get_mounted_volumes (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>list of mounted volumes for the <em class="parameter"><code>drive</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-volume-list-free"></a><h3>gnome_vfs_drive_volume_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_drive_volume_list_free    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *volumes</code></em>);</pre>
<p>
Frees the list <em class="parameter"><code>volumes</code></em>, if it is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>volumes</code></em> :</span></p></td>
<td>list of <a href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolumes</span></a> to be freed, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-get-type"></a><h3>gnome_vfs_drive_get_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               gnome_vfs_drive_get_type            (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-is-connected"></a><h3>gnome_vfs_drive_is_connected ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gnome_vfs_drive_is_connected        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is connected, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-is-mounted"></a><h3>gnome_vfs_drive_is_mounted ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gnome_vfs_drive_is_mounted          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is mounted, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-is-user-visible"></a><h3>gnome_vfs_drive_is_user_visible ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gnome_vfs_drive_is_user_visible     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether the <em class="parameter"><code>drive</code></em> is visible to the user. This
should be used by applications to determine whether it
is included in user interfaces listing available drives.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is visible to the user, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-mount"></a><h3>gnome_vfs_drive_mount ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_drive_mount               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be mounted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after mounting <em class="parameter"><code>drive</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>the user data to pass to <em class="parameter"><code>callback</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-ref"></a><h3>gnome_vfs_drive_ref ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="returnvalue">GnomeVFSDrive</span></a> *     gnome_vfs_drive_ref                 (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Increases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <em class="parameter"><code>drive</code></em> with its refcount increased by one,
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>drive</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-unmount"></a><h3>gnome_vfs_drive_unmount ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_drive_unmount             (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()"><code class="function">gnome_vfs_drive_unmount()</code></a> invokes <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-eject" title="gnome_vfs_drive_eject ()"><code class="function">gnome_vfs_drive_eject()</code></a>, if the <em class="parameter"><code>drive</code></em> signals
that it should be ejected when it is unmounted. This may be true for CD-ROMs,
USB sticks and other devices, depending on the backend providing the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>.
</p>
<p>
If the <em class="parameter"><code>drive</code></em> does not signal that it should be ejected when it is unmounted,
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()"><code class="function">gnome_vfs_drive_unmount()</code></a> calls <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#gnome-vfs-volume-unmount" title="gnome_vfs_volume_unmount ()"><code class="function">gnome_vfs_volume_unmount()</code></a> for each of the
<em class="parameter"><code>drive</code></em>'s mounted <a href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolumes</span></a>, which can be queried using
<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be unmounted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after unmounting <em class="parameter"><code>drive</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>the user data to pass to <em class="parameter"><code>callback</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-drive-unref"></a><h3>gnome_vfs_drive_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_drive_unref               (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> *drive</code></em>);</pre>
<p>
Decreases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-drive.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GnomeVFSDrive-volume-mounted"></a><h3>The <code class="literal">"volume-mounted"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>  *drive,
                                                        <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> *volume,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
This signal is emitted after the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em> has been mounted.
</p>
<p>
When the <em class="parameter"><code>volume</code></em> is mounted, it is added to the <em class="parameter"><code>drive</code></em>'s list of mounted
volumes, which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
</p>
<p>
It is also added to the list of the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted
volumes, which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been mounted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSDrive-volume-pre-unmount"></a><h3>The <code class="literal">"volume-pre-unmount"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>  *drive,
                                                        <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> *volume,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
This signal is emitted when the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which has been present in
the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, is about to be unmounted.
</p>
<p>
When the <em class="parameter"><code>volume</code></em> is unmounted, it is removed from the <em class="parameter"><code>drive</code></em>'s list of mounted
volumes, which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
</p>
<p>
It is also removed from the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.
</p>
<p>
When a client application receives this signal, it must free all resources
associated with the <em class="parameter"><code>volume</code></em>, for instance cancel all pending file operations
on the <em class="parameter"><code>volume</code></em>, and cancel all pending file monitors using <a class="link" href="gnome-vfs-2.0-gnome-vfs-monitor.html#gnome-vfs-monitor-cancel" title="gnome_vfs_monitor_cancel ()"><code class="function">gnome_vfs_monitor_cancel()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that is about to be unmounted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSDrive-volume-unmounted"></a><h3>The <code class="literal">"volume-unmounted"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>  *drive,
                                                        <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> *volume,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
This signal is emitted after the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which had been present in
the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, has been unmounted.
</p>
<p>
When the <em class="parameter"><code>volume</code></em> is unmounted, it is removed from the <em class="parameter"><code>drive</code></em>'s list of mounted
volumes, which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
</p>
<p>
It is also removed from the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
which can be queried using <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been unmounted.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>