]> git.saurik.com Git - wxWidgets.git/blob - src/iodbc/henv.ci
DP: Robert's mistake with incorrect var name corrected.
[wxWidgets.git] / src / iodbc / henv.ci
1
2 #ifdef __HPUX__
3 #define CLI_NAME_PREFIX "_SQL"
4 #endif
5
6 #ifdef __AIX__
7 #define CLI_NAME_PREFIX ".SQL"
8 #endif
9
10 #ifndef CLI_NAME_PREFIX
11
12 /* There are some exceptions :
13 * on FreeBSD 2.x CLI_NAME_PREFIX is defined in Config.mk as "_SQL"
14 * on HP/UX s300/s400, CLI_NAME_PREFIX is defined in Config.mk as "_SQL"
15 * on AIX 3.x 4.x, CLI_NAME_PREFIX is defined in Config.mk as ".SQL"
16 */
17
18 # define CLI_NAME_PREFIX "SQL" /* using call by value prefix */
19 #endif
20
21 static struct {
22 int en_idx;
23 char* symbol;
24 } odbcapi_symtab[] = {
25 #if (ODBCVER >= 0x0300)
26 en_AllocHandle CLI_NAME_PREFIX "AllocHandle",
27 en_FreeHandle CLI_NAME_PREFIX "FreeHandle",
28 #endif
29 en_AllocEnv, CLI_NAME_PREFIX "AllocEnv",
30 en_AllocConnect, CLI_NAME_PREFIX "AllocConnect",
31 en_Connect, CLI_NAME_PREFIX "Connect",
32 en_DriverConnect, CLI_NAME_PREFIX "DriverConnect",
33 en_BrowseConnect, CLI_NAME_PREFIX "BrowseConnect",
34
35 en_DataSources, CLI_NAME_PREFIX "DataSources",
36 en_Drivers, CLI_NAME_PREFIX "Driver",
37 en_GetInfo, CLI_NAME_PREFIX "GetInfo",
38 en_GetFunctions, CLI_NAME_PREFIX "GetFunctions",
39 en_GetTypeInfo, CLI_NAME_PREFIX "GetTypeInfo",
40
41 en_SetConnectOption, CLI_NAME_PREFIX "SetConnectOption",
42 en_GetConnectOption, CLI_NAME_PREFIX "GetConnectOption",
43 en_SetStmtOption, CLI_NAME_PREFIX "SetStmtOption",
44 en_GetStmtOption, CLI_NAME_PREFIX "GetStmtOption",
45
46 en_AllocStmt, CLI_NAME_PREFIX "AllocStmt",
47 en_Prepare, CLI_NAME_PREFIX "Prepare",
48 en_BindParameter, CLI_NAME_PREFIX "BindParameter",
49 en_ParamOptions, CLI_NAME_PREFIX "ParamOptions",
50 en_GetCursorName, CLI_NAME_PREFIX "GetCursorName",
51 en_SetCursorName, CLI_NAME_PREFIX "SetCursorName",
52 en_SetScrollOptions, CLI_NAME_PREFIX "SetScrollOptions",
53 en_SetParam, CLI_NAME_PREFIX "SetParam",
54
55 en_Execute, CLI_NAME_PREFIX "Execute",
56 en_ExecDirect, CLI_NAME_PREFIX "ExecDirect",
57 en_NativeSql, CLI_NAME_PREFIX "NativeSql",
58 en_DescribeParam, CLI_NAME_PREFIX "DescribeParam",
59 en_NumParams, CLI_NAME_PREFIX "NumParams",
60 en_ParamData, CLI_NAME_PREFIX "ParamData",
61 en_PutData, CLI_NAME_PREFIX "PutData",
62
63 en_RowCount, CLI_NAME_PREFIX "RowCount",
64 en_NumResultCols, CLI_NAME_PREFIX "NumResultCols",
65 en_DescribeCol, CLI_NAME_PREFIX "DescribeCol",
66 en_ColAttributes, CLI_NAME_PREFIX "ColAttributes",
67 en_BindCol, CLI_NAME_PREFIX "BindCol",
68 en_Fetch, CLI_NAME_PREFIX "Fetch",
69 en_ExtendedFetch, CLI_NAME_PREFIX "ExtendedFetch",
70 en_GetData, CLI_NAME_PREFIX "GetData",
71 en_SetPos, CLI_NAME_PREFIX "SetPos",
72 en_MoreResults, CLI_NAME_PREFIX "MoreResults",
73 en_Error, CLI_NAME_PREFIX "Error",
74
75 en_ColumnPrivileges, CLI_NAME_PREFIX "ColumnPrivileges",
76 en_Columns, CLI_NAME_PREFIX "Columns",
77 en_ForeignKeys, CLI_NAME_PREFIX "ForeignKeys",
78 en_PrimaryKeys, CLI_NAME_PREFIX "PrimaryKeys",
79 en_ProcedureColumns, CLI_NAME_PREFIX "ProcedureColumns",
80 en_Procedures, CLI_NAME_PREFIX "Procedures",
81 en_SpecialColumns, CLI_NAME_PREFIX "SpecialColumns",
82 en_Statistics, CLI_NAME_PREFIX "Statistics",
83 en_TablePrivileges, CLI_NAME_PREFIX "TablePrivileges",
84 en_Tables, CLI_NAME_PREFIX "Tables",
85
86 en_FreeStmt, CLI_NAME_PREFIX "FreeStmt",
87 en_Cancel, CLI_NAME_PREFIX "Cancel",
88 en_Transact, CLI_NAME_PREFIX "Transact",
89
90 en_Disconnect, CLI_NAME_PREFIX "Disconnect",
91 en_FreeConnect, CLI_NAME_PREFIX "FreeConnect",
92 en_FreeEnv, CLI_NAME_PREFIX "FreeEnv",
93
94 en_NullProc, NULL
95 };