exif-format.h

Go to the documentation of this file.
00001 
00004 /*
00005  *
00006  * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful, 
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details. 
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the
00020  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021  * Boston, MA  02110-1301  USA.
00022  */
00023 
00024 #ifndef __EXIF_FORMAT_H__
00025 #define __EXIF_FORMAT_H__
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif /* __cplusplus */
00030 
00032 typedef enum {
00033         EXIF_FORMAT_BYTE       =  1,
00034         EXIF_FORMAT_ASCII      =  2,
00035         EXIF_FORMAT_SHORT      =  3,
00036         EXIF_FORMAT_LONG       =  4,
00037         EXIF_FORMAT_RATIONAL   =  5,
00038         EXIF_FORMAT_SBYTE      =  6,
00039         EXIF_FORMAT_UNDEFINED  =  7,
00040         EXIF_FORMAT_SSHORT     =  8,
00041         EXIF_FORMAT_SLONG      =  9,
00042         EXIF_FORMAT_SRATIONAL  = 10,
00043         EXIF_FORMAT_FLOAT      = 11,
00044         EXIF_FORMAT_DOUBLE     = 12
00045 } ExifFormat;
00046 
00052 const char   *exif_format_get_name (ExifFormat format);
00053 
00059 unsigned char exif_format_get_size (ExifFormat format);
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif /* __cplusplus */
00064 
00065 #endif /* __EXIF_FORMAT_H__ */

SourceForge.net Logo Generated by doxygen