23 #ifndef LIBEXIF_EXIF_CONTENT_H
24 #define LIBEXIF_EXIF_CONTENT_H
32 typedef struct _ExifContentPrivate ExifContentPrivate;
48 ExifContentPrivate *priv;
130 typedef void (* ExifContentForeachEntryFunc) (
ExifEntry *,
void *user_data);
140 ExifContentForeachEntryFunc func,
158 #define exif_content_get_value(c,t,v,m) \
159 (exif_content_get_entry (c,t) ? \
160 exif_entry_get_value (exif_content_get_entry (c,t),v,m) : NULL)
void exif_content_remove_entry(ExifContent *c, ExifEntry *e)
Remove an EXIF tag from an IFD.
Definition: exif-content.c:163
ExifIfd exif_content_get_ifd(ExifContent *c)
Return the IFD number in which the given ExifContent is found.
Definition: exif-content.c:240
void exif_content_fix(ExifContent *c)
Fix the IFD to bring it into specification.
Definition: exif-content.c:284
ExifContent * exif_content_new_mem(ExifMem *)
Reserve memory for and initialize new ExifContent using the specified memory allocator.
Definition: exif-content.c:54
void exif_content_ref(ExifContent *content)
Increase reference counter for ExifContent.
Definition: exif-content.c:79
void exif_content_unref(ExifContent *content)
Decrease reference counter for ExifContent.
Definition: exif-content.c:88
void exif_content_add_entry(ExifContent *c, ExifEntry *entry)
Add an EXIF tag to an IFD.
Definition: exif-content.c:139
void exif_content_dump(ExifContent *content, unsigned int indent)
Dump contents of the IFD to stdout.
Definition: exif-content.c:120
ExifEntry * exif_content_get_entry(ExifContent *content, ExifTag tag)
Return the ExifEntry in this IFD corresponding to the given tag.
Definition: exif-content.c:202
void exif_content_log(ExifContent *content, ExifLog *log)
Set the log message object for this IFD.
Definition: exif-content.c:229
void exif_content_foreach_entry(ExifContent *content, ExifContentForeachEntryFunc func, void *user_data)
Executes function on each EXIF tag in this IFD in turn.
Definition: exif-content.c:216
ExifContent * exif_content_new(void)
Reserve memory for and initialize a new ExifContent.
Definition: exif-content.c:43
void exif_content_free(ExifContent *content)
Actually free the ExifContent.
Definition: exif-content.c:99
Defines the ExifData type and the associated functions.
Log message infrastructure.
struct _ExifLog ExifLog
State maintained by the logging interface.
Definition: exif-log.h:34
Define the ExifMem data type and the associated functions.
struct _ExifMem ExifMem
ExifMem define a memory allocator.
Definition: exif-mem.h:57
ExifTag
EXIF tags.
Definition: exif-tag.h:34
Definition: exif-content.h:41
ExifData * parent
Data containing this content.
Definition: exif-content.h:46
Represents the entire EXIF data found in an image.
Definition: exif-data.h:47
Data found in one EXIF tag.
Definition: exif-entry.h:43