File: ciff_datadefs.h

package info (click to toggle)
exifprobe 2.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,280 kB
  • ctags: 1,800
  • sloc: ansic: 34,256; sh: 413; makefile: 123
file content (33 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/*          EXIFPROBE - TIFF/JPEG/EXIF image file probe               */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* Copyright (C) 2002 by Duane H. Hesser. All rights reserved.        */
/*                                                                    */
/* See the file LICENSE.EXIFPROBE for terms of use.                   */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* @(#) $Id: ciff_datadefs.h,v 1.1 2005/05/25 15:38:07 alex Exp $" */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

#ifndef CIFF_DATADEFS_INCLUDED
#define CIFF_DATADEFS_INCLUDED


struct ciff_header {
    unsigned short byteorder;
    unsigned long headerlength;
    char type[5];
    char subtype[5];
    unsigned long version;
    unsigned long reserved1;
    unsigned long reserved2;
};

struct ciff_direntry {
    unsigned short type;
    unsigned long length;
    unsigned long offset;
};

#endif /* CIFF_DATADEFS_INCLUDED */