clarion 712 B

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