1284194Sdelphij 2284194Sdelphij#------------------------------------------------------------------------------ 3284194Sdelphij# $File: clarion,v 1.5 2014/04/30 21:41:02 christos Exp $ 4284194Sdelphij# clarion: file(1) magic for # Clarion Personal/Professional Developer 5284194Sdelphij# (v2 and above) 6284194Sdelphij# From: Julien Blache <jb@jblache.org> 7284194Sdelphij 8284194Sdelphij# Database files 9284194Sdelphij# signature 10284194Sdelphij0 leshort 0x3343 Clarion Developer (v2 and above) data file 11284194Sdelphij# attributes 12284194Sdelphij>2 leshort &0x0001 \b, locked 13284194Sdelphij>2 leshort &0x0004 \b, encrypted 14284194Sdelphij>2 leshort &0x0008 \b, memo file exists 15284194Sdelphij>2 leshort &0x0010 \b, compressed 16284194Sdelphij>2 leshort &0x0040 \b, read only 17284194Sdelphij# number of records 18284194Sdelphij>5 lelong x \b, %d records 19284194Sdelphij 20284194Sdelphij# Memo files 21284194Sdelphij0 leshort 0x334d Clarion Developer (v2 and above) memo data 22284194Sdelphij 23284194Sdelphij# Key/Index files 24284194Sdelphij# No magic? :( 25284194Sdelphij 26284194Sdelphij# Help files 27284194Sdelphij0 leshort 0x49e0 Clarion Developer (v2 and above) help data 28