44 N_(
"Debugging information is available.") },
46 N_(
"The system cannot provide enough memory.") },
48 N_(
"The data provided does not follow the specification.") },
76 if (!log)
return NULL;
130 #ifdef NO_VERBOSE_TAG_STRINGS
147 const char *
format, va_list args)
150 if (!log->
func)
return;
void exif_log(ExifLog *log, ExifLogCode code, const char *domain, const char *format,...)
const char * exif_log_code_get_title(ExifLogCode code)
Return a textual description of the given class of error log.
void exif_log_set_func(ExifLog *log, ExifLogFunc func, void *data)
Register log callback function.
void exif_log_unref(ExifLog *log)
ExifLog * exif_log_new(void)
Create a new logging instance.
void exif_logv(ExifLog *log, ExifLogCode code, const char *domain, const char *format, va_list args)
void exif_log_ref(ExifLog *log)
ExifLog * exif_log_new_mem(ExifMem *mem)
static const struct @9 codes[]
void exif_log_free(ExifLog *log)
Delete instance of ExifLog.
const char * exif_log_code_get_message(ExifLogCode code)
Return a verbose description of the given class of error log.
Log message infrastructure.
@ EXIF_LOG_CODE_NO_MEMORY
@ EXIF_LOG_CODE_CORRUPT_DATA
void(* ExifLogFunc)(ExifLog *log, ExifLogCode, const char *domain, const char *format, va_list args, void *data)
Log callback function prototype.
void exif_mem_free(ExifMem *mem, void *d)
void exif_mem_unref(ExifMem *mem)
Unrefcount an ExifMem.
ExifMem * exif_mem_new_default(void)
Create a new ExifMem with default values for your convenience.
void * exif_mem_alloc(ExifMem *mem, ExifLong ds)
void exif_mem_ref(ExifMem *mem)
Refcount an ExifMem.