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