|  | 
| 
 Defines | 
| #define | TYPE_NORMAL_SQL_GUID | 
| #define | SQL_TYPES | 
| #define | TYPE_NORMAL_SQL_C_GUID | 
| #define | C_TYPES | 
| 
 Functions | 
| int | odbc_set_stmt_query (TDS_STMT *stmt, const char *sql, int sql_len) | 
| int | odbc_set_stmt_prepared_query (TDS_STMT *stmt, const char *sql, int sql_len) | 
| void | odbc_set_return_status (struct _hstmt *stmt) | 
| void | odbc_set_return_params (struct _hstmt *stmt) | 
| int | odbc_get_string_size (int size, SQLCHAR *str) | 
| SQLSMALLINT | odbc_server_to_sql_type (int col_type, int col_size) | 
|  | Convert type from database to ODBC. 
 
 | 
| int | odbc_c_to_server_type (int c_type) | 
|  | Pass this an SQL_C_* type and get a SYB* type which most closely corresponds to the SQL_C_* type. 
 
 | 
| void | odbc_set_sql_type_info (TDSCOLUMN *col, int odbc_ver, struct _drecord *drec) | 
| SQLINTEGER | odbc_sql_to_displaysize (int sqltype, int column_size, int column_prec) | 
| int | odbc_sql_to_c_type_default (int sql_type) | 
| int | odbc_sql_to_server_type (TDSSOCKET *tds, int sql_type) | 
| SQLRETURN | odbc_set_string (SQLPOINTER buffer, SQLSMALLINT cbBuffer, SQLSMALLINT FAR *pcbBuffer, const char *s, int len) | 
|  | Copy a string to client setting size according to ODBC convenction. 
 
 | 
| SQLRETURN | odbc_set_string_i (SQLPOINTER buffer, SQLINTEGER cbBuffer, SQLINTEGER FAR *pcbBuffer, const char *s, int len) | 
| void | odbc_rdbms_version (TDSSOCKET *tds, char *pversion_string) | 
|  | Returns the version of the RDBMS in the ODBC format. 
 
 | 
| SQLINTEGER | odbc_get_param_len (TDSSOCKET *tds, const struct _drecord *drec_apd, const struct _drecord *drec_ipd) | 
|  | Return length of parameter from parameter information. 
 
 | 
| SQLSMALLINT | odbc_get_concise_sql_type (SQLSMALLINT type, SQLSMALLINT interval) | 
| SQLRETURN | odbc_set_concise_sql_type (SQLSMALLINT concise_type, struct _drecord *drec, int check_only) | 
|  | Set concise type and all cascading field. 
 
 | 
| SQLSMALLINT | odbc_get_concise_c_type (SQLSMALLINT type, SQLSMALLINT interval) | 
| SQLRETURN | odbc_set_concise_c_type (SQLSMALLINT concise_type, struct _drecord *drec, int check_only) | 
|  | Set concise type and all cascading field. 
 
 |