xref: /haiku/src/add-ons/kernel/generic/mime_table/mime_table.c (revision d9574bb8925a9bb74f2b0fefb0c231768d4ace80)
1*d9574bb8SFrançois Revol /*
2*d9574bb8SFrançois Revol 	Copyright 1999-2001, Be Incorporated.   All Rights Reserved.
3*d9574bb8SFrançois Revol 	This file may be used under the terms of the Be Sample Code License.
4*d9574bb8SFrançois Revol 
5*d9574bb8SFrançois Revol 	extended: 2001-12-11 by Marcus Overhagen
6*d9574bb8SFrançois Revol */
7*d9574bb8SFrançois Revol 
8*d9574bb8SFrançois Revol #include <mime_table.h>
9*d9574bb8SFrançois Revol 
10*d9574bb8SFrançois Revol struct ext_mime mimes[] = {
11*d9574bb8SFrançois Revol 	{ "gz", "application/x-gzip" },
12*d9574bb8SFrançois Revol 	{ "hqx", "application/x-binhex40" },
13*d9574bb8SFrançois Revol 	{ "lha", "application/x-lharc" },
14*d9574bb8SFrançois Revol 	{ "lzh", "application/x-lharc" },
15*d9574bb8SFrançois Revol 	{ "pcl", "application/x-pcl" },
16*d9574bb8SFrançois Revol 	{ "pdf", "application/pdf" },
17*d9574bb8SFrançois Revol 	{ "ps", "application/postscript" },
18*d9574bb8SFrançois Revol 	{ "sit", "application/x-stuff-it" },
19*d9574bb8SFrançois Revol 	{ "tar", "application/x-tar" },
20*d9574bb8SFrançois Revol 	{ "tgz", "application/x-gzip" },
21*d9574bb8SFrançois Revol 	{ "uue", "application/x-uuencode" },
22*d9574bb8SFrançois Revol 	{ "z", "application/x-compress" },
23*d9574bb8SFrançois Revol 	{ "zip", "application/zip" },
24*d9574bb8SFrançois Revol 	{ "zoo", "application/x-zoo" },
25*d9574bb8SFrançois Revol 	{ "pkg", "application/x-scode-UPkg" },
26*d9574bb8SFrançois Revol 	{ "vdwn", "application/x-scode-UPkg" },
27*d9574bb8SFrançois Revol 	{ "proj", "application/x-mw-project" },
28*d9574bb8SFrançois Revol 	{ "swf", "application/x-shockwave-flash" },
29*d9574bb8SFrançois Revol 	{ "clp", "application/x-codeliege-project" },
30*d9574bb8SFrançois Revol 
31*d9574bb8SFrançois Revol 	{ "aif", "audio/x-aiff" },
32*d9574bb8SFrançois Revol 	{ "aifc", "audio/x-aifc" },
33*d9574bb8SFrançois Revol 	{ "aiff", "audio/x-aiff" },
34*d9574bb8SFrançois Revol 	{ "au", "audio/basic" },
35*d9574bb8SFrançois Revol 	{ "mid", "audio/x-midi" },
36*d9574bb8SFrançois Revol 	{ "midi", "audio/x-midi" },
37*d9574bb8SFrançois Revol 	{ "mod", "audio/mod" },
38*d9574bb8SFrançois Revol 	{ "ra", "audio/x-real-audio" },
39*d9574bb8SFrançois Revol 	{ "wav", "audio/x-wav" },
40*d9574bb8SFrançois Revol 	{ "mp2", "audio/x-mpeg" },
41*d9574bb8SFrançois Revol 	{ "mp3", "audio/x-mpeg" },
42*d9574bb8SFrançois Revol 	{ "ogg", "audio/x-vorbis" },
43*d9574bb8SFrançois Revol 	{ "mpc", "audio/x-mpc" },
44*d9574bb8SFrançois Revol 	{ "asf", "application/x-asf" },
45*d9574bb8SFrançois Revol 	{ "riff", "application/x-riff" },
46*d9574bb8SFrançois Revol 	{ "wma", "audio/x-ms-wma" },
47*d9574bb8SFrançois Revol 
48*d9574bb8SFrançois Revol 	{ "bmp", "image/x-bmp" },
49*d9574bb8SFrançois Revol 	{ "fax", "image/g3fax" },
50*d9574bb8SFrançois Revol 	{ "gif", "image/gif" },
51*d9574bb8SFrançois Revol 	{ "iff", "image/x-iff" },
52*d9574bb8SFrançois Revol 	{ "jpg", "image/jpeg" },
53*d9574bb8SFrançois Revol 	{ "jpeg", "image/jpeg" },
54*d9574bb8SFrançois Revol 	{ "pbm", "image/x-portable-bitmap" },
55*d9574bb8SFrançois Revol 	{ "pcx", "image/x-pcx" },
56*d9574bb8SFrançois Revol 	{ "pgm", "image/x-portable-graymap" },
57*d9574bb8SFrançois Revol 	{ "png", "image/png" },
58*d9574bb8SFrançois Revol 	{ "ppm", "image/x-portable-pixmap" },
59*d9574bb8SFrançois Revol 	{ "rgb", "image/x-rgb" },
60*d9574bb8SFrançois Revol 	{ "tga", "image/x-targa" },
61*d9574bb8SFrançois Revol 	{ "tif", "image/tiff" },
62*d9574bb8SFrançois Revol 	{ "tiff", "image/tiff" },
63*d9574bb8SFrançois Revol 	{ "xbm", "image/x-xbitmap" },
64*d9574bb8SFrançois Revol 
65*d9574bb8SFrançois Revol 	{ "txt", "text/plain" },
66*d9574bb8SFrançois Revol 	{ "ini", "text/plain" },
67*d9574bb8SFrançois Revol 	{ "log", "text/plain" },
68*d9574bb8SFrançois Revol 	{ "bat", "text/plain" },
69*d9574bb8SFrançois Revol 	{ "doc", "text/plain" },
70*d9574bb8SFrançois Revol 	{ "cfg", "text/plain" },
71*d9574bb8SFrançois Revol 	{ "inf", "text/plain" },
72*d9574bb8SFrançois Revol 	{ "htm", "text/html" },
73*d9574bb8SFrançois Revol 	{ "html", "text/html" },
74*d9574bb8SFrançois Revol 	{ "rtf", "text/rtf" },
75*d9574bb8SFrançois Revol 	{ "c", "text/x-source-code" },
76*d9574bb8SFrançois Revol 	{ "cc", "text/x-source-code" },
77*d9574bb8SFrançois Revol 	{ "c++", "text/x-source-code" },
78*d9574bb8SFrançois Revol 	{ "h", "text/x-source-code" },
79*d9574bb8SFrançois Revol 	{ "h++", "text/x-source-code" },
80*d9574bb8SFrançois Revol 	{ "hh", "text/x-source-code" },
81*d9574bb8SFrançois Revol 	{ "hpp", "text/x-source-code" },
82*d9574bb8SFrançois Revol 	{ "pl", "text/x-source-code" },
83*d9574bb8SFrançois Revol 	{ "py", "text/x-source-code" },
84*d9574bb8SFrançois Revol 	{ "cxx", "text/x-source-code" },
85*d9574bb8SFrançois Revol 	{ "cpp", "text/x-source-code" },
86*d9574bb8SFrançois Revol 	{ "S", "text/x-source-code" },
87*d9574bb8SFrançois Revol 	{ "asm", "text/x-source-code" },
88*d9574bb8SFrançois Revol 	{ "bas", "text/x-source-code" },
89*d9574bb8SFrançois Revol 	{ "pas", "text/x-source-code" },
90*d9574bb8SFrançois Revol 	{ "java", "text/x-source-code" },
91*d9574bb8SFrançois Revol 
92*d9574bb8SFrançois Revol 	{ "avi", "video/x-msvideo" },
93*d9574bb8SFrançois Revol 	{ "mov", "video/quicktime" },
94*d9574bb8SFrançois Revol 	{ "mpg", "video/mpeg" },
95*d9574bb8SFrançois Revol 	{ "mpeg", "video/mpeg" },
96*d9574bb8SFrançois Revol 	{ "ogm", "video/x-ogm" },
97*d9574bb8SFrançois Revol 	{ "wmv", "video/x-ms-wmv" },
98*d9574bb8SFrançois Revol 	{ "rm", "application/vnd.rn-realmedia" },
99*d9574bb8SFrançois Revol 	{ "rn", "application/vnd.rn-realmedia" },
100*d9574bb8SFrançois Revol 
101*d9574bb8SFrançois Revol 	{ 0, 0 }
102*d9574bb8SFrançois Revol };
103