main.html
Main Page
|
classes.html
Alphabetical List
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
functions.html
Data Fields
|
globals.html
Globals
dir_000000.html
libexif
exif-ifd.c
exif-ifd_8c.html
Go 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.html
libexif/exif-ifd.h
>
00024
00025
#include <stdlib.h>
00026
00027
static
struct
{
exif-ifd_8c.html#a0
00028
exif-ifd_8h.html#a7
ExifIfd
exif-ifd_8c.html#a0
ifd
;
exif-ifd_8c.html#a1
00029
const
char
*
mnote-canon-entry_8c.html#a6
name
;
00030 }
exif-ifd_8c.html#a2
ExifIfdTable
[] = {
00031         {
exif-ifd_8h.html#a7a0
EXIF_IFD_0
,
"0"
},
00032         {
exif-ifd_8h.html#a7a1
EXIF_IFD_1
,
"1"
},
00033         {
exif-ifd_8h.html#a7a2
EXIF_IFD_EXIF
,
"EXIF"
},
00034         {
exif-ifd_8h.html#a7a3
EXIF_IFD_GPS
,
"GPS"
},
00035         {
exif-ifd_8h.html#a7a4
EXIF_IFD_INTEROPERABILITY
,
"Interoperability"
},
00036         {0, NULL}
00037 };
00038
00039
const
char
*
exif-ifd_8h.html#a6
00040
exif-ifd_8c.html#a3
exif_ifd_get_name
(
exif-ifd_8h.html#a7
ExifIfd
exif-ifd_8c.html#a0
ifd
)
00041 {
00042
unsigned
int
i;
00043
00044
for
(i = 0;
exif-ifd_8c.html#a2
ExifIfdTable
[i].
mnote-canon-entry_8c.html#a6
name
; i++)
00045
if
(
exif-ifd_8c.html#a2
ExifIfdTable
[i].ifd == ifd)
00046
break
;
00047
00048
return
(
exif-ifd_8c.html#a2
ExifIfdTable
[i].
mnote-canon-entry_8c.html#a6
name
);
00049 }
Generated on Fri Sep 9 16:28:11 2005 for EXIF library (libexif) Internals by
http://www.doxygen.org/index.html
doxygen
1.4.4
