/******************************************************* ** ** Licensed Materials - Property of IBM ** ** (C) COPYRIGHT International Business Machines Corp. 1995, 1999 ** All Rights Reserved. ** ** US Government Users Restricted Rights - Use, duplication or ** disclosure restricted by GSA ADP Schedule Contract with IBM Corp. ** ** file = getfuncs.h ** - Define Global Variables for getfuncs.c ** ********************************************************/ /* This file should be included after sqlcli1.h */ SQLSMALLINT func_list[] = { SQL_API_SQLAllocConnect, SQL_API_SQLAllocEnv, SQL_API_SQLAllocStmt, SQL_API_SQLBindCol, SQL_API_SQLBindFileToCol, SQL_API_SQLBindFileToParam, SQL_API_SQLBindParameter, SQL_API_SQLBrowseConnect, SQL_API_SQLCancel, SQL_API_SQLColAttributeS, SQL_API_SQLColumnPrivileges, SQL_API_SQLColumns, SQL_API_SQLConnect, SQL_API_SQLDataSources, SQL_API_SQLDescribeCol, SQL_API_SQLDescribeParam, SQL_API_SQLDisconnect, SQL_API_SQLDriverConnect, SQL_API_SQLError, SQL_API_SQLExecDirect, SQL_API_SQLExecute, SQL_API_SQLExtendedFetch, SQL_API_SQLFetch, SQL_API_SQLForeignKeys, SQL_API_SQLFreeConnect, SQL_API_SQLFreeEnv, SQL_API_SQLFreeStmt, SQL_API_SQLGetConnectOption, SQL_API_SQLGetCursorName, SQL_API_SQLGetData, SQL_API_SQLGetEnvAttr, SQL_API_SQLGetFunctions, SQL_API_SQLGetInfo, SQL_API_SQLGetLength, SQL_API_SQLGetPosition, SQL_API_SQLGetSQLCA, SQL_API_SQLGetStmtOption, SQL_API_SQLGetSubString, SQL_API_SQLGetTypeInfo, SQL_API_SQLMoreResults, SQL_API_SQLNativeSql, SQL_API_SQLNumParams, SQL_API_SQLNumResultCols, SQL_API_SQLParamData, SQL_API_SQLParamOptions, SQL_API_SQLPrepare, SQL_API_SQLPrimaryKeys, SQL_API_SQLProcedureColumns, SQL_API_SQLProcedures, SQL_API_SQLPutData, SQL_API_SQLRowCount, SQL_API_SQLSetColAttributes, SQL_API_SQLSetConnection, SQL_API_SQLSetConnectOption, SQL_API_SQLSetCursorName, SQL_API_SQLSetEnvAttr, SQL_API_SQLSetParam, SQL_API_SQLSetPos, SQL_API_SQLSETSCROLLOPTIONS, SQL_API_SQLSetStmtOption, SQL_API_SQLSpecialColumns, SQL_API_SQLStatistics, SQL_API_SQLTablePrivileges, SQL_API_SQLTables, SQL_API_SQLTransact}; SQLCHAR func_names[][28] = { "SQL_API_SQLAllocConnect", "SQL_API_SQLAllocEnv", "SQL_API_SQLAllocStmt", "SQL_API_SQLBindCol", "SQL_API_SQLBindFileToCol", "SQL_API_SQLBindFileToParam", "SQL_API_SQLBindParameter", "SQL_API_SQLBrowseConnect", "SQL_API_SQLCancel", "SQL_API_SQLColAttributeS", "SQL_API_SQLColumnPrivileges", "SQL_API_SQLColumns", "SQL_API_SQLConnect", "SQL_API_SQLDataSources", "SQL_API_SQLDescribeCol", "SQL_API_SQLDescribeParam", "SQL_API_SQLDisconnect", "SQL_API_SQLDriverConnect", "SQL_API_SQLError", "SQL_API_SQLExecDirect", "SQL_API_SQLExecute", "SQL_API_SQLExtendedFetch", "SQL_API_SQLFetch", "SQL_API_SQLForeignKeys", "SQL_API_SQLFreeConnect", "SQL_API_SQLFreeEnv", "SQL_API_SQLFreeStmt", "SQL_API_SQLGetConnectOption", "SQL_API_SQLGetCursorName", "SQL_API_SQLGetData", "SQL_API_SQLGetEnvAttr", "SQL_API_SQLGetFunctions", "SQL_API_SQLGetInfo", "SQL_API_SQLGetLength", "SQL_API_SQLGetPosition", "SQL_API_SQLSQLGetSQLCA", "SQL_API_SQLGetStmtOption", "SQL_API_SQLGetSubString", "SQL_API_SQLGetTypeInfo", "SQL_API_SQLMoreResults", "SQL_API_SQLNativeSql", "SQL_API_SQLNumParams", "SQL_API_SQLNumResultCols", "SQL_API_SQLParamData", "SQL_API_SQLParamOptions", "SQL_API_SQLPrepare", "SQL_API_SQLPrimaryKeys", "SQL_API_SQLProcedureColumns", "SQL_API_SQLProcedures", "SQL_API_SQLPutData", "SQL_API_SQLRowCount", "SQL_API_SQLSetColAttributes", "SQL_API_SQLSetConnection", "SQL_API_SQLSetConnectOption", "SQL_API_SQLSetCursorName", "SQL_API_SQLSetEnvAttr", "SQL_API_SQLSetParam", "SQL_API_SQLSetPos", "SQL_API_SQLSETSCROLLOPTIONS", "SQL_API_SQLSetStmtOption", "SQL_API_SQLSpecialColumns", "SQL_API_SQLStatistics", "SQL_API_SQLTablePrivileges", "SQL_API_SQLTables", "SQL_API_TRANSACT"}; #define NUM_FUNCTIONS sizeof(func_list)/sizeof(SQLSMALLINT) char truefalse[2][6] = {{"FALSE"}, {"TRUE"}};