23 #ifndef LIBEXIF_EXIF_LOADER_H
24 #define LIBEXIF_EXIF_LOADER_H
116 unsigned int *buf_size);
Defines the ExifData type and the associated functions.
void exif_loader_log(ExifLoader *loader, ExifLog *log)
Set the log message object used by this ExifLoader.
void exif_loader_reset(ExifLoader *loader)
Free any data previously loaded and reset the ExifLoader to its newly-initialized state.
ExifLoader * exif_loader_new(void)
Allocate a new ExifLoader.
void exif_loader_write_file(ExifLoader *loader, const char *fname)
Load a file into the given ExifLoader from the filesystem.
void exif_loader_unref(ExifLoader *loader)
Decrease the refcount of the ExifLoader.
ExifLoader * exif_loader_new_mem(ExifMem *mem)
Allocate a new ExifLoader using the specified memory allocator.
ExifData * exif_loader_get_data(ExifLoader *loader)
Create an ExifData from the data in the loader.
void exif_loader_ref(ExifLoader *loader)
Increase the refcount of the ExifLoader.
void exif_loader_get_buf(ExifLoader *loader, const unsigned char **buf, unsigned int *buf_size)
Return the raw data read by the loader.
unsigned char exif_loader_write(ExifLoader *loader, unsigned char *buf, unsigned int sz)
Load a buffer into the ExifLoader from a memory buffer.
Log message infrastructure.
Define the ExifMem data type and the associated functions.
Represents the entire EXIF data found in an image.