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-data.h
exif-data_8h.html
Go to the documentation of this file.
00001
00023
#ifndef __EXIF_DATA_H__
00024
#define __EXIF_DATA_H__
00025
00026
#ifdef __cplusplus
00027
extern
"C"
{
00028
#endif
/* __cplusplus */
00029
00030
#include <
exif-byte-order_8h.html
libexif/exif-byte-order.h
>
00031
#include <
exif-data-type_8h.html
libexif/exif-data-type.h
>
00032
#include <
exif-ifd_8h.html
libexif/exif-ifd.h
>
00033
#include <
exif-log_8h.html
libexif/exif-log.h
>
00034
#include <
exif-tag_8h.html
libexif/exif-tag.h
>
00035
exif-data_8h.html#a1
00036
typedef
struct
struct__ExifData.html
_ExifData
ExifData;
exif-data_8h.html#a2
00037
typedef
struct
struct__ExifDataPrivate.html
_ExifDataPrivate
ExifDataPrivate;
00038
00039
#include <
exif-content_8h.html
libexif/exif-content.h
>
00040
#include <
exif-mnote-data_8h.html
libexif/exif-mnote-data.h
>
00041
#include <
exif-mem_8h.html
libexif/exif-mem.h
>
00042
struct__ExifData.html
00043
struct
struct__ExifData.html
_ExifData
00044 {
struct__ExifData.html#o0
00045
struct__ExifContent.html
ExifContent
*
struct__ExifData.html#o0
ifd
[
exif-ifd_8h.html#a7a5
EXIF_IFD_COUNT
];
00046
struct__ExifData.html#o1
00047
unsigned
char
*
struct__ExifData.html#o1
data
;
struct__ExifData.html#o2
00048
unsigned
int
struct__ExifData.html#o2
size
;
00049
struct__ExifData.html#o3
00050
ExifDataPrivate *
struct__ExifData.html#o3
priv
;
00051 };
00052
00053 ExifData *
exif-data_8c.html#a18
exif_data_new
(
void
);
00054 ExifData *
exif-data_8c.html#a19
exif_data_new_mem
(
struct__ExifMem.html
ExifMem
*);
00055
00061 ExifData *
exif-data_8c.html#a32
exif_data_new_from_file
(
const
char
*path);
00062 ExifData *
exif-data_8c.html#a20
exif_data_new_from_data
(
const
unsigned
char
*data,
00063
unsigned
int
exif-format_8c.html#a2
size
);
00064
00065
void
exif-data_8c.html#a30
exif_data_load_data
(ExifData *data,
const
unsigned
char
*d,
00066
unsigned
int
exif-format_8c.html#a2
size
);
00067
void
exif-data_8c.html#a31
exif_data_save_data
(ExifData *data,
unsigned
char
**d,
00068
unsigned
int
*
exif-format_8c.html#a2
size
);
00069
00070
void
exif-data_8c.html#a33
exif_data_ref
(ExifData *data);
00071
void
exif-data_8c.html#a34
exif_data_unref
(ExifData *data);
00072
void
exif-data_8c.html#a35
exif_data_free
(ExifData *data);
00073
00074
exif-byte-order_8h.html#a3
ExifByteOrder
exif-data_8c.html#a37
exif_data_get_byte_order
(ExifData *data);
00075
void
exif-data_8c.html#a41
exif_data_set_byte_order
(ExifData *data,
exif-byte-order_8h.html#a3
ExifByteOrder
order);
00076
00077
struct__ExifMnoteData.html
ExifMnoteData
*
exif-data_8c.html#a17
exif_data_get_mnote_data
(ExifData *);
00078
void
exif-data_8c.html#a49
exif_data_fix
(ExifData *);
00079
exif-data_8h.html#a3
00080
typedef
void (*
exif-data_8h.html#a3
ExifDataForeachContentFunc
) (
struct__ExifContent.html
ExifContent
*,
void
*user_data);
00081
void
exif-data_8c.html#a38
exif_data_foreach_content
(ExifData *data,
00082
exif-data_8h.html#a3
ExifDataForeachContentFunc
func,
00083
void
*user_data);
00084
exif-data_8h.html#a28
00085
typedef
enum
{
00086
exif-data_8h.html#a28a4
EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS
= 1 << 0,
00087
exif-data_8h.html#a28a5
EXIF_DATA_OPTION_FOLLOW_SPECIFICATION
= 1 << 1
00088 }
exif-data_8h.html#a28
ExifDataOption
;
00089
00090
const
char
*
exif-data_8c.html#a44
exif_data_option_get_name
(
exif-data_8h.html#a28
ExifDataOption
);
00091
const
char
*
exif-data_8c.html#a45
exif_data_option_get_description
(
exif-data_8h.html#a28
ExifDataOption
);
00092
void
exif-data_8c.html#a46
exif_data_set_option
(ExifData *,
exif-data_8h.html#a28
ExifDataOption
);
00093
void
exif-data_8c.html#a47
exif_data_unset_option
(ExifData *,
exif-data_8h.html#a28
ExifDataOption
);
00094
00095
void
exif-data_8c.html#a50
exif_data_set_data_type
(ExifData *,
exif-data-type_8h.html#a5
ExifDataType
);
00096
exif-data-type_8h.html#a5
ExifDataType
exif-data_8c.html#a51
exif_data_get_data_type
(ExifData *);
00097
00098
/* For debugging purposes and error reporting */
00099
void
exif-data_8c.html#a36
exif_data_dump
(ExifData *data);
00100
void
exif-data_8c.html#a42
exif_data_log
(ExifData *data,
struct__ExifLog.html
ExifLog
*log);
00101
00102
/* For your convenience */
exif-data_8h.html#a0
00103
#define exif_data_get_entry(d,t)                                        \
00104
(exif_content_get_entry(d->ifd[EXIF_IFD_0],t) ?                 \
00105
exif_content_get_entry(d->ifd[EXIF_IFD_0],t) :                 \
00106
exif_content_get_entry(d->ifd[EXIF_IFD_1],t) ?                 \
00107
exif_content_get_entry(d->ifd[EXIF_IFD_1],t) :                 \
00108
exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) ?              \
00109
exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) :              \
00110
exif_content_get_entry(d->ifd[EXIF_IFD_GPS],t) ?               \
00111
exif_content_get_entry(d->ifd[EXIF_IFD_GPS],t) :               \
00112
exif_content_get_entry(d->ifd[EXIF_IFD_INTEROPERABILITY],t) ?  \
00113
exif_content_get_entry(d->ifd[EXIF_IFD_INTEROPERABILITY],t) : NULL)
00114
00115
#ifdef __cplusplus
00116
}
00117
#endif
/* __cplusplus */
00118
00119
#endif
/* __EXIF_DATA_H__ */
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
