00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef Fennel_BBPort_Included
00023 #define Fennel_BBPort_Included
00024
00025 FENNEL_BEGIN_NAMESPACE
00026
00027
00028
00029
00030
00031 typedef int INT;
00032 typedef uint8_t BYTE;
00033 typedef BYTE *PBYTE;
00034 typedef bool BOOL;
00035 typedef int16_t SWORD;
00036 typedef uint32_t DWORD;
00037 typedef DWORD HANDLE;
00038 typedef uint32_t ULONG;
00039 typedef int32_t LONG;
00040 typedef int64_t INT64;
00041 typedef uint16_t WORD;
00042 typedef WORD *PWORD;
00043 typedef uint UINT;
00044 typedef char TCHAR;
00045 typedef char BCHAR;
00046 typedef UINT *PUINT;
00047 typedef TCHAR BBCHAR;
00048 typedef TCHAR *PBBCHAR;
00049 typedef unsigned char UCHAR;
00050 typedef int16_t INT16;
00051 typedef int32_t INT32;
00052 typedef int64_t INT64;
00053 typedef float REAL32;
00054 typedef double REAL64;
00055
00056 typedef INT16 SMALLINT;
00057 typedef INT32 INTEGER;
00058 typedef INT64 BIGINT;
00059 typedef INT64 TIMESTAMP;
00060 typedef WORD OFFSET, *POFFSET;
00061 typedef DWORD RID, *PRID;
00062
00063 #define FALSE false
00064 #define TRUE true
00065
00066 enum BBRC
00067 {
00068
00069 BBRC_SUCCESS = 0,
00070
00071
00072 BBRC_ENDOFDATA,
00073 BBRC_OUTOFSPACE,
00074 BBRC_ERR_NOTFOUND,
00075
00076
00077 BBRC_ERR,
00078 BBRC_ERR_INTERNAL,
00079 BBRC_ERR_MEM_OUT,
00080 BBRC_ERR_ALLOC_ERROR_STACK_BUFFER,
00081
00082
00083 BBRC_ERR_FILEIO,
00084 BBRC_ERR_FILEIO_UNKNOWN,
00085 BBRC_ERR_FILEIO_FILE_NOT_ACTIVE,
00086 BBRC_ERR_FILEIO_FILE_EXISTS,
00087 BBRC_ERR_FILEIO_MAX_EXTENT,
00088 BBRC_ERR_FILEIO_FILEFULL,
00089 };
00090
00091
00092 #define BB_PRELUDE()
00093 #define BB_FINALE()
00094 #define BB_RETURN() return
00095 #define BB_DROP(rc, label)
00096
00097 FENNEL_END_NAMESPACE
00098
00099 #endif
00100
00101