2008-02-17 Lutz Mueller <lutz@users.sourceforge.net>
[platform/upstream/libexif.git] / libexif / exif-format.h
1 /* exif-format.h
2  *
3  * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful, 
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details. 
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __EXIF_FORMAT_H__
22 #define __EXIF_FORMAT_H__
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* __cplusplus */
27
28 typedef enum {
29         EXIF_FORMAT_BYTE       =  1,
30         EXIF_FORMAT_ASCII      =  2,
31         EXIF_FORMAT_SHORT      =  3,
32         EXIF_FORMAT_LONG       =  4,
33         EXIF_FORMAT_RATIONAL   =  5,
34         EXIF_FORMAT_SBYTE      =  6,
35         EXIF_FORMAT_UNDEFINED  =  7,
36         EXIF_FORMAT_SSHORT     =  8,
37         EXIF_FORMAT_SLONG      =  9,
38         EXIF_FORMAT_SRATIONAL  = 10,
39         EXIF_FORMAT_FLOAT      = 11,
40         EXIF_FORMAT_DOUBLE     = 12
41 } ExifFormat;
42
43 const char   *exif_format_get_name (ExifFormat format);
44 unsigned char exif_format_get_size (ExifFormat format);
45
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49
50 #endif /* __EXIF_FORMAT_H__ */