summaryrefslogtreecommitdiff
path: root/sys/src/cmd/file.c
diff options
context:
space:
mode:
authorBurnZeZ <brz-9dev@feline.systems>2015-09-28 03:42:26 -0400
committerBurnZeZ <brz-9dev@feline.systems>2015-09-28 03:42:26 -0400
commited196fcb7ee8d6f9dac21d380a510853cd287236 (patch)
tree8086199c0cd28d86bfc49859e0e08afad3c788a9 /sys/src/cmd/file.c
parent0a3160261d471ec1775024ab1616a9a534626ef3 (diff)
file: detect DICOM and XM audio headers
Diffstat (limited to 'sys/src/cmd/file.c')
-rw-r--r--sys/src/cmd/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/file.c b/sys/src/cmd/file.c
index 04a4febf7..79d4f9a2f 100644
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -865,6 +865,7 @@ struct FILE_STRING
"BEGIN:VCARD\r\n", "vCard", 13, "text/directory;profile=vcard",
"BEGIN:VCARD\n", "vCard", 12, "text/directory;profile=vcard",
"AT&T", "DjVu document", 4, "image/vnd.djvu",
+ "Extended module: ", "XM audio", 17, "audio/xm",
0,0,0,0
};
@@ -902,6 +903,7 @@ struct offstr
struct FILE_STRING;
} offstrs[] = {
32*1024, "\001CD001\001", "ISO9660 CD image", 7, "application/x-iso9660-image",
+ 32*4, "DICM", "DICOM medical imaging data", 4, "application/dicom",
0, 0, 0, 0, 0
};