MrSID Decode SDK for Raster Reference Manual  9.1.0.4045
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
void * LTIOStreamH
opaque pointer to an LTIOStreamInf
LT_STATUS(* LTIOCallbackStream_Open)(void *)
typedef for callback stream open function
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:54
unsigned char lt_uint8
unsigned 8-bit integer
Definition: lt_types.h:46
Support for the IO classes.
lt_uint32(* LTIOCallbackStream_Read)(void *, lt_uint8 *, lt_uint32)
typedef for callback stream read function
LT_STATUS(* LTIOCallbackStream_Close)(void *)
typedef for callback stream close function
lt_uint32(* LTIOCallbackStream_Write)(void *, const lt_uint8 *, lt_uint32)
typedef for callback stream write function
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:39
lt_uint8(* LTIOCallbackStream_IsOpen)(void *)
typedef for callback stream isOpen function
lt_int64(* LTIOCallbackStream_Tell)(void *)
typedef for callback stream tell function
lt_uint8(* LTIOCallbackStream_IsEOF)(void *)
typedef for callback stream isEOF function
Include file for all LizardTech sources.
LTIOSeekDir
Stream seek directions.
Definition: lt_lib_io.h:30
LTIOStreamH(* LTIOCallbackStream_Duplicate)(void *)
typedef for callback stream duplicate function
LT_STATUS(* LTIOCallbackStream_Seek)(void *, lt_int64, LTIOSeekDir)
typedef for callback stream seek function

LizardTech