1*b6cee71dSXin LI 2*b6cee71dSXin LI#------------------------------------------------------------------------------ 3*b6cee71dSXin LI# $File: clarion,v 1.5 2014/04/30 21:41:02 christos Exp $ 4*b6cee71dSXin LI# clarion: file(1) magic for # Clarion Personal/Professional Developer 5*b6cee71dSXin LI# (v2 and above) 6*b6cee71dSXin LI# From: Julien Blache <jb@jblache.org> 7*b6cee71dSXin LI 8*b6cee71dSXin LI# Database files 9*b6cee71dSXin LI# signature 10*b6cee71dSXin LI0 leshort 0x3343 Clarion Developer (v2 and above) data file 11*b6cee71dSXin LI# attributes 12*b6cee71dSXin LI>2 leshort &0x0001 \b, locked 13*b6cee71dSXin LI>2 leshort &0x0004 \b, encrypted 14*b6cee71dSXin LI>2 leshort &0x0008 \b, memo file exists 15*b6cee71dSXin LI>2 leshort &0x0010 \b, compressed 16*b6cee71dSXin LI>2 leshort &0x0040 \b, read only 17*b6cee71dSXin LI# number of records 18*b6cee71dSXin LI>5 lelong x \b, %d records 19*b6cee71dSXin LI 20*b6cee71dSXin LI# Memo files 21*b6cee71dSXin LI0 leshort 0x334d Clarion Developer (v2 and above) memo data 22*b6cee71dSXin LI 23*b6cee71dSXin LI# Key/Index files 24*b6cee71dSXin LI# No magic? :( 25*b6cee71dSXin LI 26*b6cee71dSXin LI# Help files 27*b6cee71dSXin LI0 leshort 0x49e0 Clarion Developer (v2 and above) help data 28