libiptcdata Reference Manual | ||||
---|---|---|---|---|
IptcLog; IptcLog* iptc_log_new (void); IptcLog* iptc_log_new_mem (IptcMem *); void iptc_log_ref (IptcLog *log); void iptc_log_unref (IptcLog *log); void iptc_log_free (IptcLog *log); enum IptcLogCode; const char* iptc_log_code_get_title (IptcLogCode ); const char* iptc_log_code_get_message (IptcLogCode ); void (*IptcLogFunc) (IptcLog *log, IptcLogCode , const char *domain, const char *format, va_list args, void *data); void iptc_log_set_func (IptcLog *log, IptcLogFunc func, void *data); void iptc_log (IptcLog *log, IptcLogCode , const char *domain, const char *format); #define IPTC_LOG_NO_MEMORY (l,d,s)
typedef enum { IPTC_LOG_CODE_NONE, IPTC_LOG_CODE_DEBUG, IPTC_LOG_CODE_NO_MEMORY, IPTC_LOG_CODE_CORRUPT_DATA } IptcLogCode;
const char* iptc_log_code_get_message (IptcLogCode );
|
|
Returns : |
void (*IptcLogFunc) (IptcLog *log, IptcLogCode , const char *domain, const char *format, va_list args, void *data);
|
|
|
|
|
|
|
|
|
|
|
void iptc_log_set_func (IptcLog *log, IptcLogFunc func, void *data);
|
|
|
|
|
void iptc_log (IptcLog *log, IptcLogCode , const char *domain, const char *format);
|
|
|
|
|
|
|