00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef SQLDB_h
00021 #define SQLDB_h
00022 
00023 #include "./sybdb.h"
00024 
00025 #define SQLCHAR SYBCHAR
00026 #define SQLVARCHAR SYBVARCHAR
00027 #define SQLINTN SYBINTN
00028 #define SQLINT1 SYBINT1
00029 #define SQLINT2 SYBINT2
00030 #define SQLINT4 SYBINT4
00031 #define SQLINT8 SYBINT8
00032 #define SQLFLT8 SYBFLT8
00033 #define SQLDATETIME SYBDATETIME
00034 #define SQLBIT SYBBIT
00035 #define SQLTEXT SYBTEXT
00036 #define SQLIMAGE SYBIMAGE
00037 #define SQLMONEY4 SYBMONEY4
00038 #define SQLMONEY SYBMONEY
00039 #define SQLDATETIM4 SYBDATETIME4
00040 #define SQLFLT4 SYBREAL
00041 #define SQLBINARY SYBBINARY
00042 #define SQLVARBINARY SYBVARBINARY
00043 #define SQLNUMERIC SYBNUMERIC
00044 #define SQLDECIMAL SYBDECIMAL
00045 #define SQLFLTN SYBFLTN
00046 #define SQLMONEYN SYBMONEYN
00047 #define SQLDATETIMN SYBDATETIMN
00048 #define SQLVOID SYBVOID
00049 
00050 #define SMALLDATETIBIND SMALLDATETIMEBIND
00051 
00052 #define DBERRHANDLE_PROC EHANDLEFUNC 
00053 #define DBMSGHANDLE_PROC MHANDLEFUNC 
00054 
00055 
00056 #define SQLEMEM         SYBEMEM
00057 #define SQLENULL        SYBENULL
00058 #define SQLENLOG        SYBENLOG
00059 #define SQLEPWD         SYBEPWD
00060 #define SQLECONN        SYBECONN
00061 #define SQLEDDNE        SYBEDDNE
00062 #define SQLENULLO       SYBENULLO
00063 #define SQLESMSG        SYBESMSG
00064 #define SQLEBTOK        SYBEBTOK
00065 #define SQLENSPE        SYBENSPE
00066 #define SQLEREAD        SYBEREAD
00067 #define SQLECNOR        SYBECNOR
00068 #define SQLETSIT        SYBETSIT
00069 #define SQLEPARM        SYBEPARM
00070 #define SQLEAUTN        SYBEAUTN
00071 #define SQLECOFL        SYBECOFL
00072 #define SQLERDCN        SYBERDCN
00073 #define SQLEICN         SYBEICN
00074 #define SQLECLOS        SYBECLOS
00075 #define SQLENTXT        SYBENTXT
00076 #define SQLEDNTI        SYBEDNTI
00077 #define SQLETMTD        SYBETMTD
00078 #define SQLEASEC        SYBEASEC
00079 #define SQLENTLL        SYBENTLL
00080 #define SQLETIME        SYBETIME
00081 #define SQLEWRIT        SYBEWRIT
00082 #define SQLEMODE        SYBEMODE
00083 #define SQLEOOB         SYBEOOB
00084 #define SQLEITIM        SYBEITIM
00085 #define SQLEDBPS        SYBEDBPS
00086 #define SQLEIOPT        SYBEIOPT
00087 #define SQLEASNL        SYBEASNL
00088 #define SQLEASUL        SYBEASUL
00089 #define SQLENPRM        SYBENPRM
00090 #define SQLEDBOP        SYBEDBOP
00091 #define SQLENSIP        SYBENSIP
00092 #define SQLECNULL       SYBECNULL
00093 #define SQLESEOF        SYBESEOF
00094 #define SQLERPND        SYBERPND
00095 #define SQLECSYN        SYBECSYN
00096 #define SQLENONET       SYBENONET
00097 #define SQLEBTYP        SYBEBTYP
00098 #define SQLEABNC        SYBEABNC
00099 #define SQLEABMT        SYBEABMT
00100 #define SQLEABNP        SYBEABNP
00101 #define SQLEBNCR        SYBEBNCR
00102 #define SQLEAAMT        SYBEAAMT
00103 #define SQLENXID        SYBENXID
00104 #define SQLEIFNB        SYBEIFNB
00105 #define SQLEKBCO        SYBEKBCO
00106 #define SQLEBBCI        SYBEBBCI
00107 #define SQLEKBCI        SYBEKBCI
00108 #define SQLEBCWE        SYBEBCWE
00109 #define SQLEBCNN        SYBEBCNN
00110 #define SQLEBCOR        SYBEBCOR
00111 #define SQLEBCPI        SYBEBCPI
00112 #define SQLEBCPN        SYBEBCPN
00113 #define SQLEBCPB        SYBEBCPB
00114 #define SQLEVDPT        SYBEVDPT
00115 #define SQLEBIVI        SYBEBIVI
00116 #define SQLEBCBC        SYBEBCBC
00117 #define SQLEBCFO        SYBEBCFO
00118 #define SQLEBCVH        SYBEBCVH
00119 #define SQLEBCUO        SYBEBCUO
00120 #define SQLEBUOE        SYBEBUOE
00121 #define SQLEBWEF        SYBEBWEF
00122 #define SQLEBTMT        SYBEBTMT
00123 #define SQLEBEOF        SYBEBEOF
00124 #define SQLEBCSI        SYBEBCSI
00125 #define SQLEPNUL        SYBEPNUL
00126 #define SQLEBSKERR      SYBEBSKERR
00127 #define SQLEBDIO        SYBEBDIO
00128 #define SQLEBCNT        SYBEBCNT
00129 #define SQLEMDBP        SYBEMDBP
00130 #define SQLINIT         SYBINIT
00131 #define SQLCRSINV       SYBCRSINV
00132 #define SQLCRSCMD       SYBCRSCMD
00133 #define SQLCRSNOIND     SYBCRSNOIND
00134 #define SQLCRSDIS       SYBCRSDIS
00135 #define SQLCRSAGR       SYBCRSAGR
00136 #define SQLCRSORD       SYBCRSORD
00137 #define SQLCRSMEM       SYBCRSMEM
00138 #define SQLCRSBSKEY     SYBCRSBSKEY
00139 #define SQLCRSNORES     SYBCRSNORES
00140 #define SQLCRSVIEW      SYBCRSVIEW
00141 #define SQLCRSBUFR      SYBCRSBUFR
00142 #define SQLCRSFROWN     SYBCRSFROWN
00143 #define SQLCRSBROL      SYBCRSBROL
00144 #define SQLCRSFRAND     SYBCRSFRAND
00145 #define SQLCRSFLAST     SYBCRSFLAST
00146 #define SQLCRSRO        SYBCRSRO
00147 #define SQLCRSTAB       SYBCRSTAB
00148 #define SQLCRSUPDTAB    SYBCRSUPDTAB
00149 #define SQLCRSUPDNB     SYBCRSUPDNB
00150 #define SQLCRSVIIND     SYBCRSVIIND
00151 #define SQLCRSNOUPD     SYBCRSNOUPD
00152 #define SQLCRSOS        SYBCRSOS
00153 #define SQLEBCSA        SYBEBCSA
00154 #define SQLEBCRO        SYBEBCRO
00155 #define SQLEBCNE        SYBEBCNE
00156 #define SQLEBCSK        SYBEBCSK
00157 #define SQLEUVBF        SYBEUVBF
00158 #define SQLEBIHC        SYBEBIHC
00159 #define SQLEBWFF        SYBEBWFF
00160 #define SQLNUMVAL       SYBNUMVAL
00161 #define SQLEOLDVR       SYBEOLDVR
00162 #define SQLEBCPS        SYBEBCPS
00163 #define SQLEDTC         SYBEDTC
00164 #define SQLENOTIMPL     SYBENOTIMPL
00165 #define SQLENONFLOAT    SYBENONFLOAT
00166 #define SQLECONNFB      SYBECONNFB
00167 
00168 
00169 #define dbfreelogin(x) dbloginfree((x))
00170 
00171 #define dbprocerrhandle(p, h) dberrhandle((h))
00172 #define dbprocmsghandle(p, h) dbmsghandle((h))
00173 
00174 #define dbwinexit()
00175 
00176 static const char rcsid_sqldb_h[] = "$Id: sqldb.h,v 1.6 2009/12/02 22:35:18 jklowden Exp $";
00177 static const void *const no_unused_sqldb_h_warn[] = { rcsid_sqldb_h, no_unused_sqldb_h_warn };
00178 
00179 
00180 #endif