NptTypes.h

00001 /*****************************************************************
00002 |
00003 |   Neptune - Types
00004 |
00005 |      (c) 2001-2006 Gilles Boccon-Gibod
00006 |      Author: Gilles Boccon-Gibod (boK@bok.net)
00007 |
00008  ****************************************************************/
00009 
00010 #ifndef _NPT_TYPES_H_
00011 #define _NPT_TYPES_H_
00012 
00013 /*----------------------------------------------------------------------
00014 |   includes
00015 +---------------------------------------------------------------------*/
00016 
00017 /*----------------------------------------------------------------------
00018 |   named types       
00019 +---------------------------------------------------------------------*/
00020 typedef int           NPT_Result;
00021 typedef unsigned int  NPT_Cardinal;
00022 typedef unsigned int  NPT_Ordinal;
00023 typedef unsigned long NPT_Size;
00024 typedef signed   long NPT_Offset;
00025 typedef unsigned long NPT_Position;
00026 typedef long          NPT_Timeout;
00027 typedef void          NPT_Interface;
00028 typedef unsigned char NPT_Byte;
00029 typedef unsigned int  NPT_Flags;
00030 typedef int           NPT_Integer;
00031 
00032 /*----------------------------------------------------------------------
00033 |   sized types
00034 +---------------------------------------------------------------------*/
00035 typedef unsigned int   NPT_UInt32;
00036 typedef int            NPT_Int32;
00037 typedef unsigned short NPT_UInt16;
00038 typedef short          NPT_Int16;
00039 typedef unsigned char  NPT_UInt8;
00040 typedef char           NPT_Int8;
00041 typedef float          NPT_Float;
00042 
00043 #endif // _NPT_TYPES_H_