51void TIFFError(
const char *module,
const char *fmt, ...)
57 (*_TIFFerrorHandler)(module, fmt, ap);
63 (*_TIFFerrorHandlerExt)(0, module, fmt, ap);
74 (*_TIFFerrorHandler)(module, fmt, ap);
80 (*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
86 const char *module,
const char *fmt, ...)
101 (*_TIFFerrorHandler)(module, fmt, ap);
107 (*_TIFFerrorHandlerExt)(clientdata, module, fmt, ap);
127 (*_TIFFerrorHandler)(module, fmt, ap);
133 (*_TIFFerrorHandlerExt)(tif ? tif->
tif_clientdata : NULL, module, fmt,
TIFFErrorHandlerExt _TIFFerrorHandlerExt
Store the global extended error callback.
TIFFErrorHandler _TIFFerrorHandler
Store the global error callback.
void _TIFFErrorEarly(TIFFOpenOptions *opts, thandle_t clientdata, const char *module, const char *fmt,...)
Report an opening error before a complete TIFF handle is available.
void(* TIFFErrorHandlerExt)(thandle_t fd, const char *module, const char *fmt, va_list ap)
Handle a library-wide error or warning diagnostic.
TIFFErrorHandlerExt TIFFSetErrorHandlerExt(TIFFErrorHandlerExt handler)
Replace the library-wide error extended handler.
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
Dispatch a error diagnostic to the configured handlers.
void TIFFError(const char *module, const char *fmt,...)
Dispatch a error diagnostic to the configured handlers.
void(* TIFFErrorHandler)(const char *module, const char *fmt, va_list ap)
Handle a library-wide error or warning diagnostic.
TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler handler)
Replace the library-wide error handler.
void TIFFErrorExtR(TIFF *tif, const char *module, const char *fmt,...)
Dispatch a error diagnostic to the configured handlers.
void * thandle_t
Carry an opaque client I/O context through library callbacks.
Hold allocation limits and diagnostics used when opening a TIFF handle.
void * errorhandler_user_data
Borrowed error-callback context, or NULL.
TIFFErrorHandlerExtR errorhandler
Optional per-handle error callback, or NULL.
Hold private state for one open TIFF library instance.
TIFFErrorHandlerExtR tif_errorhandler
Per-handle error callback, or NULL for the default handling path.
void * tif_errorhandler_user_data
Borrowed context passed to tif_errorhandler.
thandle_t tif_clientdata
Client I/O context passed unchanged to the I/O callbacks.
Declare private library state, callbacks, and implementation helpers.