OLD | NEW |
1 /* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_extension.c,v 1.7 2010-03-
10 18:56:48 bfriesen Exp $ */ | 1 /* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_extension.c,v 1.7 2010-03-
10 18:56:48 bfriesen Exp $ */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (c) 1988-1997 Sam Leffler | 4 * Copyright (c) 1988-1997 Sam Leffler |
5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. | 5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. |
6 * | 6 * |
7 * Permission to use, copy, modify, distribute, and sell this software and | 7 * Permission to use, copy, modify, distribute, and sell this software and |
8 * its documentation for any purpose is hereby granted without fee, provided | 8 * its documentation for any purpose is hereby granted without fee, provided |
9 * that (i) the above copyright notices and this permission notice appear in | 9 * that (i) the above copyright notices and this permission notice appear in |
10 * all copies of the software and related documentation, and (ii) the names of | 10 * all copies of the software and related documentation, and (ii) the names of |
(...skipping 12 matching lines...) Expand all Loading... |
23 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | 23 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
24 * OF THIS SOFTWARE. | 24 * OF THIS SOFTWARE. |
25 */ | 25 */ |
26 | 26 |
27 /* | 27 /* |
28 * TIFF Library. | 28 * TIFF Library. |
29 * | 29 * |
30 * Various routines support external extension of the tag set, and other | 30 * Various routines support external extension of the tag set, and other |
31 * application extension capabilities. | 31 * application extension capabilities. |
32 */ | 32 */ |
| 33 |
33 #include "tiffiop.h" | 34 #include "tiffiop.h" |
34 | 35 |
35 int TIFFGetTagListCount( TIFF *tif ) | 36 int TIFFGetTagListCount( TIFF *tif ) |
36 | 37 |
37 { | 38 { |
38 TIFFDirectory* td = &tif->tif_dir; | 39 TIFFDirectory* td = &tif->tif_dir; |
39 | 40 |
40 return td->td_customValueCount; | 41 return td->td_customValueCount; |
41 } | 42 } |
42 | 43 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 109 |
109 tif->tif_clientinfo = link; | 110 tif->tif_clientinfo = link; |
110 } | 111 } |
111 /* | 112 /* |
112 * Local Variables: | 113 * Local Variables: |
113 * mode: c | 114 * mode: c |
114 * c-basic-offset: 8 | 115 * c-basic-offset: 8 |
115 * fill-column: 78 | 116 * fill-column: 78 |
116 * End: | 117 * End: |
117 */ | 118 */ |
118 | |
OLD | NEW |