exif-mem.c File Reference

#include <libexif/exif-mem.h>
#include <stdlib.h>

Include dependency graph for exif-mem.c:

Go to the source code of this file.

Data Structures

struct  _ExifMem

Functions

static void * exif_mem_alloc_func (ExifLong ds)
static void * exif_mem_realloc_func (void *d, ExifLong ds)
static void exif_mem_free_func (void *d)
ExifMemexif_mem_new (ExifMemAllocFunc alloc_func, ExifMemReallocFunc realloc_func, ExifMemFreeFunc free_func)
void exif_mem_ref (ExifMem *mem)
void exif_mem_unref (ExifMem *mem)
void exif_mem_free (ExifMem *mem, void *d)
void * exif_mem_alloc (ExifMem *mem, ExifLong ds)
void * exif_mem_realloc (ExifMem *mem, void *d, ExifLong ds)
ExifMemexif_mem_new_default (void)


Function Documentation

void* exif_mem_alloc ( ExifMem mem,
ExifLong  ds 
)

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().

static void* exif_mem_alloc_func ( ExifLong  ds  )  [static]

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

Referenced by exif_mem_new_default().

void exif_mem_free ( ExifMem mem,
void *  d 
)

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().

static void exif_mem_free_func ( void *  d  )  [static]

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

Referenced by exif_mem_new_default().

ExifMem* exif_mem_new ( ExifMemAllocFunc  alloc_func,
ExifMemReallocFunc  realloc_func,
ExifMemFreeFunc  free_func 
)

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 mem,
void *  d,
ExifLong  ds 
)

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().

static void* exif_mem_realloc_func ( void *  d,
ExifLong  ds 
) [static]

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

Referenced by exif_mem_new_default().

void exif_mem_ref ( ExifMem mem  ) 

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 mem  ) 

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