From ed196fcb7ee8d6f9dac21d380a510853cd287236 Mon Sep 17 00:00:00 2001 From: BurnZeZ Date: Mon, 28 Sep 2015 03:42:26 -0400 Subject: file: detect DICOM and XM audio headers --- sys/src/cmd/file.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/src/cmd/file.c') 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 }; -- cgit v1.2.3