include/sqltypes.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tagDATE_STRUCT
struct  tagTIME_STRUCT
struct  tagTIMESTAMP_STRUCT
struct  tagSQL_YEAR_MONTH
struct  tagSQL_DAY_SECOND
struct  tagSQL_INTERVAL_STRUCT
struct  __bigint_struct
struct  __bigint_struct_u
struct  tagSQL_NUMERIC_STRUCT
struct  tagSQLGUID

Defines

#define ODBCVER   0x0351
#define FAR
#define CALLBACK
#define SQL_API
#define BOOL   int
#define SQLLEN   SQLINTEGER
#define SQLULEN   SQLUINTEGER
#define SQLSETPOSIROW   SQLUSMALLINT
#define ODBCINT64   struct __bigint_struct
#define UODBCINT64   struct __bigint_struct_u
#define SQL_MAX_NUMERIC_LEN   16

Typedefs

typedef void * HWND
typedef char CHAR
typedef char TCHAR
typedef void VOID
typedef unsigned short WORD
typedef unsigned int DWORD
typedef unsigned char BYTE
typedef unsigned short WCHAR
typedef WCHARLPWSTR
typedef const char * LPCSTR
typedef const WCHARLPCWSTR
typedef TCHARLPTSTR
typedef char * LPSTR
typedef DWORDLPDWORD
typedef void * HINSTANCE
typedef unsigned char SQLCHAR
typedef unsigned char SQLDATE
typedef unsigned char SQLDECIMAL
typedef double SQLDOUBLE
typedef double SQLFLOAT
typedef long SQLINTEGER
typedef unsigned long SQLUINTEGER
typedef SQLULEN SQLROWCOUNT
typedef SQLULEN SQLROWSETSIZE
typedef SQLULEN SQLTRANSID
typedef SQLLEN SQLROWOFFSET
typedef unsigned char SQLNUMERIC
typedef void * SQLPOINTER
typedef float SQLREAL
typedef signed short int SQLSMALLINT
typedef unsigned short SQLUSMALLINT
typedef unsigned char SQLTIME
typedef unsigned char SQLTIMESTAMP
typedef unsigned char SQLVARCHAR
typedef SQLSMALLINT SQLRETURN
typedef void * SQLHANDLE
typedef SQLHANDLE SQLHENV
typedef SQLHANDLE SQLHDBC
typedef SQLHANDLE SQLHSTMT
typedef SQLHANDLE SQLHDESC
typedef SQLHANDLE HENV
typedef SQLHANDLE HDBC
typedef SQLHANDLE HSTMT
typedef unsigned char UCHAR
typedef signed char SCHAR
typedef SCHAR SQLSCHAR
typedef int SDWORD
typedef unsigned int UDWORD
typedef signed short int SWORD
typedef unsigned short int UWORD
typedef unsigned int UINT
typedef signed long SLONG
typedef signed short SSHORT
typedef unsigned long ULONG
typedef unsigned short USHORT
typedef double SDOUBLE
typedef double LDOUBLE
typedef float SFLOAT
typedef void * PTR
typedef signed short RETCODE
typedef void * SQLHWND
typedef tagDATE_STRUCT DATE_STRUCT
typedef DATE_STRUCT SQL_DATE_STRUCT
typedef tagTIME_STRUCT TIME_STRUCT
typedef TIME_STRUCT SQL_TIME_STRUCT
typedef tagTIMESTAMP_STRUCT TIMESTAMP_STRUCT
typedef TIMESTAMP_STRUCT SQL_TIMESTAMP_STRUCT
typedef tagSQL_YEAR_MONTH SQL_YEAR_MONTH_STRUCT
typedef tagSQL_DAY_SECOND SQL_DAY_SECOND_STRUCT
typedef tagSQL_INTERVAL_STRUCT SQL_INTERVAL_STRUCT
typedef ODBCINT64 SQLBIGINT
typedef UODBCINT64 SQLUBIGINT
typedef tagSQL_NUMERIC_STRUCT SQL_NUMERIC_STRUCT
typedef tagSQLGUID SQLGUID
typedef SQLULEN BOOKMARK
typedef WCHAR SQLWCHAR
typedef SQLCHAR SQLTCHAR

Enumerations

enum  SQLINTERVAL {
  SQL_IS_YEAR = 1, SQL_IS_MONTH = 2, SQL_IS_DAY = 3, SQL_IS_HOUR = 4,
  SQL_IS_MINUTE = 5, SQL_IS_SECOND = 6, SQL_IS_YEAR_TO_MONTH = 7, SQL_IS_DAY_TO_HOUR = 8,
  SQL_IS_DAY_TO_MINUTE = 9, SQL_IS_DAY_TO_SECOND = 10, SQL_IS_HOUR_TO_MINUTE = 11, SQL_IS_HOUR_TO_SECOND = 12,
  SQL_IS_MINUTE_TO_SECOND = 13
}


Define Documentation

#define BOOL   int

Definition at line 74 of file sqltypes.h.

#define CALLBACK

Definition at line 68 of file sqltypes.h.

#define FAR

Definition at line 67 of file sqltypes.h.

#define ODBCINT64   struct __bigint_struct

Definition at line 400 of file sqltypes.h.

#define ODBCVER   0x0351

Definition at line 28 of file sqltypes.h.

#define SQL_API

Definition at line 72 of file sqltypes.h.

#define SQL_MAX_NUMERIC_LEN   16

Definition at line 417 of file sqltypes.h.

#define SQLLEN   SQLINTEGER

Definition at line 186 of file sqltypes.h.

#define SQLSETPOSIROW   SQLUSMALLINT

Definition at line 188 of file sqltypes.h.

#define SQLULEN   SQLUINTEGER

Definition at line 187 of file sqltypes.h.

Referenced by CacheTableLoader::load(), and SqlOdbcStatement::prepare().

#define UODBCINT64   struct __bigint_struct_u

Definition at line 401 of file sqltypes.h.


Typedef Documentation

typedef SQLULEN BOOKMARK

Definition at line 451 of file sqltypes.h.

typedef unsigned char BYTE

Definition at line 105 of file sqltypes.h.

typedef char CHAR

Definition at line 76 of file sqltypes.h.

typedef struct tagDATE_STRUCT DATE_STRUCT

typedef unsigned int DWORD

Definition at line 103 of file sqltypes.h.

typedef SQLHANDLE HDBC

Definition at line 241 of file sqltypes.h.

typedef SQLHANDLE HENV

Definition at line 240 of file sqltypes.h.

typedef void* HINSTANCE

Definition at line 120 of file sqltypes.h.

typedef SQLHANDLE HSTMT

Definition at line 242 of file sqltypes.h.

typedef void* HWND

Definition at line 75 of file sqltypes.h.

typedef double LDOUBLE

Definition at line 273 of file sqltypes.h.

typedef const char* LPCSTR

Definition at line 114 of file sqltypes.h.

typedef const WCHAR* LPCWSTR

Definition at line 115 of file sqltypes.h.

typedef DWORD* LPDWORD

Definition at line 118 of file sqltypes.h.

typedef char* LPSTR

Definition at line 117 of file sqltypes.h.

typedef TCHAR* LPTSTR

Definition at line 116 of file sqltypes.h.

typedef WCHAR* LPWSTR

Definition at line 113 of file sqltypes.h.

typedef void* PTR

Definition at line 275 of file sqltypes.h.

typedef signed short RETCODE

Definition at line 276 of file sqltypes.h.

typedef signed char SCHAR

Definition at line 256 of file sqltypes.h.

typedef double SDOUBLE

Definition at line 272 of file sqltypes.h.

typedef int SDWORD

Definition at line 262 of file sqltypes.h.

typedef float SFLOAT

Definition at line 274 of file sqltypes.h.

typedef signed long SLONG

Definition at line 268 of file sqltypes.h.

typedef DATE_STRUCT SQL_DATE_STRUCT

Definition at line 294 of file sqltypes.h.

typedef struct tagSQL_DAY_SECOND SQL_DAY_SECOND_STRUCT

typedef struct tagSQL_INTERVAL_STRUCT SQL_INTERVAL_STRUCT

typedef struct tagSQL_NUMERIC_STRUCT SQL_NUMERIC_STRUCT

typedef TIME_STRUCT SQL_TIME_STRUCT

Definition at line 305 of file sqltypes.h.

typedef TIMESTAMP_STRUCT SQL_TIMESTAMP_STRUCT

Definition at line 320 of file sqltypes.h.

typedef struct tagSQL_YEAR_MONTH SQL_YEAR_MONTH_STRUCT

typedef ODBCINT64 SQLBIGINT

Definition at line 405 of file sqltypes.h.

typedef unsigned char SQLCHAR

Definition at line 128 of file sqltypes.h.

typedef unsigned char SQLDATE

Definition at line 131 of file sqltypes.h.

typedef unsigned char SQLDECIMAL

Definition at line 132 of file sqltypes.h.

typedef double SQLDOUBLE

Definition at line 133 of file sqltypes.h.

typedef double SQLFLOAT

Definition at line 134 of file sqltypes.h.

typedef struct tagSQLGUID SQLGUID

typedef void* SQLHANDLE

Definition at line 217 of file sqltypes.h.

typedef SQLHANDLE SQLHDBC

Definition at line 219 of file sqltypes.h.

typedef SQLHANDLE SQLHDESC

Definition at line 221 of file sqltypes.h.

typedef SQLHANDLE SQLHENV

Definition at line 218 of file sqltypes.h.

typedef SQLHANDLE SQLHSTMT

Definition at line 220 of file sqltypes.h.

typedef void* SQLHWND

Definition at line 277 of file sqltypes.h.

typedef long SQLINTEGER

Definition at line 184 of file sqltypes.h.

typedef unsigned char SQLNUMERIC

Definition at line 196 of file sqltypes.h.

typedef void* SQLPOINTER

Definition at line 199 of file sqltypes.h.

typedef float SQLREAL

Definition at line 202 of file sqltypes.h.

typedef SQLSMALLINT SQLRETURN

Definition at line 214 of file sqltypes.h.

typedef SQLULEN SQLROWCOUNT

Definition at line 189 of file sqltypes.h.

typedef SQLLEN SQLROWOFFSET

Definition at line 192 of file sqltypes.h.

typedef SQLULEN SQLROWSETSIZE

Definition at line 190 of file sqltypes.h.

typedef SCHAR SQLSCHAR

Definition at line 257 of file sqltypes.h.

typedef signed short int SQLSMALLINT

Definition at line 205 of file sqltypes.h.

typedef SQLCHAR SQLTCHAR

Definition at line 458 of file sqltypes.h.

typedef unsigned char SQLTIME

Definition at line 209 of file sqltypes.h.

typedef unsigned char SQLTIMESTAMP

Definition at line 210 of file sqltypes.h.

typedef SQLULEN SQLTRANSID

Definition at line 191 of file sqltypes.h.

typedef UODBCINT64 SQLUBIGINT

Definition at line 408 of file sqltypes.h.

typedef unsigned long SQLUINTEGER

Definition at line 185 of file sqltypes.h.

typedef unsigned short SQLUSMALLINT

Definition at line 206 of file sqltypes.h.

typedef unsigned char SQLVARCHAR

Definition at line 211 of file sqltypes.h.

typedef WCHAR SQLWCHAR

Definition at line 453 of file sqltypes.h.

typedef signed short SSHORT

Definition at line 269 of file sqltypes.h.

typedef signed short int SWORD

Definition at line 265 of file sqltypes.h.

typedef char TCHAR

Definition at line 92 of file sqltypes.h.

typedef struct tagTIME_STRUCT TIME_STRUCT

typedef struct tagTIMESTAMP_STRUCT TIMESTAMP_STRUCT

typedef unsigned char UCHAR

Definition at line 255 of file sqltypes.h.

typedef unsigned int UDWORD

Definition at line 263 of file sqltypes.h.

typedef unsigned int UINT

Definition at line 267 of file sqltypes.h.

typedef unsigned long ULONG

Definition at line 270 of file sqltypes.h.

typedef unsigned short USHORT

Definition at line 271 of file sqltypes.h.

typedef unsigned short int UWORD

Definition at line 266 of file sqltypes.h.

typedef void VOID

Definition at line 96 of file sqltypes.h.

typedef unsigned short WCHAR

Definition at line 110 of file sqltypes.h.

typedef unsigned short WORD

Definition at line 99 of file sqltypes.h.


Enumeration Type Documentation

enum SQLINTERVAL

Enumerator:
SQL_IS_YEAR 
SQL_IS_MONTH 
SQL_IS_DAY 
SQL_IS_HOUR 
SQL_IS_MINUTE 
SQL_IS_SECOND 
SQL_IS_YEAR_TO_MONTH 
SQL_IS_DAY_TO_HOUR 
SQL_IS_DAY_TO_MINUTE 
SQL_IS_DAY_TO_SECOND 
SQL_IS_HOUR_TO_MINUTE 
SQL_IS_HOUR_TO_SECOND 
SQL_IS_MINUTE_TO_SECOND 

Definition at line 325 of file sqltypes.h.

00326 {
00327         SQL_IS_YEAR                                             = 1,
00328         SQL_IS_MONTH                                    = 2,
00329         SQL_IS_DAY                                              = 3,
00330         SQL_IS_HOUR                                             = 4,
00331         SQL_IS_MINUTE                                   = 5,
00332         SQL_IS_SECOND                                   = 6,
00333         SQL_IS_YEAR_TO_MONTH                    = 7,
00334         SQL_IS_DAY_TO_HOUR                              = 8,
00335         SQL_IS_DAY_TO_MINUTE                    = 9,
00336         SQL_IS_DAY_TO_SECOND                    = 10,
00337         SQL_IS_HOUR_TO_MINUTE                   = 11,
00338         SQL_IS_HOUR_TO_SECOND                   = 12,
00339         SQL_IS_MINUTE_TO_SECOND                 = 13
00340 } SQLINTERVAL;


Generated on Mon Jun 9 22:39:37 2008 for csql by  doxygen 1.4.7