Blame contrib/tags/xtiffio.h

Packit 7838c8
/*
Packit 7838c8
 *  xtiffio.h -- Public interface to Extended TIFF tags
Packit 7838c8
 *
Packit 7838c8
 *    This is a template for defining a client module
Packit 7838c8
 *    which supports tag extensions to the standard libtiff
Packit 7838c8
 *    set. Only portions of the code marked "XXX" need to
Packit 7838c8
 *    be changed to support your tag set.
Packit 7838c8
 *
Packit 7838c8
 *    written by: Niles D. Ritter
Packit 7838c8
 */
Packit 7838c8
Packit 7838c8
#ifndef __xtiffio_h
Packit 7838c8
#define __xtiffio_h
Packit 7838c8
Packit 7838c8
#include "tiffio.h"
Packit 7838c8
Packit 7838c8
/* 
Packit 7838c8
 *  XXX Define your private Tag names and values here 
Packit 7838c8
 */
Packit 7838c8
Packit 7838c8
/* These tags are not valid, but are provided for example */
Packit 7838c8
#define TIFFTAG_EXAMPLE_MULTI      61234
Packit 7838c8
#define TIFFTAG_EXAMPLE_SINGLE     61235
Packit 7838c8
#define TIFFTAG_EXAMPLE_ASCII      61236
Packit 7838c8
Packit 7838c8
/* 
Packit 7838c8
 *  XXX Define Printing method flags. These
Packit 7838c8
 *  flags may be passed in to TIFFPrintDirectory() to
Packit 7838c8
 *  indicate that those particular field values should
Packit 7838c8
 *  be printed out in full, rather than just an indicator
Packit 7838c8
 *  of whether they are present or not.
Packit 7838c8
 */
Packit 7838c8
#define	TIFFPRINT_MYMULTIDOUBLES	0x80000000
Packit 7838c8
Packit 7838c8
/**********************************************************************
Packit 7838c8
 *    Nothing below this line should need to be changed by the user.
Packit 7838c8
 **********************************************************************/
Packit 7838c8
Packit 7838c8
#if defined(__cplusplus)
Packit 7838c8
extern "C" {
Packit 7838c8
#endif
Packit 7838c8
Packit 7838c8
extern TIFF* XTIFFOpen(const char* name, const char* mode);
Packit 7838c8
extern TIFF* XTIFFFdOpen(int fd, const char* name, const char* mode);
Packit 7838c8
extern void  XTIFFClose(TIFF *tif);
Packit 7838c8
Packit 7838c8
#if defined(__cplusplus)
Packit 7838c8
}
Packit 7838c8
#endif
Packit 7838c8
Packit 7838c8
#endif /* __xtiffio_h */
Packit 7838c8
Packit 7838c8
/*
Packit 7838c8
 * Local Variables:
Packit 7838c8
 * mode: c
Packit 7838c8
 * c-basic-offset: 8
Packit 7838c8
 * fill-column: 78
Packit 7838c8
 * End:
Packit 7838c8
 */