vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / translators / raw / TIFF.h
blob1de86503f904b2610a29755b408f84d4b8208843
1 /*
2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef TIFF_H
6 #define TIFF_H
9 #include <SupportDefs.h>
12 enum types {
13 TIFF_UINT8_TYPE = 1,
14 TIFF_STRING_TYPE,
15 TIFF_UINT16_TYPE,
16 TIFF_UINT32_TYPE,
17 TIFF_UFRACTION_TYPE,
18 TIFF_INT8_TYPE,
19 TIFF_UNDEFINED_TYPE,
20 TIFF_INT16_TYPE,
21 TIFF_INT32_TYPE,
22 TIFF_FRACTION_TYPE,
23 TIFF_FLOAT_TYPE,
24 TIFF_DOUBLE_TYPE,
27 struct tiff_tag {
28 uint16 tag;
29 uint16 type;
30 uint32 length;
33 #endif // TIFF_H