aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/extns.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-01-29 15:54:47 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-01-29 15:54:47 +0000
commit0015767f4ba483158910a0ea79042073e6a47340 (patch)
tree412ee3d35c649b1a6893475c11b724aa9ff798a6 /src/bin/extns.h
parentcleaner code... (diff)
downloadterminology-0015767f4ba483158910a0ea79042073e6a47340.tar.gz
tidy yp tycat - handle edj and mp3/audio files - ahare extensions
handling and filtering, actually free tup termblocks when no longer referenced without needing a gc, etc. ... SVN revision: 83441
Diffstat (limited to 'src/bin/extns.h')
-rw-r--r--src/bin/extns.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/bin/extns.h b/src/bin/extns.h
new file mode 100644
index 0000000..e65c8a3
--- /dev/null
+++ b/src/bin/extns.h
@@ -0,0 +1,39 @@
+static const char *extn_img[] =
+{
+ ".png", ".jpg", ".jpeg", ".jpe", ".jfif", ".tif", ".tiff", ".gif",
+ ".bmp", ".ico", ".ppm", ".pgm", ".pbm", ".pnm", ".xpm", ".psd", ".wbmp",
+ ".cur", ".xcf", ".xcf.gz", ".arw", ".cr2", ".crw", ".dcr", ".dng", ".k25",
+ ".kdc", ".erf", ".mrw", ".nef", ".nrf", ".nrw", ".orf", ".raw", ".rw2",
+ ".rw2", ".pef", ".raf", ".sr2", ".srf", ".x3f", ".webp",
+ NULL
+};
+
+static const char *extn_scale[] =
+{
+ ".svg", ".svgz", ".svg.gz", ".ps", ".ps.gz", ".pdf",
+ NULL
+};
+
+static const char *extn_edj[] =
+{
+ ".edj",
+ NULL
+};
+
+static const char *extn_mov[] =
+{
+ ".asf", ".avi", ".bdm", ".bdmv", ".clpi", ".cpi", ".dv", ".fla", ".flv",
+ ".m1v", ".m2t", ".m2v", ".m4v", ".mkv", ".mov", ".mp2", ".mp2ts", ".mp4",
+ ".mpe", ".mpeg", ".mpg", ".mpl", ".mpls", ".mts", ".mxf", ".nut", ".nuv",
+ ".ogg", ".ogm", ".ogv", ".qt", ".rm", ".rmj", ".rmm", ".rms", ".rmvb",
+ ".rmx", ".rv", ".swf", ".ts", ".weba", ".webm", ".wmv", ".3g2", ".3gp",
+ ".3gp2", ".3gpp", ".3gpp2", ".3p2", ".264",
+ ".mp3", ".aac", ".wav",
+ NULL
+};
+
+static const char *extn_aud[] =
+{
+ ".mp3", ".aac", ".wav",
+ NULL
+};