exif-mem.h File Reference

#include <libexif/exif-utils.h>

Include dependency graph for exif-mem.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void *(*) ExifMemAllocFunc (ExifLong)
typedef void *(*) ExifMemReallocFunc (void *, ExifLong)
typedef void(*) ExifMemFreeFunc (void *)
typedef _ExifMem ExifMem

Functions

ExifMemexif_mem_new (ExifMemAllocFunc, ExifMemReallocFunc, ExifMemFreeFunc)
void exif_mem_ref (ExifMem *)
void exif_mem_unref (ExifMem *)
void * exif_mem_alloc (ExifMem *, ExifLong)
void * exif_mem_realloc (ExifMem *, void *, ExifLong)
void exif_mem_free (ExifMem *, void *)
ExifMemexif_mem_new_default (void)


Typedef Documentation

typedef struct _ExifMem ExifMem

Definition at line 36 of file exif-mem.h.

typedef void*(* ) ExifMemAllocFunc(ExifLong)

Definition at line 31 of file exif-mem.h.

typedef void(* ) ExifMemFreeFunc(void *)

Definition at line 34 of file exif-mem.h.

typedef void*(* ) ExifMemReallocFunc(void *, ExifLong)

Definition at line 33 of file exif-mem.h.


Function Documentation

void* exif_mem_alloc ( ExifMem ,
ExifLong   
)

Definition at line 75 of file exif-mem.c.

References _ExifMem::alloc_func, and _ExifMem::realloc_func.

Referenced by exif_content_new_mem(), exif_data_alloc(), exif_data_new_mem(), exif_entry_alloc(), exif_entry_new_mem(), exif_loader_alloc(), exif_loader_new_mem(), exif_log_new_mem(), exif_mnote_data_canon_load(), exif_mnote_data_canon_new(), exif_mnote_data_canon_save(), exif_mnote_data_construct(), exif_mnote_data_olympus_load(), exif_mnote_data_olympus_new(), exif_mnote_data_olympus_save(), exif_mnote_data_pentax_load(), and exif_mnote_data_pentax_new().

void exif_mem_free ( ExifMem ,
void *   
)

Definition at line 65 of file exif-mem.c.

References _ExifMem::free_func.

Referenced by exif_content_free(), exif_content_new_mem(), exif_data_load_data_thumbnail(), exif_data_new_mem(), exif_data_save_data_entry(), exif_entry_free(), exif_entry_new_mem(), exif_entry_realloc(), exif_loader_free(), exif_loader_reset(), exif_log_free(), exif_mem_unref(), exif_mnote_data_canon_clear(), exif_mnote_data_free(), exif_mnote_data_olympus_clear(), and exif_mnote_data_pentax_clear().

ExifMem* exif_mem_new ( ExifMemAllocFunc  ,
ExifMemReallocFunc  ,
ExifMemFreeFunc   
)

Definition at line 31 of file exif-mem.c.

References _ExifMem::alloc_func, _ExifMem::free_func, _ExifMem::realloc_func, and _ExifMem::ref_count.

Referenced by exif_mem_new_default().

ExifMem* exif_mem_new_default ( void   ) 

Definition at line 91 of file exif-mem.c.

References exif_mem_alloc_func(), exif_mem_free_func(), exif_mem_new(), and exif_mem_realloc_func().

Referenced by exif_content_new(), exif_data_new(), exif_entry_new(), exif_loader_new(), and exif_log_new().

void* exif_mem_realloc ( ExifMem ,
void *  ,
ExifLong   
)

Definition at line 85 of file exif-mem.c.

References _ExifMem::realloc_func.

Referenced by exif_content_add_entry(), exif_content_remove_entry(), exif_data_save_data_content(), exif_data_save_data_entry(), exif_entry_realloc(), exif_mnote_data_canon_load(), exif_mnote_data_canon_save(), and exif_mnote_data_olympus_save().

void exif_mem_ref ( ExifMem  ) 

Definition at line 50 of file exif-mem.c.

References _ExifMem::ref_count.

Referenced by exif_content_new_mem(), exif_data_new_mem(), exif_entry_new_mem(), exif_loader_new_mem(), exif_log_new_mem(), and exif_mnote_data_construct().

void exif_mem_unref ( ExifMem  ) 

Definition at line 57 of file exif-mem.c.

References exif_mem_free(), and _ExifMem::ref_count.

Referenced by exif_content_new(), exif_data_new(), exif_entry_free(), exif_entry_new(), exif_loader_free(), exif_loader_new(), exif_log_free(), exif_log_new(), and exif_mnote_data_free().


Generated on Tue Dec 19 14:34:05 2006 for EXIF library (libexif) Internals by  doxygen 1.5.1