ReactOS  0.4.14-dev-358-gbef841c
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;
52  if (_TIFFerrorHandler) {
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 }
HMODULE module
Definition: main.cpp:47
TIFFErrorHandler _TIFFerrorHandler
Definition: tif_unix.c:374
const char * fmt
Definition: wsprintf.c:30
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
#define va_start(ap, A)
Definition: acmsvcex.h:91
void int int ULONGLONG int va_list * ap
Definition: winesup.h:32
Definition: dsound.c:943
TIFFErrorHandlerExt _TIFFerrorHandlerExt
Definition: tif_error.c:30

◆ 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;
68  if (_TIFFerrorHandler) {
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 }
HMODULE module
Definition: main.cpp:47
TIFFErrorHandler _TIFFerrorHandler
Definition: tif_unix.c:374
const char * fmt
Definition: wsprintf.c:30
static int fd
Definition: io.c:51
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
#define va_start(ap, A)
Definition: acmsvcex.h:91
void int int ULONGLONG int va_list * ap
Definition: winesup.h:32
Definition: dsound.c:943
TIFFErrorHandlerExt _TIFFerrorHandlerExt
Definition: tif_error.c:30

Referenced by _notConfigured(), _TIFFCheckRealloc(), _TIFFgetMode(), _TIFFMergeFields(), _TIFFMultiply32(), _TIFFMultiply64(), _TIFFNoSeek(), _TIFFReadEncodedStripAndAllocBuffer(), _TIFFReadEncodedTileAndAllocBuffer(), _TIFFRewriteField(), _TIFFSetupFields(), _TIFFVGetField(), _TIFFVSetField(), BuildMapBitdepth16To8(), BuildMapUaToAa(), checkInkNamesString(), DumpModeDecode(), EstimateStripByteCounts(), fpAcc(), fpDiff(), gtStripContig(), gtStripSeparate(), gtTileContig(), gtTileSeparate(), horAcc16(), horAcc32(), horAcc8(), horDiff16(), horDiff32(), horDiff8(), initCIELabConversion(), initYCbCrConversion(), makebwmap(), makecmap(), MissingRequired(), OkToChangeTag(), PredictorDecodeTile(), PredictorEncodeTile(), PredictorSetup(), setupMap(), TIFFAdvanceDirectory(), TIFFAppendToStrip(), TIFFCheckDirOffset(), TIFFCheckRead(), TIFFCheckTile(), TIFFClientOpen(), TIFFComputeStrip(), TIFFFetchDirectory(), TIFFFetchNormalTag(), TIFFFieldWithName(), TIFFFieldWithTag(), TIFFFillStrip(), TIFFFillStripPartial(), TIFFFillTile(), TIFFGrowStrips(), TIFFLinkDirectory(), TIFFMergeFieldInfo(), TIFFNoDecode(), TIFFNoEncode(), TIFFNumberOfDirectories(), TIFFOpen(), TIFFOpenW(), TIFFPredictorInit(), TIFFRasterScanlineSize(), TIFFRawStripSize(), TIFFRawStripSize64(), TIFFReadAndRealloc(), TIFFReadBufferSetup(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirEntryDataAndRealloc(), TIFFReadDirEntryOutputErr(), TIFFReadEncodedStripGetStripSize(), TIFFReadEncodedTile(), TIFFReadRawStrip(), TIFFReadRawStrip1(), TIFFReadRawStripOrTile2(), TIFFReadRawTile(), TIFFReadRawTile1(), TIFFReadRGBAImageOriented(), TIFFReadRGBAStripExt(), TIFFReadRGBATileExt(), TIFFRegisterCODEC(), TIFFRewriteDirectory(), TIFFRGBAImageGet(), TIFFScanlineSize(), TIFFScanlineSize64(), TIFFSeek(), TIFFStartTile(), TIFFStripSize(), TIFFTileRowSize(), TIFFTileRowSize64(), TIFFTileSize(), TIFFUnlinkDirectory(), TIFFUnRegisterCODEC(), TIFFVGetFieldDefaulted(), TIFFVStripSize(), TIFFVStripSize64(), TIFFVTileSize(), 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 }
TIFFErrorHandler _TIFFerrorHandler
Definition: tif_unix.c:374
void(* TIFFErrorHandler)(const char *, const char *, va_list)
Definition: tiffio.h:276
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786

◆ 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:277
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786
TIFFErrorHandlerExt _TIFFerrorHandlerExt
Definition: tif_error.c:30

Variable Documentation

◆ _TIFFerrorHandlerExt

TIFFErrorHandlerExt _TIFFerrorHandlerExt = NULL

Definition at line 30 of file tif_error.c.

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