ReactOS 0.4.15-dev-5667-ged97270
tif_warning.c File Reference
#include <precomp.h>
Include dependency graph for tif_warning.c:

Go to the source code of this file.

Functions

TIFFErrorHandler TIFFSetWarningHandler (TIFFErrorHandler handler)
 
TIFFErrorHandlerExt TIFFSetWarningHandlerExt (TIFFErrorHandlerExt handler)
 
void TIFFWarning (const char *module, const char *fmt,...)
 
void TIFFWarningExt (thandle_t fd, const char *module, const char *fmt,...)
 

Variables

TIFFErrorHandlerExt _TIFFwarningHandlerExt = NULL
 

Function Documentation

◆ TIFFSetWarningHandler()

TIFFErrorHandler TIFFSetWarningHandler ( TIFFErrorHandler  handler)

Definition at line 33 of file tif_warning.c.

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

◆ TIFFSetWarningHandlerExt()

TIFFErrorHandlerExt TIFFSetWarningHandlerExt ( TIFFErrorHandlerExt  handler)

Definition at line 41 of file tif_warning.c.

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

◆ TIFFWarning()

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

Definition at line 49 of file tif_warning.c.

50{
51 va_list ap;
53 va_start(ap, fmt);
54 (*_TIFFwarningHandler)(module, fmt, ap);
55 va_end(ap);
56 }
58 va_start(ap, fmt);
59 (*_TIFFwarningHandlerExt)(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
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36

◆ TIFFWarningExt()

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

Definition at line 65 of file tif_warning.c.

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

Referenced by _TIFFVGetField(), _TIFFVSetField(), buildMap(), CheckDirCount(), setExtraSamples(), TIFFFetchNormalTag(), TIFFFillStrip(), TIFFFillTile(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirectoryCheckOrder(), and TIFFReadDirEntryOutputErr().

Variable Documentation

◆ _TIFFwarningHandlerExt

TIFFErrorHandlerExt _TIFFwarningHandlerExt = NULL

Definition at line 30 of file tif_warning.c.

Referenced by TIFFSetWarningHandlerExt(), TIFFWarning(), and TIFFWarningExt().