opj_msg_callback warning_handler
Warning message callback if available, NULL otherwise.
Definition: event.h:60
static void opj_default_callback(const char *msg, void *client_data)
Default callback function.
Definition: event.c:81
OPJ_BOOL opj_event_msg(opj_event_mgr_t *p_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
#define OPJ_ARG_NOT_USED(x)
Definition: openjpeg.h:142
Message handler object used for.
Definition: event.h:50
void(* opj_msg_callback)(const char *msg, void *client_data)
Callback function prototype for events.
Definition: openjpeg.h:349
#define EVT_WARNING
Warning event type.
Definition: event.h:67
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
int OPJ_BOOL
Definition: openjpeg.h:116
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 info_handler
Debug message callback if available, NULL otherwise.
Definition: event.h:62
int32_t OPJ_INT32
Definition: openjpeg.h:131
void * m_info_data
Data to call the event manager upon.
Definition: event.h:56
#define OPJ_TRUE
Definition: openjpeg.h:117
void * m_error_data
Data to call the event manager upon.
Definition: event.h:52
#define EVT_INFO
Debug event type.
Definition: event.h:68
#define EVT_ERROR
Error event type.
Definition: event.h:66
#define OPJ_FALSE
Definition: openjpeg.h:118
void * m_warning_data
Data to call the event manager upon.
Definition: event.h:54
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
opj_msg_callback error_handler
Error message callback if available, NULL otherwise.
Definition: event.h:58