|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Hold allocation limits and diagnostics used when opening a TIFF handle. More...
#include <tiffiop.h>
Data Fields | |
| TIFFErrorHandlerExtR | errorhandler |
| Optional per-handle error callback, or NULL. | |
| void * | errorhandler_user_data |
| Borrowed error-callback context, or NULL. | |
| TIFFErrorHandlerExtR | warnhandler |
| Optional per-handle warning callback, or NULL. | |
| void * | warnhandler_user_data |
| Borrowed warning-callback context, or NULL. | |
| tmsize_t | max_single_mem_alloc |
| Maximum individual allocation in bytes; zero means unlimited. | |
| tmsize_t | max_cumulated_mem_alloc |
| Maximum tracked allocation total in bytes; zero means unlimited. | |
| int | warn_about_unknown_tags |
| Nonzero to warn about unknown tags. | |
Hold allocation limits and diagnostics used when opening a TIFF handle.
The open-options API allocates and frees this object. Opening copies its settings into the handle; callback contexts are copied as pointers, not cloned or retained. They must remain valid while the resulting handle can invoke the callbacks, even after the options object has been freed.
| TIFFErrorHandlerExtR TIFFOpenOptions::errorhandler |
Optional per-handle error callback, or NULL.
Definition at line 793 of file tiffiop.h.
Referenced by _TIFFErrorEarly(), TIFFClientOpenExt(), and TIFFOpenOptionsSetErrorHandlerExtR().
| void* TIFFOpenOptions::errorhandler_user_data |
Borrowed error-callback context, or NULL.
Definition at line 795 of file tiffiop.h.
Referenced by _TIFFErrorEarly(), TIFFClientOpenExt(), and TIFFOpenOptionsSetErrorHandlerExtR().
| tmsize_t TIFFOpenOptions::max_cumulated_mem_alloc |
Maximum tracked allocation total in bytes; zero means unlimited.
Definition at line 805 of file tiffiop.h.
Referenced by TIFFClientOpenExt(), and TIFFOpenOptionsSetMaxCumulatedMemAlloc().
| tmsize_t TIFFOpenOptions::max_single_mem_alloc |
Maximum individual allocation in bytes; zero means unlimited.
Definition at line 801 of file tiffiop.h.
Referenced by TIFFClientOpenExt(), and TIFFOpenOptionsSetMaxSingleMemAlloc().
| int TIFFOpenOptions::warn_about_unknown_tags |
Nonzero to warn about unknown tags.
Definition at line 807 of file tiffiop.h.
Referenced by TIFFClientOpenExt(), and TIFFOpenOptionsSetWarnAboutUnknownTags().
| TIFFErrorHandlerExtR TIFFOpenOptions::warnhandler |
Optional per-handle warning callback, or NULL.
Definition at line 797 of file tiffiop.h.
Referenced by TIFFClientOpenExt(), and TIFFOpenOptionsSetWarningHandlerExtR().
| void* TIFFOpenOptions::warnhandler_user_data |
Borrowed warning-callback context, or NULL.
Definition at line 799 of file tiffiop.h.
Referenced by TIFFClientOpenExt(), and TIFFOpenOptionsSetWarningHandlerExtR().