event.c File Reference

#include "opj_includes.h"

Defines

#define MSG_SIZE   512

Functions

static char * i2a (unsigned i, char *a, unsigned r)
static char * _itoa (int i, char *a, int r)
 Transforms integer i into an ascii string and stores the result in a; string is encoded in the base indicated by r.
opj_event_mgr_t *OPJ_CALLCONV opj_set_event_mgr (opj_common_ptr cinfo, opj_event_mgr_t *event_mgr, void *context)
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.

Define Documentation

#define MSG_SIZE   512

Referenced by opj_event_msg().


Function Documentation

static char* _itoa ( int  i,
char *  a,
int  r 
) [static]

Transforms integer i into an ascii string and stores the result in a; string is encoded in the base indicated by r.

Parameters:
i Number to be converted
a String result
r Base of value; must be in the range 2 - 36
Returns:
Returns a

References i2a().

static char* i2a ( unsigned  i,
char *  a,
unsigned  r 
) [static]

Referenced by _itoa().

opj_event_mgr_t* OPJ_CALLCONV opj_set_event_mgr ( opj_common_ptr  cinfo,
opj_event_mgr_t event_mgr,
void *  context 
)


doxygen