90 const char *fmt, ...);
opj_msg_callback info_handler
Debug message callback if available, NULL otherwise.
Definition: event.h:62
void * m_error_data
Data to call the event manager upon.
Definition: event.h:52
Message handler object used for.
Definition: event.h:50
int OPJ_BOOL
Definition: openjpeg.h:110
int32_t OPJ_INT32
Definition: openjpeg.h:125
void(* opj_msg_callback)(const char *msg, void *client_data)
Callback function prototype for events.
Definition: openjpeg.h:313
OPJ_BOOL opj_event_msg(opj_event_mgr_t *event_mgr, OPJ_INT32 event_type, const char *fmt,...)
Write formatted data to a string and send the string to a user callback.
Definition: event.c:91
opj_msg_callback warning_handler
Warning message callback if available, NULL otherwise.
Definition: event.h:60
void * m_warning_data
Data to call the event manager upon.
Definition: event.h:54
opj_msg_callback error_handler
Error message callback if available, NULL otherwise.
Definition: event.h:58
struct opj_event_mgr opj_event_mgr_t
Message handler object used for.
void opj_set_default_event_handler(opj_event_mgr_t *p_manager)
Set the event manager with the default callback function for the 3 levels.
Definition: event.c:142
void * m_info_data
Data to call the event manager upon.
Definition: event.h:56