1 /* 2 * xtiffio.h -- Public interface to Extended TIFF tags 3 * 4 * This is a template for defining a client module 5 * which supports tag extensions to the standard libtiff 6 * set. Only portions of the code marked "XXX" need to 7 * be changed to support your tag set. 8 * 9 * written by: Niles D. Ritter 10 */ 11 12 #ifndef __xtiffio_h 13 #define __xtiffio_h 14 15 #include "tiffio.h" 16 17 /* 18 * XXX Define your private Tag names and values here 19 */ 20 21 /* These tags are not valid, but are provided for example */ 22 #define TIFFTAG_EXAMPLE_MULTI 61234 23 #define TIFFTAG_EXAMPLE_SINGLE 61235 24 #define TIFFTAG_EXAMPLE_ASCII 61236 25 26 /* 27 * XXX Define Printing method flags. These 28 * flags may be passed in to TIFFPrintDirectory() to 29 * indicate that those particular field values should 30 * be printed out in full, rather than just an indicator 31 * of whether they are present or not. 32 */ 33 #define TIFFPRINT_MYMULTIDOUBLES 0x80000000 34 35 /********************************************************************** 36 * Nothing below this line should need to be changed by the user. 37 **********************************************************************/ 38 39 #if defined(__cplusplus) 40 extern "C" { 41 #endif 42 43 extern TIFF* XTIFFOpen(const char* name, const char* mode); 44 extern TIFF* XTIFFFdOpen(int fd, const char* name, const char* mode); 45 extern void XTIFFClose(TIFF *tif); 46 47 #if defined(__cplusplus) 48 } 49 #endif 50 51 #endif /* __xtiffio_h */ 52 53 /* 54 * Local Variables: 55 * mode: c 56 * c-basic-offset: 8 57 * fill-column: 78 58 * End: 59 */ 60