  
    
main.htmlMain Page     
classes.htmlData Structures     
files.htmlFiles     
dirs.htmlDirectories   
  
    
files.htmlFile List     
globals.htmlGlobals   
dir_20715630405f3b63e7ab7a5c713843d9.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#b2d70b13403c886d20dd36201180b69f00028          exif-ifd_8h.html#012eb589be30809b32b28959abda81e6ExifIfd  exif-ifd_8c.html#b2d70b13403c886d20dd36201180b69fifd ;
exif-ifd_8c.html#c9ef026b2193e5a22a4fe38bf420671300029          const char * mnote-canon-entry_8c.html#f7de737402a426cb055e20e44007597dname ;
00030 } exif-ifd_8c.html#b3fa274c42db595ec7ca5190d36a0cd0ExifIfdTable [] = {
00031         { exif-ifd_8h.html#012eb589be30809b32b28959abda81e6fb0a630569c79615438114bf16038ea6EXIF_IFD_0 , "0"},
00032         { exif-ifd_8h.html#012eb589be30809b32b28959abda81e6dde8e56fdee7c8874c72c7484e978218EXIF_IFD_1 , "1"},
00033         { exif-ifd_8h.html#012eb589be30809b32b28959abda81e60febbc743b5c7bca8248a7c39cfb1ebcEXIF_IFD_EXIF , "EXIF"},
00034         { exif-ifd_8h.html#012eb589be30809b32b28959abda81e6671420cd9eccca3c34db0476949f7cedEXIF_IFD_GPS , "GPS"},
00035         { exif-ifd_8h.html#012eb589be30809b32b28959abda81e6993503e00dda7ba098815692d761e037EXIF_IFD_INTEROPERABILITY , "Interoperability"},
00036         {0, NULL}
00037 };
00038 
00039 const char *
exif-ifd_8h.html#13a16ae4cebfc6d3199b84cb693915cb00040  exif-ifd_8c.html#13a16ae4cebfc6d3199b84cb693915cbexif_ifd_get_name  ( exif-ifd_8h.html#012eb589be30809b32b28959abda81e6ExifIfd  exif-ifd_8c.html#b2d70b13403c886d20dd36201180b69fifd )
00041 {
00042         unsigned int i;
00043 
00044         for (i = 0; exif-ifd_8c.html#b3fa274c42db595ec7ca5190d36a0cd0ExifIfdTable [i].name; i++)
00045                 if ( exif-ifd_8c.html#b3fa274c42db595ec7ca5190d36a0cd0ExifIfdTable [i].ifd == ifd)
00046                         break;
00047 
00048         return ( exif-ifd_8c.html#b3fa274c42db595ec7ca5190d36a0cd0ExifIfdTable [i]. mnote-canon-entry_8c.html#f7de737402a426cb055e20e44007597dname );
00049 }
Generated on Sun Apr 23 01:22:39 2006 for EXIF library (libexif) Internals by 
http://www.doxygen.org/index.htmldoxygen  1.4.6 