  
    
main.htmlMain Page     
classes.htmlData Structures     
files.htmlFiles     
dirs.htmlDirectories   
  
    
files.htmlFile List     
globals.htmlGlobals   
dir_3c4fde49625df9344590fff295c7c38d.htmllibexif exif-utils.h
exif-utils_8h.htmlGo to the documentation of this file. 00001 /* exif-utils.h 00002  * 00003  * Copyright © 2001 Lutz Müller <lutz@users.sourceforge.net> 00004  * 00005  * This library is free software; you can redistribute it and/or 00006  * modify it under the terms of the GNU Lesser General Public 00007  * License as published by the Free Software Foundation; either 00008  * version 2 of the License, or (at your option) any later version. 00009  * 00010  * This library is distributed in the hope that it will be useful, 00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 00013  * Lesser General Public License for more details. 00014  * 00015  * You should have received a copy of the GNU Lesser General Public 00016  * License along with this library; if not, write to the 00017  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00018  * Boston, MA 02111-1307, USA. 00019  */ 00020 
00021 #ifndef __EXIF_UTILS_H__ 00022 #define __EXIF_UTILS_H__ 00023 00024 #ifdef __cplusplus 00025 extern "C" {
00026 #endif /* __cplusplus */ 00027 
00028 #include < exif-byte-order_8h.htmllibexif/exif-byte-order.h > 00029 #include < exif-format_8h.htmllibexif/exif-format.h > 00030 #include < __stdint_8h.htmllibexif/_stdint.h > 00031 
00032 
00033 /* If these definitions don't work for you, please let us fix the 00034  * macro generating _stdint.h */ 00035         
exif-utils_8h.html#79f7cbd63388207dbbed3d20f6538a3400036  typedef char            exif-utils_8h.html#79f7cbd63388207dbbed3d20f6538a34ExifByte ;          /* 1 byte  */ exif-utils_8h.html#697f5af4295e78bc3c7f3f4262879b2f00037  typedef char *          exif-utils_8h.html#697f5af4295e78bc3c7f3f4262879b2fExifAscii ;
exif-utils_8h.html#398536727127a9bc2206ffbdacaafaad00038  typedef uint16_t        exif-utils_8h.html#398536727127a9bc2206ffbdacaafaadExifShort ;         /* 2 bytes */ exif-utils_8h.html#67d91a929ae0a1b734ced5f497428d3b00039  typedef int16_t         exif-utils_8h.html#67d91a929ae0a1b734ced5f497428d3bExifSShort ;        /* 2 bytes */ exif-utils_8h.html#34c5d7765ab2e6dec8308c5127a10afa00040  typedef uint32_t        exif-utils_8h.html#34c5d7765ab2e6dec8308c5127a10afaExifLong ;          /* 4 bytes */ structExifRational.html#f0b91792fb6f2a858be8ca9ae6795a1900041  typedef struct {ExifLong numerator; ExifLong denominator;} structExifRational.htmlExifRational ;
exif-utils_8h.html#f1a77ff12b7418e29f24258c9cdcbd0c00042  typedef char            exif-utils_8h.html#f1a77ff12b7418e29f24258c9cdcbd0cExifUndefined ;     /* 1 byte  */ exif-utils_8h.html#34d3e46cb03b44374e56984e6a98301900043  typedef int32_t         exif-utils_8h.html#34d3e46cb03b44374e56984e6a983019ExifSLong ;         /* 4 bytes */ structExifSRational.html#a815271c1e4470a0179a4329789c79be00044  typedef struct {ExifSLong numerator; ExifSLong denominator;} structExifSRational.htmlExifSRational ;
00045 
00046 
00047 ExifShort     exif-utils_8c.html#4b4acf537a8c6b9405e7b53be868e4d7exif_get_short      (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00048 ExifSShort    exif-utils_8c.html#6baf094a71392f9cea23ad633ec13c8bexif_get_sshort     (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00049 ExifLong      exif-utils_8c.html#4ad94614630897766dd0a5c9bc2a59bfexif_get_long       (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00050 ExifSLong     exif-utils_8c.html#56b96f076a13da6ed926e1ef29cb2dc3exif_get_slong      (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00051 structExifRational.htmlExifRational   exif-utils_8c.html#1feb547c289aa57a4d2119338b03706cexif_get_rational   (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00052 structExifSRational.htmlExifSRational  exif-utils_8c.html#db97c3499488d5642a82df1cb16dc2cbexif_get_srational  (const unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order);
00053 
00054 void exif-utils_8c.html#d905d16e26b4052a1db34dbebdc37341exif_set_short      (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00055                          ExifShort mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00056 void exif-utils_8c.html#6504651147702fc6db9a5cd4aa997023exif_set_sshort     (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00057                          ExifSShort mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00058 void exif-utils_8c.html#c90147d0cc97bec7a577bf9576191bf8exif_set_long       (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00059                          ExifLong mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00060 void exif-utils_8c.html#e6e3b9d1663f9ab9bd462d73a310ca03exif_set_slong      (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00061                          ExifSLong mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00062 void exif-utils_8c.html#400a16b1754150f721e9fca67ad89a52exif_set_rational   (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00063                          structExifRational.htmlExifRational  mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00064 void exif-utils_8c.html#ca1790a72b1833dff1b0bf728052c3c5exif_set_srational  (unsigned char *b, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  order,
00065                          structExifSRational.htmlExifSRational  mnote-canon-entry_8c.html#c3cc58975ec017f769b62d6e100e4d06value );
00066 
00067 /* Please do not use this function outside of the library. */ 00068 void exif-utils_8c.html#54ef3b86ffeb643e9c4434b85ccf2992exif_array_set_byte_order  ( exif-format_8h.html#761152047d73b4a9fcdc4e2051b817d2ExifFormat , unsigned char *, unsigned int,
00069                 exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  o_orig, exif-byte-order_8h.html#f966227d69ff74eea7ecd69ca645155bExifByteOrder  o_new);
00070 
00071 #undef  MIN exif-utils_8h.html#3acffbd305ee72dcd4593c0d8af64a4f00072  #define MIN(a, b)  (((a) < (b)) ? (a) : (b)) 00073 00074 /* For compatibility with older versions */ exif-utils_8h.html#e25323c5bacc023eef01d895d89b5b9a00075  #define EXIF_TAG_SUBSEC_TIME EXIF_TAG_SUB_SEC_TIME 00076 00077 #ifdef __cplusplus 00078 }
00079 #endif /* __cplusplus */ 00080 
00081 #endif /* __EXIF_UTILS_H__ */ Generated on Sun Apr 23 02:19:19 2006 for EXIF library (libexif) Internals by 
http://www.doxygen.org/index.htmldoxygen  1.4.6 