NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | type |
Macros | |
#define | FLAG_C 1 |
#define | FLAG_SQL 2 |
#define | TYPE_C(s) {s, #s, FLAG_C } |
#define | TYPE_SQL(s) {s, #s, FLAG_SQL } |
#define | TYPE_BOTH(s, s2) {s, #s, FLAG_SQL|FLAG_C } |
Functions | |
static const char * | get_type_name (SQLSMALLINT type) |
static void | check_msg (int check, const char *msg) |
int | main (int argc, char **argv) |
Variables | |
static const struct type | types [] |
static int | result = 0 |
|
static |
Definition at line 75 of file type.c.
References type::name, type::type, and types.
Referenced by main().
Definition at line 97 of file type.c.
References buf, check_msg(), CHKGetDescField, FLAG_C, FLAG_SQL, type::flags, get_type_name(), type::name, odbc_connect(), odbc_disconnect(), odbc_stmt, result, SQL_ATTR_APP_PARAM_DESC, SQL_ATTR_IMP_PARAM_DESC, SQL_DESC_CONCISE_TYPE, SQL_DESC_DATETIME_INTERVAL_CODE, SQL_DESC_TYPE, SQL_PARAM_INPUT, SQL_SUCCEEDED, SQL_VARCHAR, SQLBindParameter(), SQLGetStmtAttr(), SQLLEN, SQLSetDescField(), TDS_INT2PTR, type, type::type, and types.
|
static |
Definition at line 85 of file type.c.
Referenced by check_msg(), and main().