Macros | |
#define | ERR_MAX |
#define | MOD_MAX |
#define | SEV_MAX |
Functions | |
int | _zbar_error_spew (const void *container, int verbosity) |
const char * | _zbar_error_string (const void *container, int verbosity) |
zbar_error_t | _zbar_get_error_code (const void *container) |
void | zbar_increase_verbosity () |
increase global library debug level. More... | |
void | zbar_set_verbosity (int level) |
set global library debug level. More... | |
int | zbar_version (unsigned *major, unsigned *minor) |
retrieve runtime library version information. More... | |
Variables | |
int | _zbar_verbosity |
static const char const * | err_str [] |
static const char *const | mod_str [] |
static const char *const | sev_str [] |
#define ERR_MAX |
Referenced by _zbar_error_string().
#define MOD_MAX |
Referenced by _zbar_error_string().
#define SEV_MAX |
Referenced by _zbar_error_string().
int _zbar_error_spew | ( | const void * | object, |
int | verbosity | ||
) |
type unsafe error API (don't use)
References _zbar_error_string(), ERRINFO_MAGIC, fprintf(), errinfo_s::magic, and errinfo_s::sev.
Referenced by err_capture(), zbar::zbar_processor_error_spew(), zbar::zbar_video_error_spew(), and zbar::zbar_window_error_spew().
const char* _zbar_error_string | ( | const void * | container, |
int | verbosity | ||
) |
References errinfo_s::arg_int, errinfo_s::arg_str, errinfo_s::buf, errinfo_s::detail, ERR_MAX, err_str, ERRINFO_MAGIC, errinfo_s::errnum, errinfo_s::func, len, errinfo_s::magic, MOD_MAX, mod_str, errinfo_s::module, errinfo_s::sev, SEV_FATAL, SEV_MAX, SEV_NOTE, sev_str, errinfo_s::type, zbar::ZBAR_ERR_NUM, zbar::ZBAR_ERR_SYSTEM, zbar::ZBAR_ERR_WINAPI, ZBAR_MOD_PROCESSOR, and ZBAR_MOD_UNKNOWN.
Referenced by _zbar_error_spew(), exc_get_message(), zbar::Exception::what(), zbar::zbar_processor_error_string(), zbar::zbar_video_error_string(), and zbar::zbar_window_error_string().
zbar_error_t _zbar_get_error_code | ( | const void * | container | ) |
References ERRINFO_MAGIC, errinfo_s::magic, and errinfo_s::type.
Referenced by zbar::throw_exception(), zbar::zbar_processor_get_error_code(), zbar::zbar_video_get_error_code(), zbar::zbar_window_get_error_code(), and zbarErr_Set().
increase global library debug level.
eg, for -vvvv
References _zbar_verbosity.
Referenced by increase_verbosity(), and main().
void zbar_set_verbosity | ( | int | verbosity | ) |
set global library debug level.
verbosity | desired debug level. higher values create more spew |
References _zbar_verbosity.
Referenced by main(), and set_verbosity().
int zbar_version | ( | unsigned * | major, |
unsigned * | minor | ||
) |
retrieve runtime library version information.
major | set to the running major version (unless NULL) |
minor | set to the running minor version (unless NULL) |
References ZBAR_VERSION_MAJOR, and ZBAR_VERSION_MINOR.
Referenced by version().
int _zbar_verbosity |
Referenced by _zbar_best_format(), _zbar_process_image(), zbar_increase_verbosity(), and zbar_set_verbosity().
|
static |
Referenced by _zbar_error_string().
|
static |
Referenced by _zbar_error_string().
|
static |
Referenced by _zbar_error_string().