MrSID Decode SDK for Raster Reference Manual  9.5.4.4709
lt_lib_io.h
Go to the documentation of this file.
00001 /* $Id$ */
00002 /* //////////////////////////////////////////////////////////////////////////
00003 //                                                                         //
00004 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue,   //
00005 // Suite 200, Seattle, WA 98104.  Unauthorized use or distribution         //
00006 // prohibited.  Access to and use of this code is permitted only under     //
00007 // license from LizardTech, Inc.  Portions of the code are protected by    //
00008 // US and foreign patents and other filings. All Rights Reserved.          //
00009 //                                                                         //
00011 /* PUBLIC - C */
00012  
00018 #ifndef LT_LIB_IO_H
00019 #define LT_LIB_IO_H
00020 
00021 #include "lt_base.h"
00022 
00023 #ifdef LT_CPLUSPLUS
00024 extern "C" {
00025 #endif
00026 
00030 typedef enum LTIOSeekDir
00031 {
00033    LTIO_SEEK_DIR_ERROR = 1,
00034    
00036    LTIO_SEEK_DIR_BEG = 2,
00037 
00039    LTIO_SEEK_DIR_CUR = 3,
00040 
00042    LTIO_SEEK_DIR_END = 4,
00043 
00045    LTIO_SEEK_DIR_MAX = 5
00046 } LTIOSeekDir;
00047 
00048 //   status codes
00049 #include "lt_ioStatus.h"
00050 
00051 //   macros
00052 #define LTIO_HR_FAILED(hr)  (static_cast<lt_int32>(hr) < 0)
00053 
00054 #ifdef LT_CPLUSPLUS
00055 }
00056 #endif
00057 
00058 #endif