1240116Smarcel/* 2240116Smarcel Copyright 1999-2001, Be Incorporated. All Rights Reserved. 3240116Smarcel This file may be used under the terms of the Be Sample Code License. 4240116Smarcel 5240116Smarcel extended: 2001-12-11 by Marcus Overhagen 6240116Smarcel*/ 7240116Smarcel 8240116Smarcel#include <mime_table.h> 9240116Smarcel 10240116Smarcelstruct ext_mime mimes[] = { 11240116Smarcel { "gz", "application/x-gzip" }, 12240116Smarcel { "hqx", "application/x-binhex40" }, 13240116Smarcel { "lha", "application/x-lharc" }, 14240116Smarcel { "lzh", "application/x-lharc" }, 15240116Smarcel { "pcl", "application/x-pcl" }, 16240116Smarcel { "pdf", "application/pdf" }, 17240116Smarcel { "ps", "application/postscript" }, 18240116Smarcel { "sit", "application/x-stuff-it" }, 19240116Smarcel { "tar", "application/x-tar" }, 20240116Smarcel { "tgz", "application/x-gzip" }, 21240116Smarcel { "uue", "application/x-uuencode" }, 22240116Smarcel { "z", "application/x-compress" }, 23240116Smarcel { "zip", "application/zip" }, 24240116Smarcel { "zoo", "application/x-zoo" }, 25240116Smarcel { "pkg", "application/x-scode-UPkg" }, 26240116Smarcel { "vdwn", "application/x-scode-UPkg" }, 27240116Smarcel { "proj", "application/x-mw-project" }, 28240116Smarcel { "swf", "application/x-shockwave-flash" }, 29240116Smarcel { "clp", "application/x-codeliege-project" }, 30240116Smarcel 31 { "aif", "audio/x-aiff" }, 32 { "aifc", "audio/x-aifc" }, 33 { "aiff", "audio/x-aiff" }, 34 { "au", "audio/basic" }, 35 { "mid", "audio/x-midi" }, 36 { "midi", "audio/x-midi" }, 37 { "mod", "audio/mod" }, 38 { "ra", "audio/x-real-audio" }, 39 { "wav", "audio/x-wav" }, 40 { "mp2", "audio/x-mpeg" }, 41 { "mp3", "audio/x-mpeg" }, 42 { "ogg", "audio/x-vorbis" }, 43 { "mpc", "audio/x-mpc" }, 44 { "asf", "application/x-asf" }, 45 { "riff", "application/x-riff" }, 46 { "wma", "audio/x-ms-wma" }, 47 48 { "bmp", "image/x-bmp" }, 49 { "fax", "image/g3fax" }, 50 { "gif", "image/gif" }, 51 { "iff", "image/x-iff" }, 52 { "jpg", "image/jpeg" }, 53 { "jpeg", "image/jpeg" }, 54 { "pbm", "image/x-portable-bitmap" }, 55 { "pcx", "image/x-pcx" }, 56 { "pgm", "image/x-portable-graymap" }, 57 { "png", "image/png" }, 58 { "ppm", "image/x-portable-pixmap" }, 59 { "rgb", "image/x-rgb" }, 60 { "tga", "image/x-targa" }, 61 { "tif", "image/tiff" }, 62 { "tiff", "image/tiff" }, 63 { "xbm", "image/x-xbitmap" }, 64 65 { "txt", "text/plain" }, 66 { "ini", "text/plain" }, 67 { "log", "text/plain" }, 68 { "bat", "text/plain" }, 69 { "doc", "text/plain" }, 70 { "cfg", "text/plain" }, 71 { "inf", "text/plain" }, 72 { "htm", "text/html" }, 73 { "html", "text/html" }, 74 { "rtf", "text/rtf" }, 75 { "c", "text/x-source-code" }, 76 { "cc", "text/x-source-code" }, 77 { "c++", "text/x-source-code" }, 78 { "h", "text/x-source-code" }, 79 { "h++", "text/x-source-code" }, 80 { "hh", "text/x-source-code" }, 81 { "hpp", "text/x-source-code" }, 82 { "pl", "text/x-source-code" }, 83 { "py", "text/x-source-code" }, 84 { "cxx", "text/x-source-code" }, 85 { "cpp", "text/x-source-code" }, 86 { "S", "text/x-source-code" }, 87 { "asm", "text/x-source-code" }, 88 { "bas", "text/x-source-code" }, 89 { "pas", "text/x-source-code" }, 90 { "java", "text/x-source-code" }, 91 92 { "avi", "video/x-msvideo" }, 93 { "mov", "video/quicktime" }, 94 { "mpg", "video/mpeg" }, 95 { "mpeg", "video/mpeg" }, 96 { "ogm", "video/x-ogm" }, 97 { "wmv", "video/x-ms-wmv" }, 98 { "rm", "application/vnd.rn-realmedia" }, 99 { "rn", "application/vnd.rn-realmedia" }, 100 101 { 0, 0 } 102}; 103