opj_msg_callback info_handler
Debug message callback if available, NULL otherwise.
Definition: event.h:63
void * m_error_data
Data to call the event manager upon.
Definition: event.h:53
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:86
opj_msg_callback warning_handler
Warning message callback if available, NULL otherwise.
Definition: event.h:61
void * m_warning_data
Data to call the event manager upon.
Definition: event.h:55
opj_msg_callback error_handler
Error message callback if available, NULL otherwise.
Definition: event.h:59
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:137
void * m_info_data
Data to call the event manager upon.
Definition: event.h:57