exif-log.c File Reference

#include <config.h>
#include <libexif/exif-log.h>
#include <libexif/i18n.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for exif-log.c:

Go to the source code of this file.

Data Structures

struct  _ExifLog

Functions

const char * exif_log_code_get_title (ExifLogCode code)
const char * exif_log_code_get_message (ExifLogCode code)
ExifLogexif_log_new_mem (ExifMem *mem)
ExifLogexif_log_new (void)
void exif_log_ref (ExifLog *log)
void exif_log_unref (ExifLog *log)
void exif_log_free (ExifLog *log)
void exif_log_set_func (ExifLog *log, ExifLogFunc func, void *data)
void exif_log (ExifLog *log, ExifLogCode code, const char *domain, const char *format,...)
void exif_logv (ExifLog *log, ExifLogCode code, const char *domain, const char *format, va_list args)

Variables

struct {
   ExifLogCode   code
   const char *   title
   const char *   message
codes []


Function Documentation

void exif_log ( ExifLog log,
ExifLogCode  code,
const char *  domain,
const char *  format,
  ... 
)

Definition at line 131 of file exif-log.c.

References exif_logv().

Referenced by exif_content_add_entry(), exif_content_fix(), exif_data_load_data(), exif_data_load_data_content(), exif_data_load_data_entry(), exif_data_load_data_thumbnail(), exif_data_save_data(), exif_data_save_data_content(), exif_loader_write(), exif_loader_write_file(), exif_mnote_data_olympus_get_value(), exif_mnote_data_olympus_load(), and fix_func().

const char* exif_log_code_get_message ( ExifLogCode  code  ) 

Definition at line 62 of file exif-log.c.

References _, codes, and message.

const char* exif_log_code_get_title ( ExifLogCode  code  ) 

Definition at line 53 of file exif-log.c.

References _, codes, and title.

void exif_log_free ( ExifLog log  ) 

Definition at line 112 of file exif-log.c.

References exif_mem_free(), exif_mem_unref(), and _ExifLog::mem.

Referenced by exif_log_unref().

ExifLog* exif_log_new ( void   ) 

Definition at line 86 of file exif-log.c.

References exif_log_new_mem(), exif_mem_new_default(), and exif_mem_unref().

ExifLog* exif_log_new_mem ( ExifMem mem  ) 

Definition at line 71 of file exif-log.c.

References exif_mem_alloc(), exif_mem_ref(), _ExifLog::mem, and _ExifLog::ref_count.

Referenced by exif_log_new().

void exif_log_ref ( ExifLog log  ) 

Definition at line 97 of file exif-log.c.

References _ExifLog::ref_count.

Referenced by exif_content_log(), exif_data_log(), exif_loader_log(), and exif_mnote_data_log().

void exif_log_set_func ( ExifLog log,
ExifLogFunc  func,
void *  data 
)

Register log callback function.

Definition at line 123 of file exif-log.c.

References _ExifLog::data, and _ExifLog::func.

void exif_log_unref ( ExifLog log  ) 

Definition at line 104 of file exif-log.c.

References exif_log_free(), and _ExifLog::ref_count.

Referenced by exif_content_free(), exif_content_log(), exif_data_log(), exif_loader_log(), exif_mnote_data_free(), and exif_mnote_data_log().

void exif_logv ( ExifLog log,
ExifLogCode  code,
const char *  domain,
const char *  format,
va_list  args 
)

Definition at line 142 of file exif-log.c.

References _ExifLog::data, and _ExifLog::func.

Referenced by exif_entry_log(), and exif_log().


Variable Documentation

ExifLogCode code

Definition at line 39 of file exif-log.c.

struct { ... } codes[] [static]

Referenced by exif_log_code_get_message(), and exif_log_code_get_title().

const char* message

Definition at line 41 of file exif-log.c.

Referenced by exif_log_code_get_message().

const char* title

Definition at line 40 of file exif-log.c.


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