summaryrefslogtreecommitdiff
path: root/libtiff/tiffio.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-07-29 15:45:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2012-07-29 15:45:29 +0000
commit84595b4fd70575d233bed0ff5996331e0a2283df (patch)
treee791112fe70eceeaaf6661a3e5877992c3968453 /libtiff/tiffio.h
parent73dec72e8a43793ea8d48c9bd2f3b5e9af1af53b (diff)
downloadlibtiff-git-84595b4fd70575d233bed0ff5996331e0a2283df.tar.gz
Add accessor functions for the opaque type TIFFField.
Diffstat (limited to 'libtiff/tiffio.h')
-rw-r--r--libtiff/tiffio.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libtiff/tiffio.h b/libtiff/tiffio.h
index c88ca190..038b6701 100644
--- a/libtiff/tiffio.h
+++ b/libtiff/tiffio.h
@@ -1,4 +1,4 @@
-/* $Id: tiffio.h,v 1.90 2012-06-06 04:58:00 fwarmerdam Exp $ */
+/* $Id: tiffio.h,v 1.91 2012-07-29 15:45:29 tgl Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -319,6 +319,13 @@ extern const TIFFField* TIFFFindField(TIFF *, uint32, TIFFDataType);
extern const TIFFField* TIFFFieldWithTag(TIFF*, uint32);
extern const TIFFField* TIFFFieldWithName(TIFF*, const char *);
+extern uint32 TIFFFieldTag(const TIFFField*);
+extern const char* TIFFFieldName(const TIFFField*);
+extern TIFFDataType TIFFFieldDataType(const TIFFField*);
+extern int TIFFFieldPassCount(const TIFFField*);
+extern int TIFFFieldReadCount(const TIFFField*);
+extern int TIFFFieldWriteCount(const TIFFField*);
+
typedef int (*TIFFVSetMethod)(TIFF*, uint32, va_list);
typedef int (*TIFFVGetMethod)(TIFF*, uint32, va_list);
typedef void (*TIFFPrintMethod)(TIFF*, FILE*, long);