ReactOS 0.4.15-dev-6657-ged9973f
tif_error.c File Reference
#include <precomp.h>
Include dependency graph for tif_error.c:

Go to the source code of this file.

Functions

TIFFErrorHandler TIFFSetErrorHandler (TIFFErrorHandler handler)
 
TIFFErrorHandlerExt TIFFSetErrorHandlerExt (TIFFErrorHandlerExt handler)
 
void TIFFError (const char *module, const char *fmt,...)
 
void TIFFErrorExt (thandle_t fd, const char *module, const char *fmt,...)
 

Variables

TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL
 

Function Documentation

◆ TIFFError()

void TIFFError ( const char module,
const char fmt,
  ... 
)

Definition at line 49 of file tif_error.c.

50{
51 va_list ap;
53 va_start(ap, fmt);
54 (*_TIFFerrorHandler)(module, fmt, ap);
55 va_end(ap);
56 }
58 va_start(ap, fmt);
59 (*_TIFFerrorHandlerExt)(0, module, fmt, ap);
60 va_end(ap);
61 }
62}
char * va_list
Definition: acmsvcex.h:78
#define va_end(ap)
Definition: acmsvcex.h:90
#define va_start(ap, A)
Definition: acmsvcex.h:91
Definition: dsound.c:943
TIFFErrorHandlerExt _TIFFerrorHandlerExt
Definition: tif_error.c:30
TIFFErrorHandler _TIFFerrorHandler
Definition: tif_unix.c:374
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36

◆ TIFFErrorExt()

void TIFFErrorExt ( thandle_t  fd,
const char module,
const char fmt,
  ... 
)

Definition at line 65 of file tif_error.c.

66{
67 va_list ap;
69 va_start(ap, fmt);
70 (*_TIFFerrorHandler)(module, fmt, ap);
71 va_end(ap);
72 }
74 va_start(ap, fmt);
75 (*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
76 va_end(ap);
77 }
78}
static int fd
Definition: io.c:51

Referenced by _notConfigured(), _TIFFCastUInt64ToSSize(), _TIFFCheckRealloc(), _TIFFFetchStrileValue(), _TIFFgetMode(), _TIFFMergeFields(), _TIFFMultiply32(), _TIFFMultiply64(), _TIFFMultiplySSize(), _TIFFNoSeek(), _TIFFPartialReadStripArray(), _TIFFReadEncodedStripAndAllocBuffer(), _TIFFReadEncodedTileAndAllocBuffer(), _TIFFRewriteField(), _TIFFSetupFields(), _TIFFVGetField(), _TIFFVSetField(), BuildMapBitdepth16To8(), BuildMapUaToAa(), checkInkNamesString(), DumpModeDecode(), EstimateStripByteCounts(), fpAcc(), fpDiff(), gtStripContig(), gtStripSeparate(), gtTileContig(), horAcc16(), horAcc32(), horAcc8(), horDiff16(), horDiff32(), horDiff8(), initCIELabConversion(), initYCbCrConversion(), makebwmap(), makecmap(), MissingRequired(), OkToChangeTag(), PredictorDecodeTile(), PredictorEncodeTile(), PredictorSetup(), setupMap(), TIFFAdvanceDirectory(), TIFFAppendToStrip(), TIFFCheckDirOffset(), TIFFCheckRead(), TIFFCheckTile(), TIFFClientOpen(), TIFFComputeStrip(), TIFFDeferStrileArrayWriting(), TIFFFetchDirectory(), TIFFFetchNormalTag(), TIFFFieldWithName(), TIFFFieldWithTag(), TIFFFillStrip(), TIFFFillStripPartial(), TIFFFillTile(), TIFFForceStrileArrayWriting(), TIFFGrowStrips(), TIFFLinkDirectory(), TIFFMergeFieldInfo(), TIFFNoDecode(), TIFFNoEncode(), TIFFNumberOfDirectories(), TIFFOpen(), TIFFOpenW(), TIFFPredictorInit(), TIFFRawStripSize(), TIFFRawStripSize64(), TIFFReadAndRealloc(), TIFFReadBufferSetup(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirEntryDataAndRealloc(), TIFFReadDirEntryOutputErr(), TIFFReadEncodedStripGetStripSize(), TIFFReadEncodedTile(), TIFFReadFromUserBuffer(), TIFFReadRawStrip(), TIFFReadRawStrip1(), TIFFReadRawStripOrTile2(), TIFFReadRawTile(), TIFFReadRawTile1(), TIFFReadRGBAImageOriented(), TIFFReadRGBAStripExt(), TIFFReadRGBATileExt(), TIFFRegisterCODEC(), TIFFRewriteDirectory(), TIFFRGBAImageGet(), TIFFScanlineSize64(), TIFFSeek(), TIFFStartTile(), TIFFTileRowSize64(), TIFFUnlinkDirectory(), TIFFUnRegisterCODEC(), TIFFVGetFieldDefaulted(), TIFFVStripSize64(), TIFFVTileSize64(), TIFFWriteBufferSetup(), TIFFWriteCheck(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagCheckedLong8Array(), TIFFWriteDirectoryTagCheckedRational(), TIFFWriteDirectoryTagCheckedRationalArray(), TIFFWriteDirectoryTagCheckedSlong8Array(), TIFFWriteDirectoryTagCheckedSrationalArray(), TIFFWriteDirectoryTagColormap(), TIFFWriteDirectoryTagData(), TIFFWriteDirectoryTagIfdIfd8Array(), TIFFWriteDirectoryTagLongLong8Array(), TIFFWriteDirectoryTagSampleformatArray(), TIFFWriteDirectoryTagShortPerSample(), TIFFWriteDirectoryTagSubifd(), TIFFWriteDirectoryTagTransferfunction(), TIFFWriteEncodedStrip(), TIFFWriteEncodedTile(), TIFFWriteRawStrip(), TIFFWriteRawTile(), and TIFFWriteScanline().

◆ TIFFSetErrorHandler()

TIFFErrorHandler TIFFSetErrorHandler ( TIFFErrorHandler  handler)

Definition at line 33 of file tif_error.c.

34{
37 return (prev);
38}
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7482
void(* TIFFErrorHandler)(const char *, const char *, va_list)
Definition: tiffio.h:271

◆ TIFFSetErrorHandlerExt()

TIFFErrorHandlerExt TIFFSetErrorHandlerExt ( TIFFErrorHandlerExt  handler)

Definition at line 41 of file tif_error.c.

42{
45 return (prev);
46}
void(* TIFFErrorHandlerExt)(thandle_t, const char *, const char *, va_list)
Definition: tiffio.h:272

Variable Documentation

◆ _TIFFerrorHandlerExt

TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL

Definition at line 30 of file tif_error.c.

Referenced by TIFFError(), TIFFErrorExt(), and TIFFSetErrorHandlerExt().