clarion 769 B

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