OpenJPEG 1.5.1
event.h File Reference

Implementation of a event callback system. More...

Go to the source code of this file.

Macros

#define EVT_ERROR   1
 Error event type.
 
#define EVT_WARNING   2
 Warning event type.
 
#define EVT_INFO   4
 Debug event type.
 

Functions

Exported functions (see also openjpeg.h)
opj_bool opj_event_msg (opj_common_ptr cinfo, int event_type, const char *fmt,...)
 Write formatted data to a string and send the string to a user callback.
 

Detailed Description

Implementation of a event callback system.

The functions in EVENT.C have for goal to send output messages (errors, warnings, debug) to the user.

Macro Definition Documentation

◆ EVT_ERROR

◆ EVT_INFO

◆ EVT_WARNING

Function Documentation

◆ opj_event_msg()

opj_bool opj_event_msg ( opj_common_ptr cinfo,
int event_type,
const char * fmt,
... )