MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

lt_ioCStream.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC - C */
12
13 #ifndef LT_IO_C_STREAM_H
14 #define LT_IO_C_STREAM_H
15
16 #include "lt_base.h"
17 #include "lt_lib_io.h"
18 #include "lt_ioCallbackStreamTypes.h"
19
20 #if defined(LT_COMPILER_MS)
21 #pragma warning(push,4)
22 #endif
23
24 #ifdef LT_CPLUSPLUS
25 extern "C" {
26 #endif
27
35
46 LT_STATUS lt_ioCStreamDestroy(LTIOStreamH stream);
47
48
59 LT_STATUS lt_ioCStreamOpen(LTIOStreamH stream);
60
61
73 LT_STATUS lt_ioCStreamClose(LTIOStreamH stream);
74
75
88 lt_uint32 lt_ioCStreamRead(LTIOStreamH stream, lt_uint8* buf, lt_uint32 len);
89
90
103 lt_uint32 lt_ioCStreamWrite(LTIOStreamH stream, const lt_uint8* buf, lt_uint32 len);
104
105
118 LT_STATUS lt_ioCStreamSeek(LTIOStreamH stream, lt_int64 offset, LTIOSeekDir dir);
119
120
131 lt_int64 lt_ioCStreamTell(LTIOStreamH stream);
132
133
144 lt_uint8 lt_ioCStreamIsEOF(LTIOStreamH stream);
145
146
157 lt_uint8 lt_ioCStreamIsOpen(LTIOStreamH stream);
158
159
170 LTIOStreamH lt_ioCStreamDuplicate(LTIOStreamH stream);
171
172
191 LTIOStreamH lt_ioCallbackStreamCreate(LTIOCallbackStream_Open open,
192 LTIOCallbackStream_Close close,
193 LTIOCallbackStream_Read read,
194 LTIOCallbackStream_Write write,
195 LTIOCallbackStream_Seek seek,
196 LTIOCallbackStream_Tell tell,
197 LTIOCallbackStream_IsEOF isEOF,
198 LTIOCallbackStream_IsOpen isOpen,
199 LTIOCallbackStream_Duplicate duplicate,
200 void* userData);
201
204 #ifdef LT_CPLUSPLUS
205 }
206 #endif
207
208 #if defined(LT_COMPILER_MS)
209 #pragma warning(pop)
210 #endif
211
212 #endif

LizardTech