main.html
Main Page
|
dirs.html
Directories
|
files.html
File List
|
globals.html
Globals
dir_000000.html
libexif
exif-entry.h
00001
/* exif-entry.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_ENTRY_H__
00022
#define __EXIF_ENTRY_H__
00023
00024
#ifdef __cplusplus
00025
extern
"C"
{
00026
#endif
/* __cplusplus */
00027
00028
typedef
struct
_ExifEntry        ExifEntry;
00029
typedef
struct
_ExifEntryPrivate ExifEntryPrivate;
00030
00031
#include <libexif/exif-content.h>
00032
#include <libexif/exif-format.h>
00033
#include <libexif/exif-mem.h>
00034
00035
struct
_ExifEntry {
00036         ExifTag tag;
00037         ExifFormat format;
00038
unsigned
long
components;
00039
00040
unsigned
char
*data;
00041
unsigned
int
size;
00042
00043
/* Content containing this entry */
00044         ExifContent *parent;
00045
00046         ExifEntryPrivate *priv;
00047 };
00048
00049
/* Lifecycle */
00050 ExifEntry  *exif_entry_new     (
void
);
00051 ExifEntry  *exif_entry_new_mem (ExifMem *);
00052
void
exif_entry_ref     (ExifEntry *entry);
00053
void
exif_entry_unref   (ExifEntry *entry);
00054
void
exif_entry_free  (ExifEntry *entry);
00055
00056
void
exif_entry_initialize (ExifEntry *entry, ExifTag tag);
00057
void
exif_entry_fix        (ExifEntry *entry);
00058
00059
/* For your convenience */
00060
const
char
*exif_entry_get_value (ExifEntry *entry,
char
*val,
00061
unsigned
int
maxlen);
00062
00063
void
exif_entry_dump      (ExifEntry *entry,
unsigned
int
indent);
00064
00065
#define exif_entry_get_ifd(e) ((e)?exif_content_get_ifd((e)->parent):EXIF_IFD_COUNT)
00066
00067
#ifdef __cplusplus
00068
}
00069
#endif
/* __cplusplus */
00070
00071
#endif
/* __EXIF_ENTRY_H__ */
Generated on Fri Sep 9 16:28:12 2005 for EXIF library (libexif) API by
http://www.doxygen.org/index.html
doxygen
1.4.4
