MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
lt_ioCallbackStreamTypes.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_CALLBACK_STREAM_TYPES_H
14 #define LT_IO_CALLBACK_STREAM_TYPES_H
15 
16 #include "lt_base.h"
17 #include "lt_lib_io.h"
18 
19 #if defined(LT_COMPILER_MS)
20  #pragma warning(push,4)
21 #endif
22 
23 #ifdef LT_CPLUSPLUS
24 extern "C" {
25 #endif
26 
27 
31 typedef void* LTIOStreamH;
32 
37 
46 
55 
65 
74 typedef lt_uint32 (*LTIOCallbackStream_Write)(void*, const lt_uint8*, lt_uint32);
75 
84 typedef LT_STATUS (*LTIOCallbackStream_Seek)(void*, lt_int64, LTIOSeekDir);
85 
93 typedef lt_int64 (*LTIOCallbackStream_Tell)(void*);
94 
103 
112 
121 
125 #ifdef LT_CPLUSPLUS
126 }
127 #endif
128 
129 #if defined(LT_COMPILER_MS)
130  #pragma warning(pop)
131 #endif
132 
133 #endif

LizardTech