This file is indexed.

/usr/share/doc/libgnomevfs2-common/html/gnome-vfs-2.0-gnome-vfs-mime-database.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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MIME Database</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="mime-registry.html" title="MIME Registry">
<link rel="prev" href="gnome-vfs-2.0-gnome-vfs-mime-utils.html" title="gnome-vfs-mime-utils">
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-mime-monitor.html" title="gnome-vfs-mime-monitor">
<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-mime-utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="mime-registry.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-mime-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-mime-database.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-mime-database.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database"></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-mime-database.top_of_page"></a>MIME Database</span></h2>
<p>MIME Database — functions for getting information about applications and components associated with MIME types.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication">GnomeVFSMimeApplication</a>;
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-application" title="gnome_vfs_mime_get_default_application ()">gnome_vfs_mime_get_default_application</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-application-for-uri" title="gnome_vfs_mime_get_default_application_for_uri ()">gnome_vfs_mime_get_default_application_for_uri</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *mime_type</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-mime-database.html#gnome-vfs-mime-get-all-applications" title="gnome_vfs_mime_get_all_applications ()">gnome_vfs_mime_get_all_applications</a> (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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-mime-database.html#gnome-vfs-mime-get-all-applications-for-uri" title="gnome_vfs_mime_get_all_applications_for_uri ()">gnome_vfs_mime_get_all_applications_for_uri</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *mime_type</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-mime-database.html#gnome-vfs-mime-get-all-desktop-entries" title="gnome_vfs_mime_get_all_desktop_entries ()">gnome_vfs_mime_get_all_desktop_entries</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-desktop-entry" title="gnome_vfs_mime_get_default_desktop_entry ()">gnome_vfs_mime_get_default_desktop_entry</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">Bonobo_ServerInfo</span> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-component" title="gnome_vfs_mime_get_default_component ()">gnome_vfs_mime_get_default_component</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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-mime-database.html#gnome-vfs-mime-get-all-components" title="gnome_vfs_mime_get_all_components ()">gnome_vfs_mime_get_all_components</a>   (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-icon" title="gnome_vfs_mime_get_icon ()">gnome_vfs_mime_get_icon</a>             (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-description" title="gnome_vfs_mime_get_description ()">gnome_vfs_mime_get_description</a>      (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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-mime-database.html#gnome-vfs-mime-can-be-executable" title="gnome_vfs_mime_can_be_executable ()">gnome_vfs_mime_can_be_executable</a>    (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-new-from-desktop-id" title="gnome_vfs_mime_application_new_from_desktop_id ()">gnome_vfs_mime_application_new_from_desktop_id</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch" title="gnome_vfs_mime_application_launch ()">gnome_vfs_mime_application_launch</a>   (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *uris</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch-with-env" title="gnome_vfs_mime_application_launch_with_env ()">gnome_vfs_mime_application_launch_with_env</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *uris</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **envp</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-desktop-id" title="gnome_vfs_mime_application_get_desktop_id ()">gnome_vfs_mime_application_get_desktop_id</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-desktop-file-path" title="gnome_vfs_mime_application_get_desktop_file_path ()">gnome_vfs_mime_application_get_desktop_file_path</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-name" title="gnome_vfs_mime_application_get_name ()">gnome_vfs_mime_application_get_name</a> (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-generic-name" title="gnome_vfs_mime_application_get_generic_name ()">gnome_vfs_mime_application_get_generic_name</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-icon" title="gnome_vfs_mime_application_get_icon ()">gnome_vfs_mime_application_get_icon</a> (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-exec" title="gnome_vfs_mime_application_get_exec ()">gnome_vfs_mime_application_get_exec</a> (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-binary-name" title="gnome_vfs_mime_application_get_binary_name ()">gnome_vfs_mime_application_get_binary_name</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</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-mime-database.html#gnome-vfs-mime-application-requires-terminal" title="gnome_vfs_mime_application_requires_terminal ()">gnome_vfs_mime_application_requires_terminal</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</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-mime-database.html#gnome-vfs-mime-application-supports-uris" title="gnome_vfs_mime_application_supports_uris ()">gnome_vfs_mime_application_supports_uris</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</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-mime-database.html#gnome-vfs-mime-application-supports-startup-notification" title="gnome_vfs_mime_application_supports_startup_notification ()">gnome_vfs_mime_application_supports_startup_notification</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-startup-wm-class" title="gnome_vfs_mime_application_get_startup_wm_class ()">gnome_vfs_mime_application_get_startup_wm_class</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</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-mime-database.html#gnome-vfs-mime-application-equal" title="gnome_vfs_mime_application_equal ()">gnome_vfs_mime_application_equal</a>    (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app_a</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app_b</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-copy" title="gnome_vfs_mime_application_copy ()">gnome_vfs_mime_application_copy</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-free" title="gnome_vfs_mime_application_free ()">gnome_vfs_mime_application_free</a>     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-list-free" title="gnome_vfs_mime_application_list_free ()">gnome_vfs_mime_application_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> *list</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-component-list-free" title="gnome_vfs_mime_component_list_free ()">gnome_vfs_mime_component_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> *list</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database.description"></a><h2>Description</h2>
<p>
This API can be used to query the applications and components associated with particular MIME types,
and to collect extra information about them, and also provides a convenience function for launching
them.
Applications can register themselves for particular MIME types by adhering to the
<a class="ulink" href="http://standards.freedesktop.org/desktop-entry-spec/latest" target="_top">
Freedesktop.Org Desktop Entry Specification</a>.
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeVFSMimeApplication"></a><h3>GnomeVFSMimeApplication</h3>
<pre class="programlisting">typedef struct {
	char *id;
	char *name;
} GnomeVFSMimeApplication;
</pre>
<p>
A struct encapsulating information about an
application known to the MIME database.
</p>
<p>
Only very few fields of this information are actually
public, most of them must be queried using the
<code class="literal">gnome_vfs_mime_application_*()</code>
API.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GnomeVFSMimeApplication.id"></a>id</code></em>;</span></p></td>
<td>The desktop ID of the application.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GnomeVFSMimeApplication.name"></a>name</code></em>;</span></p></td>
<td>The user-visible name of the application.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-application"></a><h3>gnome_vfs_mime_get_default_application ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_mime_get_default_application
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Query the MIME database for the application to be executed on files of MIME type
<em class="parameter"><code>mime_type</code></em> by default.
</p>
<p>
If you know the actual uri of the file you should use gnome_vfs_mime_get_default_application_for_uri
instead, as it will then be able to pick a better app. For instance it won't pick
an app that claims to only handle local files for a remote uri.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".</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-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> representing the default handler of <em class="parameter"><code>mime_type</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-application-for-uri"></a><h3>gnome_vfs_mime_get_default_application_for_uri ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_mime_get_default_application_for_uri
                                                        (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-all-applications"></a><h3>gnome_vfs_mime_get_all_applications ()</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_mime_get_all_applications (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Return an alphabetically sorted list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>
data structures representing all applications in the MIME database registered
to handle files of MIME type <em class="parameter"><code>mime_type</code></em> (and supertypes).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> * where the elements are <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *
representing applications that handle MIME type <em class="parameter"><code>mime_type</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-all-applications-for-uri"></a><h3>gnome_vfs_mime_get_all_applications_for_uri ()</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_mime_get_all_applications_for_uri
                                                        (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Return an alphabetically sorted list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>
data structures representing all applications in the MIME database able
to handle the file identified by <em class="parameter"><code>uri</code></em> of <em class="parameter"><code>mime_type</code></em> (and supertypes).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>a stringified uri.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> * where the elements are <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *
representing all possible handlers</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-all-desktop-entries"></a><h3>gnome_vfs_mime_get_all_desktop_entries ()</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_mime_get_all_desktop_entries
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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_mime_get_all_desktop_entries</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns all the desktop filenames for <em class="parameter"><code>mime_type</code></em>. The desktop files
are listed in an order so that default applications are listed before
non-default ones, and handlers for inherited mimetypes are listed
after the base ones.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a mime type.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing the desktop filenames containing the
<em class="parameter"><code>mime_type</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-desktop-entry"></a><h3>gnome_vfs_mime_get_default_desktop_entry ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gnome_vfs_mime_get_default_desktop_entry
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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_mime_get_default_desktop_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns the default desktop filename for <em class="parameter"><code>mime_type</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>mime_type</code></em> :</span></p></td>
<td>a mime type.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the default desktop filename for <em class="parameter"><code>mime_type</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-component"></a><h3>gnome_vfs_mime_get_default_component ()</h3>
<pre class="programlisting"><span class="returnvalue">Bonobo_ServerInfo</span> * gnome_vfs_mime_get_default_component
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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_mime_get_default_component</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-all-components"></a><h3>gnome_vfs_mime_get_all_components ()</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_mime_get_all_components   (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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_mime_get_all_components</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-icon"></a><h3>gnome_vfs_mime_get_icon ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_get_icon             (<em class="parameter"><code>const <span class="type">char</span> *mime_type</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_mime_get_icon</code> is deprecated and should not be used in newly-written code. Use <code class="function">gnome_icon_lookup()</code> function in libgnomeui instead.</p>
</div>
<p>
Query the MIME database for an icon representing the <em class="parameter"><code>mime_type</code></em>.
</p>
<p>
It usually returns a filename without path information, e.g. "i-chardev.png", and sometimes
does not have an extension, e.g. "i-regular" if the icon is supposed to be image
type agnostic between icon themes. Icons are generic and not theme specific. These
will not necessarily match with the icons a user sees in Nautilus, you have been warned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a  MIME type.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The filename of the icon as listed in the MIME database.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-description"></a><h3>gnome_vfs_mime_get_description ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_get_description      (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Query the MIME database for a description of the <em class="parameter"><code>mime_type</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>mime_type</code></em> :</span></p></td>
<td>the mime type.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>description of MIME type <em class="parameter"><code>mime_type</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-can-be-executable"></a><h3>gnome_vfs_mime_can_be_executable ()</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_mime_can_be_executable    (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Check whether files of <em class="parameter"><code>mime_type</code></em> might conceivably be executable.
Default for known types if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. Default for unknown types is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</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>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type.</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 files of <em class="parameter"><code>mime_type</code></em>
can be executable, <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>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-new-from-desktop-id"></a><h3>gnome_vfs_mime_application_new_from_desktop_id ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_mime_application_new_from_desktop_id
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
<p>
Returns a new <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> for the <em class="parameter"><code>id</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>id</code></em> :</span></p></td>
<td>the identifier of a desktop entry.</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-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-launch"></a><h3>gnome_vfs_mime_application_launch ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_application_launch   (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *uris</code></em>);</pre>
<p>
Launches the given mime application with the given parameters.
Command line parameters will be expanded as required by the
application. The application will also be launched in a terminal
if that is required. If the application only supports one argument 
per instance then multiple instances of the application will be 
launched.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> to launch.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uris</code></em> :</span></p></td>
<td>parameters for the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-OK:CAPS"><code class="literal">GNOME_VFS_OK</code></a> if the application was launched.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">GNOME_VFS_ERROR_NOT_SUPPORTED</code></a> if the uri protocol is not
supported by the application.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-PARSE:CAPS"><code class="literal">GNOME_VFS_ERROR_PARSE</code></a> if the application command can not
be parsed.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-LAUNCH:CAPS"><code class="literal">GNOME_VFS_ERROR_LAUNCH</code></a> if the application command can not
be launched.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-INTERNAL:CAPS"><code class="literal">GNOME_VFS_ERROR_INTERNAL</code></a> for other internal and GConf errors.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-launch-with-env"></a><h3>gnome_vfs_mime_application_launch_with_env ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_application_launch_with_env
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *uris</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **envp</code></em>);</pre>
<p>
Same as <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch" title="gnome_vfs_mime_application_launch ()"><code class="function">gnome_vfs_mime_application_launch()</code></a> except that
the application will be launched with the given environment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> to launch.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uris</code></em> :</span></p></td>
<td>parameters for the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>envp</code></em> :</span></p></td>
<td>the environment to use for the application.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>same as <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch" title="gnome_vfs_mime_application_launch ()"><code class="function">gnome_vfs_mime_application_launch()</code></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-desktop-id"></a><h3>gnome_vfs_mime_application_get_desktop_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_desktop_id
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the identifier of the desktop entry.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the identifier of the desktop entry.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-desktop-file-path"></a><h3>gnome_vfs_mime_application_get_desktop_file_path ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_desktop_file_path
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the path of the desktop entry, a configuration
file describing the properties of a particular program like
it's name, how it is to be launched, how it appears in menus.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the path of the .desktop file.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-name"></a><h3>gnome_vfs_mime_application_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_name (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the name of the application <em class="parameter"><code>app</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>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the name of the application.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-generic-name"></a><h3>gnome_vfs_mime_application_get_generic_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_generic_name
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the generic name of the application.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the generic name of the application.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-icon"></a><h3>gnome_vfs_mime_application_get_icon ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_icon (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns an icon representing the specified application.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the filename of the icon usually without path information,
e.g. "gedit-icon.png", and sometimes does not have an extension,
e.g. "gnome-pdf" if the icon is supposed to be image type agnostic between
icon themes. Icons are generic, and not theme specific.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-exec"></a><h3>gnome_vfs_mime_application_get_exec ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_exec (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the program to execute, possibly with arguments
and parameter variables, as specified by the
<a class="ulink" href="http://standards.freedesktop.org/desktop-entry-spec/" target="_top">
Desktop Entry Specification</a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the command line to execute.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-binary-name"></a><h3>gnome_vfs_mime_application_get_binary_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_binary_name
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the binary name of the specified application.
Useful to implement startup notification.
Note that this only provides partial information about
application execution, it misses arguments and macros.
DO NOT USE it to launch the application.
Use gnome_vfs_mime_application_launch or
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-get-exec" title="gnome_vfs_mime_application_get_exec ()"><code class="function">gnome_vfs_mime_application_get_exec()</code></a> if you really
need to write a custom launcher.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the application's binary name.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-requires-terminal"></a><h3>gnome_vfs_mime_application_requires_terminal ()</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_mime_application_requires_terminal
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns whether the application runs in a terminal window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</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 application runs in a terminal.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-supports-uris"></a><h3>gnome_vfs_mime_application_supports_uris ()</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_mime_application_supports_uris
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns whether the application accept uris as command
lines arguments.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</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 application can handle uris.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-supports-startup-notification"></a><h3>gnome_vfs_mime_application_supports_startup_notification ()</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_mime_application_supports_startup_notification
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns whether the application supports startup notification.
If true, it is KNOWN that the application will send a
"remove" message when started with the DESKTOP_LAUNCH_ID
environment variable set.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</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 application supports startup notification.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-get-startup-wm-class"></a><h3>gnome_vfs_mime_application_get_startup_wm_class ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_application_get_startup_wm_class
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app</code></em>);</pre>
<p>
Returns the WM class of the main window of the application.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The WM class of the application's window</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-equal"></a><h3>gnome_vfs_mime_application_equal ()</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_mime_application_equal    (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app_a</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *app_b</code></em>);</pre>
<p>
Compare <em class="parameter"><code>app_a</code></em> and <em class="parameter"><code>app_b</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>app_a</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_b</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</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 <em class="parameter"><code>app_a</code></em> and <em class="parameter"><code>app_b</code></em> are equal, <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.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-copy"></a><h3>gnome_vfs_mime_application_copy ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_mime_application_copy
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);</pre>
<p>
Creates a newly referenced copy of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> to be duplicated.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a copy of <em class="parameter"><code>application</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-free"></a><h3>gnome_vfs_mime_application_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_application_free     (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *application</code></em>);</pre>
<p>
Frees a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> to be freed.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-list-free"></a><h3>gnome_vfs_mime_application_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_application_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> *list</code></em>);</pre>
<p>
Frees lists of <span class="type">GnomeVFSApplications</span>, as returned from functions such
as <code class="function">gnome_vfs_get_all_applications()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <span class="type">GnomeVFSApplication</span> * to be freed.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-component-list-free"></a><h3>gnome_vfs_mime_component_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_component_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> *list</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_mime_component_list_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>