Updated to 2001-12-11 BeBits release.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 1999-2001, Be Incorporated. All Rights Reserved.
|
Copyright 1999-2001, Be Incorporated. All Rights Reserved.
|
||||||
This file may be used under the terms of the Be Sample Code License.
|
This file may be used under the terms of the Be Sample Code License.
|
||||||
|
|
||||||
|
extended: 2001-12-11 by Marcus Overhagen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct ext_mime {
|
struct ext_mime {
|
||||||
@@ -12,6 +14,7 @@ struct ext_mime mimes[] = {
|
|||||||
{ "gz", "application/x-gzip" },
|
{ "gz", "application/x-gzip" },
|
||||||
{ "hqx", "application/x-binhex40" },
|
{ "hqx", "application/x-binhex40" },
|
||||||
{ "lha", "application/x-lharc" },
|
{ "lha", "application/x-lharc" },
|
||||||
|
{ "lzh", "application/x-lharc" },
|
||||||
{ "pcl", "application/x-pcl" },
|
{ "pcl", "application/x-pcl" },
|
||||||
{ "pdf", "application/pdf" },
|
{ "pdf", "application/pdf" },
|
||||||
{ "ps", "application/postscript" },
|
{ "ps", "application/postscript" },
|
||||||
@@ -22,8 +25,14 @@ struct ext_mime mimes[] = {
|
|||||||
{ "z", "application/x-compress" },
|
{ "z", "application/x-compress" },
|
||||||
{ "zip", "application/zip" },
|
{ "zip", "application/zip" },
|
||||||
{ "zoo", "application/x-zoo" },
|
{ "zoo", "application/x-zoo" },
|
||||||
|
{ "pkg", "application/x-scode-UPkg" },
|
||||||
|
{ "vdwn", "application/x-scode-UPkg" },
|
||||||
|
{ "proj", "application/x-mw-project" },
|
||||||
|
{ "swf", "application/x-shockwave-flash" },
|
||||||
|
{ "clp", "application/x-codeliege-project" },
|
||||||
|
|
||||||
{ "aif", "audio/x-aiff" },
|
{ "aif", "audio/x-aiff" },
|
||||||
|
{ "aifc", "audio/x-aifc" },
|
||||||
{ "aiff", "audio/x-aiff" },
|
{ "aiff", "audio/x-aiff" },
|
||||||
{ "au", "audio/basic" },
|
{ "au", "audio/basic" },
|
||||||
{ "mid", "audio/x-midi" },
|
{ "mid", "audio/x-midi" },
|
||||||
@@ -31,7 +40,11 @@ struct ext_mime mimes[] = {
|
|||||||
{ "mod", "audio/mod" },
|
{ "mod", "audio/mod" },
|
||||||
{ "ra", "audio/x-real-audio" },
|
{ "ra", "audio/x-real-audio" },
|
||||||
{ "wav", "audio/x-wav" },
|
{ "wav", "audio/x-wav" },
|
||||||
|
{ "mp2", "audio/x-mpeg" },
|
||||||
{ "mp3", "audio/x-mpeg" },
|
{ "mp3", "audio/x-mpeg" },
|
||||||
|
{ "ogg", "audio/x-vorbis" },
|
||||||
|
{ "asf", "application/x-asf" },
|
||||||
|
{ "riff", "application/x-riff" },
|
||||||
|
|
||||||
{ "bmp", "image/x-bmp" },
|
{ "bmp", "image/x-bmp" },
|
||||||
{ "fax", "image/g3fax" },
|
{ "fax", "image/g3fax" },
|
||||||
@@ -51,7 +64,12 @@ struct ext_mime mimes[] = {
|
|||||||
{ "xbm", "image/x-xbitmap" },
|
{ "xbm", "image/x-xbitmap" },
|
||||||
|
|
||||||
{ "txt", "text/plain" },
|
{ "txt", "text/plain" },
|
||||||
|
{ "ini", "text/plain" },
|
||||||
|
{ "log", "text/plain" },
|
||||||
|
{ "bat", "text/plain" },
|
||||||
{ "doc", "text/plain" },
|
{ "doc", "text/plain" },
|
||||||
|
{ "cfg", "text/plain" },
|
||||||
|
{ "inf", "text/plain" },
|
||||||
{ "htm", "text/html" },
|
{ "htm", "text/html" },
|
||||||
{ "html", "text/html" },
|
{ "html", "text/html" },
|
||||||
{ "rtf", "text/rtf" },
|
{ "rtf", "text/rtf" },
|
||||||
@@ -59,16 +77,25 @@ struct ext_mime mimes[] = {
|
|||||||
{ "cc", "text/x-source-code" },
|
{ "cc", "text/x-source-code" },
|
||||||
{ "c++", "text/x-source-code" },
|
{ "c++", "text/x-source-code" },
|
||||||
{ "h", "text/x-source-code" },
|
{ "h", "text/x-source-code" },
|
||||||
|
{ "h++", "text/x-source-code" },
|
||||||
{ "hh", "text/x-source-code" },
|
{ "hh", "text/x-source-code" },
|
||||||
|
{ "hpp", "text/x-source-code" },
|
||||||
|
{ "pl", "text/x-source-code" },
|
||||||
|
{ "py", "text/x-source-code" },
|
||||||
{ "cxx", "text/x-source-code" },
|
{ "cxx", "text/x-source-code" },
|
||||||
{ "cpp", "text/x-source-code" },
|
{ "cpp", "text/x-source-code" },
|
||||||
{ "S", "text/x-source-code" },
|
{ "S", "text/x-source-code" },
|
||||||
|
{ "asm", "text/x-source-code" },
|
||||||
|
{ "bas", "text/x-source-code" },
|
||||||
|
{ "pas", "text/x-source-code" },
|
||||||
{ "java", "text/x-source-code" },
|
{ "java", "text/x-source-code" },
|
||||||
|
|
||||||
{ "avi", "video/x-msvideo" },
|
{ "avi", "video/x-msvideo" },
|
||||||
{ "mov", "video/quicktime" },
|
{ "mov", "video/quicktime" },
|
||||||
{ "mpg", "video/mpeg" },
|
{ "mpg", "video/mpeg" },
|
||||||
{ "mpeg", "video/mpeg" },
|
{ "mpeg", "video/mpeg" },
|
||||||
|
{ "rm", "application/vnd.rn-realmedia" },
|
||||||
|
{ "rn", "application/vnd.rn-realmedia" },
|
||||||
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user