|
Classes |
struct | namelist |
Functions |
static int | tds5_process_dyn_result2 (TDSSOCKET *tds) |
| New TDS 5.0 token for describing output parameters.
|
static int | tds5_process_optioncmd (TDSSOCKET *tds) |
static int | tds5_process_result (TDSSOCKET *tds) |
| tds5_process_result() is the new TDS 5.0 result set processing routine.
|
static int | tds7_get_data_info (TDSSOCKET *tds, TDSCOLUMN *curcol) |
| Read data information from wire.
|
static int | tds7_process_compute_result (TDSSOCKET *tds) |
| tds7_process_compute_result() processes compute result sets for TDS 7/8.
|
static int | tds7_process_result (TDSSOCKET *tds) |
| tds7_process_result() is the TDS 7.0 result set processing routine.
|
static int | tds8_read_table_names (TDSSOCKET *tds, int remainder, struct namelist **p_head) |
static int | tds_alloc_get_string (TDSSOCKET *tds, char **string, int len) |
| Read a string from wire in a new allocated buffer.
|
static void | tds_free_namelist (struct namelist *head) |
static int | tds_get_data (TDSSOCKET *tds, TDSCOLUMN *curcol) |
| Read a data from wire.
|
static int | tds_get_data_info (TDSSOCKET *tds, TDSCOLUMN *curcol, int is_param) |
| Read data information from wire.
|
int | tds_get_token_size (int marker) |
| tds_get_token_size() returns the size of a fixed length token used by tds_process_cancel() to determine how to read past a token
|
TDSDYNAMIC * | tds_lookup_dynamic (TDSSOCKET *tds, char *id) |
| Find a dynamic given string id.
|
static const char * | tds_pr_op (int op) |
static int | tds_process_auth (TDSSOCKET *tds) |
int | tds_process_cancel (TDSSOCKET *tds) |
static int | tds_process_col_fmt (TDSSOCKET *tds) |
| tds_process_col_fmt() is the other half of result set processing under TDS 4.2.
|
static int | tds_process_col_name (TDSSOCKET *tds) |
| tds_process_col_name() is one half of the result set under TDS 4.2 it contains all the column names, a TDS_COLFMT_TOKEN should immediately follow this token with the datatype/size information This is a 4.2 only function
|
static int | tds_process_colinfo (TDSSOCKET *tds, char **names, int num_names) |
static int | tds_process_compute (TDSSOCKET *tds, TDS_INT *computeid) |
| tds_process_compute() processes compute rows and places them in the row buffer.
|
static int | tds_process_compute_names (TDSSOCKET *tds) |
| tds_process_compute_names() processes compute result sets.
|
static int | tds_process_compute_result (TDSSOCKET *tds) |
| tds_process_compute_result() processes compute result sets.
|
static int | tds_process_cursor_tokens (TDSSOCKET *tds) |
static int | tds_process_default_tokens (TDSSOCKET *tds, int marker) |
| tds_process_default_tokens() is a catch all function that is called to process tokens not known to other tds_process_* routines
|
static int | tds_process_dyn_result (TDSSOCKET *tds) |
static TDSDYNAMIC * | tds_process_dynamic (TDSSOCKET *tds) |
| tds_process_dynamic() finds the element of the dyns array for the id
|
static int | tds_process_end (TDSSOCKET *tds, int marker, int *flags_parm) |
| tds_process_end() processes any of the DONE, DONEPROC, or DONEINPROC tokens.
|
static int | tds_process_env_chg (TDSSOCKET *tds) |
| tds_process_env_chg() when ever certain things change on the server, such as database, character set, language, or block size.
|
int | tds_process_login_tokens (TDSSOCKET *tds) |
| tds_process_login_tokens() is called after sending the login packet to the server.
|
static int | tds_process_msg (TDSSOCKET *tds, int marker) |
| tds_process_msg() is called for MSG, ERR, or EED tokens and is responsible for calling the CLI's message handling routine returns TDS_SUCCEED if informational, TDS_ERROR if error.
|
static int | tds_process_param_result (TDSSOCKET *tds, TDSPARAMINFO **info) |
| process output parameters of a stored procedure.
|
static int | tds_process_param_result_tokens (TDSSOCKET *tds) |
static int | tds_process_params_result_token (TDSSOCKET *tds) |
| tds_process_params_result_token() processes params on TDS5.
|
static int | tds_process_result (TDSSOCKET *tds) |
| tds_process_result() is the TDS 5.0 result set processing routine.
|
static int | tds_process_row (TDSSOCKET *tds) |
| tds_process_row() processes rows and places them in the row buffer.
|
int | tds_process_simple_query (TDSSOCKET *tds) |
| Process results for simple query as "SET TEXTSIZE" or "USE dbname" If the statement returns results, beware they are discarded.
|
static int | tds_process_tabname (TDSSOCKET *tds) |
int | tds_process_tokens (TDSSOCKET *tds, TDS_INT *result_type, int *done_flags, unsigned flag) |
| process all streams.
|
const char * | tds_prtype (int token) |
static int | tds_read_namelist (TDSSOCKET *tds, int remainder, struct namelist **p_head, int large) |
static int | tds_set_spid (TDSSOCKET *tds) |
void | tds_swap_datatype (int coltype, unsigned char *buf) |
void | tds_swap_numeric (TDS_NUMERIC *num) |
Many PDU (packets data unit) contain tokens. (like result description, rows, data, errors and many other).