1 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
2 /*          EXIFPROBE - TIFF/JPEG/EXIF image file probe               */
3 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
4 /* Copyright (C) 2002 by Duane H. Hesser. All rights reserved.        */
5 /*                                                                    */
6 /* See the file LICENSE.EXIFPROBE for terms of use.                   */
7 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
8 
9 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
10 /* @(#) $Id: ciff_datadefs.h,v 1.1 2005/05/25 15:38:07 alex Exp $" */
11 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
12 
13 #ifndef CIFF_DATADEFS_INCLUDED
14 #define CIFF_DATADEFS_INCLUDED
15 
16 
17 struct ciff_header {
18     unsigned short byteorder;
19     unsigned long headerlength;
20     char type[5];
21     char subtype[5];
22     unsigned long version;
23     unsigned long reserved1;
24     unsigned long reserved2;
25 };
26 
27 struct ciff_direntry {
28     unsigned short type;
29     unsigned long length;
30     unsigned long offset;
31 };
32 
33 #endif /* CIFF_DATADEFS_INCLUDED */
34