  
    
main.htmlMain Page     
classes.htmlData Structures     
files.htmlFiles     
dirs.htmlDirectories   
  
    
files.htmlFile List     
globals.htmlGlobals   
dir_3c4fde49625df9344590fff295c7c38d.htmllibexif exif-ifd.c
exif-ifd_8c.htmlGo to the documentation of this file. 00001 /* exif-ifd.c 00002  * 00003  * Copyright © 2002 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.1 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 #include <config.h> 00022 
00023 #include < exif-ifd_8h.htmllibexif/exif-ifd.h > 00024 
00025 #include <stdlib.h> 00026 
00027 static struct {
exif-ifd_8c.html#557f08b1d90e26e072167911210c9eb100028          exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf523ExifIfd  exif-ifd_8c.html#557f08b1d90e26e072167911210c9eb1ifd ;
exif-ifd_8c.html#8f8f80d37794cde9472343e4487ba3eb00029          const char * mnote-canon-entry_8c.html#5ac083a645d964373f022d03df4849c8name ;
00030 } exif-ifd_8c.html#6cd59056cb9b9cf8344bbe5e8a6d1c13ExifIfdTable [] = {
00031         { exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf523dba1cc10dacaad97ca9ba61d391e218cEXIF_IFD_0 , "0"},
00032         { exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf5239ecbe6f6d48d2d5702aab804e3196409EXIF_IFD_1 , "1"},
00033         { exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf5239dce0091318fd65e7c05f1b39fa9a177EXIF_IFD_EXIF , "EXIF"},
00034         { exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf5230ef0053cc0238dfea6770310ec478270EXIF_IFD_GPS , "GPS"},
00035         { exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf52387105b7ad04d314b1f8fc8478874cc29EXIF_IFD_INTEROPERABILITY , "Interoperability"},
00036         {0, NULL}
00037 };
00038 
00039 const char *
exif-ifd_8h.html#57651cc68698f037cd9fb8f9d3a021a200040  exif-ifd_8c.html#57651cc68698f037cd9fb8f9d3a021a2exif_ifd_get_name  ( exif-ifd_8h.html#7d1ed13ce50db58b739185faa1faf523ExifIfd  exif-ifd_8c.html#557f08b1d90e26e072167911210c9eb1ifd )
00041 {
00042         unsigned int i;
00043 
00044         for (i = 0; exif-ifd_8c.html#6cd59056cb9b9cf8344bbe5e8a6d1c13ExifIfdTable [i].name; i++)
00045                 if ( exif-ifd_8c.html#6cd59056cb9b9cf8344bbe5e8a6d1c13ExifIfdTable [i].ifd == ifd)
00046                         break;
00047 
00048         return ( exif-ifd_8c.html#6cd59056cb9b9cf8344bbe5e8a6d1c13ExifIfdTable [i]. mnote-canon-entry_8c.html#5ac083a645d964373f022d03df4849c8name );
00049 }
Generated on Sun Apr 23 02:19:18 2006 for EXIF library (libexif) Internals by 
http://www.doxygen.org/index.htmldoxygen  1.4.6 