File cas_cgw_odbc.h¶
FileList > broker > cas_cgw_odbc.h
Go to the source code of this file
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <unistd.h>#include <fcntl.h>#include <sys/time.h>#include <dlfcn.h>#include <sqltypes.h>#include <sql.h>#include <sqlext.h>#include "cas_handle.h"#include "cas_net_buf.h"#include "dbtype.h"
Classes¶
| Type | Name |
|---|---|
| struct | odbc_bind_info |
| struct | t_col_binder |
| struct | t_odbc_col_info |
Public Types¶
| Type | Name |
|---|---|
| typedef struct odbc_bind_info | ODBC_BIND_INFO |
| enum | SIGN |
| typedef struct t_col_binder | T_COL_BINDER |
| typedef struct t_odbc_col_info | T_ODBC_COL_INFO |
Public Functions¶
Macros¶
| Type | Name |
|---|---|
| define | ATTR_NAME_LEN (255) |
| define | CLASS_NAME_LEN (255) |
| define | COL_NAME_LEN (255) |
| define | DECIMAL_DIGIT_MAX_LEN (20) /\* 9223372036854775807 (7[**FFF**](broker__monitor_8c.md#function-timeout) [**FFFF**](broker__monitor_8c.md#function-timeout) [**FFFF**](broker__monitor_8c.md#function-timeout) [**FFFF**](broker__monitor_8c.md#function-timeout)) \*/ |
| define | DEFAULT_VALUE_LEN (255) |
| define | MYSQL_CONNECT_URL_FORMAT "DRIVER={%s};SERVER=%s;[**Port**](broker__monitor_8c.md#function-timeout)=%s;[**DATABASE**](broker__monitor_8c.md#function-timeout)=%s;[**USER**](broker__monitor_8c.md#function-timeout)=%s;[**PASSWORD**](broker__monitor_8c.md#function-timeout)=%s;%[**s"**](broker__monitor_8c.md#function-timeout) |
| define | ORACLE_CONNECT_URL_FORMAT "DRIVER={%s};[**DBQ**](broker__monitor_8c.md#function-timeout)=%s;[**Server**](broker__monitor_8c.md#function-timeout)=%s/%s;[**Uid**](broker__monitor_8c.md#function-timeout)=%s;[**Pwd**](broker__monitor_8c.md#function-timeout)=%s;%[**s"**](broker__monitor_8c.md#function-timeout) |
| define | SIZEOF_LONG_INT 8 |
Public Types Documentation¶
typedef ODBC_BIND_INFO¶
enum SIGN¶
typedef T_COL_BINDER¶
typedef T_ODBC_COL_INFO¶
Public Functions Documentation¶
function cgw_cleanup¶
function cgw_cleanup_binder¶
function cgw_col_bindings¶
int cgw_col_bindings (
SQLHSTMT hstmt,
SQLSMALLINT num_cols,
T_COL_BINDER ** col_binding,
T_COL_BINDER ** col_binding_buff
)
function cgw_copy_tuple¶
function cgw_cur_tuple¶
function cgw_cursor_close¶
function cgw_database_connect¶
int cgw_database_connect (
T_DBMS_TYPE dbms_type,
const char * connect_url,
char * db_name,
char * db_user,
char * db_passwd
)
function cgw_database_disconnect¶
function cgw_endtran¶
function cgw_execute¶
function cgw_free_stmt¶
function cgw_get_col_info¶
function cgw_get_dbms_type¶
function cgw_get_driver_info¶
int cgw_get_driver_info (
SQLHDBC hdbc,
SQLUSMALLINT info_type,
void * driver_info,
SQLSMALLINT size
)
function cgw_get_handle¶
function cgw_get_num_cols¶
function cgw_get_stmt_handle¶
function cgw_init¶
function cgw_init_odbc_handle¶
function cgw_is_database_connected¶
function cgw_is_supported_dbms¶
function cgw_make_bind_value¶
int cgw_make_bind_value (
T_CGW_HANDLE * handle,
int num_bind,
int argc,
void ** argv,
ODBC_BIND_INFO ** ret_val
)
function cgw_row_data¶
function cgw_set_commit_mode¶
function cgw_set_dbms_type¶
function cgw_set_execute_info¶
function cgw_set_stmt_attr¶
function cgw_sql_prepare¶
Macro Definition Documentation¶
define ATTR_NAME_LEN¶
define CLASS_NAME_LEN¶
define COL_NAME_LEN¶
define DECIMAL_DIGIT_MAX_LEN¶
define DEFAULT_VALUE_LEN¶
define MYSQL_CONNECT_URL_FORMAT¶
#define MYSQL_CONNECT_URL_FORMAT `"DRIVER={%s}; SERVER =%s; Port =%s; DATABASE =%s; USER =%s; PASSWORD =%s;% s"`
define ORACLE_CONNECT_URL_FORMAT¶
define SIZEOF_LONG_INT¶
The documentation for this class was generated from the following file cubrid/src/broker/cas_cgw_odbc.h