|
#define | SQLULEN SQLUINTEGER |
|
#define | SQLLEN SQLINTEGER |
|
#define | FREETDS_SRCDIR FREETDS_TOPDIR "/src/odbc/unittests" |
|
#define | ODBC_CHECK_ROWS(n) odbc_check_rows(n, __LINE__, __FILE__) |
|
#define | ODBC_CHECK_COLS(n) odbc_check_cols(n, __LINE__, __FILE__) |
|
#define | odbc_reset_statement() odbc_reset_statement_proc(&odbc_stmt, __FILE__, __LINE__) |
|
#define | ODBC_REPORT_ERROR(msg) odbc_report_error(msg, __LINE__, __FILE__) |
|
#define | CHKR(func, params, res) odbc_check_res(__FILE__, __LINE__, (func params), 0, 0, #func, res) |
|
#define | CHKR2(func, params, type, handle, res) odbc_check_res(__FILE__, __LINE__, (func params), type, handle, #func, res) |
|
#define | CHKAllocConnect(a, res) CHKR2(SQLAllocConnect, (odbc_env,a), SQL_HANDLE_ENV, odbc_env, res) |
|
#define | CHKAllocEnv(a, res) CHKR2(SQLAllocEnv, (a), 0, 0, res) |
|
#define | CHKAllocStmt(a, res) CHKR2(SQLAllocStmt, (odbc_conn,a), SQL_HANDLE_DBC, odbc_conn, res) |
|
#define | CHKAllocHandle(a, b, c, res) CHKR2(SQLAllocHandle, (a,b,c), odbc_alloc_handle_err_type(a), b, res) |
|
#define | CHKBindCol(a, b, c, d, e, res) CHKR2(SQLBindCol, (odbc_stmt,a,b,c,d,e), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKBindParameter(a, b, c, d, e, f, g, h, i, res) CHKR2(SQLBindParameter, (odbc_stmt,a,b,c,d,e,f,g,h,i), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKCancel(res) CHKR2(SQLCancel, (odbc_stmt), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKCloseCursor(res) CHKR2(SQLCloseCursor, (odbc_stmt), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKColAttribute(a, b, c, d, e, f, res) CHKR2(SQLColAttribute, (odbc_stmt,a,b,c,d,e,f), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKDescribeCol(a, b, c, d, e, f, g, h, res) CHKR2(SQLDescribeCol, (odbc_stmt,a,b,c,d,e,f,g,h), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKConnect(a, b, c, d, e, f, res) CHKR2(SQLConnect, (odbc_conn,a,b,c,d,e,f), SQL_HANDLE_DBC, odbc_conn, res) |
|
#define | CHKDriverConnect(a, b, c, d, e, f, g, res) CHKR2(SQLDriverConnect, (odbc_conn,a,b,c,d,e,f,g), SQL_HANDLE_DBC, odbc_conn, res) |
|
#define | CHKEndTran(a, b, c, res) CHKR2(SQLEndTran, (a,b,c), a, b, res) |
|
#define | CHKExecDirect(a, b, res) CHKR2(SQLExecDirect, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKExecute(res) CHKR2(SQLExecute, (odbc_stmt), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKExtendedFetch(a, b, c, d, res) CHKR2(SQLExtendedFetch, (odbc_stmt,a,b,c,d), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKFetch(res) CHKR2(SQLFetch, (odbc_stmt), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKFetchScroll(a, b, res) CHKR2(SQLFetchScroll, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKFreeHandle(a, b, res) CHKR2(SQLFreeHandle, (a,b), a, b, res) |
|
#define | CHKFreeStmt(a, res) CHKR2(SQLFreeStmt, (odbc_stmt,a), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKGetConnectAttr(a, b, c, d, res) CHKR2(SQLGetConnectAttr, (odbc_conn,a,b,c,d), SQL_HANDLE_DBC, odbc_conn, res) |
|
#define | CHKGetDiagRec(a, b, c, d, e, f, g, h, res) CHKR2(SQLGetDiagRec, (a,b,c,d,e,f,g,h), a, b, res) |
|
#define | CHKGetDiagField(a, b, c, d, e, f, g, res) CHKR2(SQLGetDiagField, (a,b,c,d,e,f,g), a, b, res) |
|
#define | CHKGetStmtAttr(a, b, c, d, res) CHKR2(SQLGetStmtAttr, (odbc_stmt,a,b,c,d), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKGetTypeInfo(a, res) CHKR2(SQLGetTypeInfo, (odbc_stmt,a), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKGetData(a, b, c, d, e, res) CHKR2(SQLGetData, (odbc_stmt,a,b,c,d,e), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKMoreResults(res) CHKR2(SQLMoreResults, (odbc_stmt), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKNumResultCols(a, res) CHKR2(SQLNumResultCols, (odbc_stmt,a), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKParamData(a, res) CHKR2(SQLParamData, (odbc_stmt,a), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKParamOptions(a, b, res) CHKR2(SQLParamOptions, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKPrepare(a, b, res) CHKR2(SQLPrepare, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKPutData(a, b, res) CHKR2(SQLPutData, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKRowCount(a, res) CHKR2(SQLRowCount, (odbc_stmt,a), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKSetConnectAttr(a, b, c, res) CHKR2(SQLSetConnectAttr, (odbc_conn,a,b,c), SQL_HANDLE_DBC, odbc_conn, res) |
|
#define | CHKSetCursorName(a, b, res) CHKR2(SQLSetCursorName, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKSetPos(a, b, c, res) CHKR2(SQLSetPos, (odbc_stmt,a,b,c), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKSetStmtAttr(a, b, c, res) CHKR2(SQLSetStmtAttr, (odbc_stmt,a,b,c), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKSetStmtOption(a, b, res) CHKR2(SQLSetStmtOption, (odbc_stmt,a,b), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKTables(a, b, c, d, e, f, g, h, res) CHKR2(SQLTables, (odbc_stmt,a,b,c,d,e,f,g,h), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKProcedureColumns(a, b, c, d, e, f, g, h, res) CHKR2(SQLProcedureColumns, (odbc_stmt,a,b,c,d,e,f,g,h), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKColumns(a, b, c, d, e, f, g, h, res) CHKR2(SQLColumns, (odbc_stmt,a,b,c,d,e,f,g,h), SQL_HANDLE_STMT, odbc_stmt, res) |
|
#define | CHKGetDescRec(a, b, c, d, e, f, g, h, i, j, res) CHKR2(SQLGetDescRec, (Descriptor,a,b,c,d,e,f,g,h,i,j), SQL_HANDLE_STMT, Descriptor, res) |
|
#define | odbc_command(cmd) odbc_command_proc(odbc_stmt, cmd, __FILE__, __LINE__, "SNo") |
|
#define | odbc_command2(cmd, res) odbc_command_proc(odbc_stmt, cmd, __FILE__, __LINE__, res) |
|
#define | ODBC_VECTOR_SIZE(x) (sizeof(x)/sizeof(x[0])) |
|
#define | int2ptr(i) ((void*)(((char*)0)+((tds_sysdep_intptr_type)(i)))) |
|
#define | ptr2int(p) ((int)(((char*)(p))-((char*)0))) |
|
#define | setenv odbc_setenv |
|
#define | ODBC_GET(s) odbc_buf_get(&odbc_buf, s) |
|
#define | ODBC_FREE() odbc_buf_free(&odbc_buf) |
|
#define | T(s) ((SQLCHAR*)(s)) |
|
#define | C(s) ((char*)(s)) |
|