EXIF library (libexif) API: libexif/exif-loader.h Source File

EXIF library (libexif) API 0.6.22

exif-loader.h
Go to the documentation of this file.
1
4/*
5 * Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301 USA.
21 */
22
23#ifndef __EXIF_LOADER_H__
24#define __EXIF_LOADER_H__
25
26#include <libexif/exifdata.h>
27#include <libexif/exiflog.h>
28#include <libexif/exifmem.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif /* __cplusplus */
33
35 typedef struct _ExifLoader ExifLoader;
36
41 EXIF_API(ExifLoader *) exif_loader_new (void);
42
48 EXIF_API(ExifLoader *) exif_loader_new_mem (ExifMem *mem);
49
54EXIF_API(void) exif_loader_ref (ExifLoader *loader);
55
61 EXIF_API(void) exif_loader_unref (ExifLoader *loader);
62
69 EXIF_API(void) exif_loader_write_file (ExifLoader *loader, const char *fname);
70
80 EXIF_API(unsigned char) exif_loader_write (ExifLoader *loader, unsigned char *buf, uint32_t sz);
81
87 EXIF_API(void) exif_loader_reset (ExifLoader *loader);
88
103 EXIF_API(ExifData *) exif_loader_get_data (ExifLoader *loader);
104
115 EXIF_API(void) exif_loader_get_buf (ExifLoader *loader, const unsigned char **buf,
116 uint32_t *buf_size);
117
122 EXIF_API(void) exif_loader_log (ExifLoader *loader, ExifLog *log);
123
124#ifdef __cplusplus
125}
126#endif /* __cplusplus */
127
128#endif /* __EXIF_LOADER_H__ */
EXIF_API
EXIF_API(void) exif_loader_ref(ExifLoader *loader)
Increase the refcount of the ExifLoader.
ExifLoader
struct _ExifLoader ExifLoader
Data used by the loader interface.
Definition: exif-loader.h:35
_ExifData
Represents the entire EXIF data found in an image.
Definition: exif-data.h:48