Go to the documentation of this file.00001 #ifndef ECPG_SQLTYPES_H
00002 #define ECPG_SQLTYPES_H
00003
00004 #include <limits.h>
00005
00006 #define CCHARTYPE ECPGt_char
00007 #define CSHORTTYPE ECPGt_short
00008 #define CINTTYPE ECPGt_int
00009 #define CLONGTYPE ECPGt_long
00010 #define CFLOATTYPE ECPGt_float
00011 #define CDOUBLETYPE ECPGt_double
00012 #define CDECIMALTYPE ECPGt_decimal
00013 #define CFIXCHARTYPE 108
00014 #define CSTRINGTYPE ECPGt_char
00015 #define CDATETYPE ECPGt_date
00016 #define CMONEYTYPE 111
00017 #define CDTIMETYPE ECPGt_timestamp
00018 #define CLOCATORTYPE 113
00019 #define CVCHARTYPE ECPGt_varchar
00020 #define CINVTYPE 115
00021 #define CFILETYPE 116
00022 #define CINT8TYPE ECPGt_long_long
00023 #define CCOLLTYPE 118
00024 #define CLVCHARTYPE 119
00025 #define CFIXBINTYPE 120
00026 #define CVARBINTYPE 121
00027 #define CBOOLTYPE ECPGt_bool
00028 #define CROWTYPE 123
00029 #define CLVCHARPTRTYPE 124
00030 #define CTYPEMAX 25
00031
00032
00033
00034
00035 #define SQLCHAR ECPGt_char
00036 #define SQLSMINT ECPGt_short
00037 #define SQLINT ECPGt_int
00038 #define SQLFLOAT ECPGt_double
00039 #define SQLSMFLOAT ECPGt_float
00040 #define SQLDECIMAL ECPGt_decimal
00041 #define SQLSERIAL ECPGt_int
00042 #define SQLDATE ECPGt_date
00043 #define SQLDTIME ECPGt_timestamp
00044 #define SQLTEXT ECPGt_char
00045 #define SQLVCHAR ECPGt_char
00046 #define SQLINTERVAL ECPGt_interval
00047 #define SQLNCHAR ECPGt_char
00048 #define SQLNVCHAR ECPGt_char
00049 #ifdef HAVE_LONG_LONG_INT_64
00050 #define SQLINT8 ECPGt_long_long
00051 #define SQLSERIAL8 ECPGt_long_long
00052 #else
00053 #define SQLINT8 ECPGt_long
00054 #define SQLSERIAL8 ECPGt_long
00055 #endif
00056
00057 #endif