24 #include <freetds/convert.h>    25 #include <freetds/string.h>    31 #include <freetds/pushvis.h>    46     short cs_expose_formats;
    76     CS_INT date_convert_fmt;
    77     CS_INT cs_errhandletype;
    78     CS_INT cs_diag_msglimit;
    83     CS_INT cs_diag_msglimit_client;
    84     CS_INT cs_diag_msglimit_server;
    85     CS_INT cs_diag_msglimit_total;
    92     CS_CSLIBMSG_FUNC _cslibmsg_cb;
    93     CS_CLIENTMSG_FUNC _clientmsg_cb;
    94     CS_SERVERMSG_FUNC _servermsg_cb;
   108     TDS_SMALLINT *indicator;
   119     CS_CLIENTMSG_FUNC _clientmsg_cb;
   120     CS_SERVERMSG_FUNC _servermsg_cb;
   147     CS_INT datalen_value;
   148     CS_SMALLINT indicator_value;
   182 #define CS_DYNAMIC_CMD   160   183 #define CS_CUR_CMD       161   187 #define _CS_RES_NONE            -1   188 #define _CS_RES_INIT            0   189 #define _CS_RES_RESULTSET_EMPTY 1   190 #define _CS_RES_RESULTSET_ROWS  2   191 #define _CS_RES_STATUS          3   192 #define _CS_RES_CMD_DONE        4   193 #define _CS_RES_CMD_SUCCEED     5   194 #define _CS_RES_END_RESULTS     6   195 #define _CS_RES_DESCRIBE_RESULT 7   199 #define _CS_COMMAND_IDLE        0   200 #define _CS_COMMAND_BUILDING    1   201 #define _CS_COMMAND_READY       2   202 #define _CS_COMMAND_SENT        3   205 #define _CS_CANCEL_NOCANCEL     0   206 #define _CS_CANCEL_PENDING      1   211     CS_INT command_state;
   212     CS_INT results_state;
   221     int curr_result_type;
   224     int get_data_bytes_returned;
   226     CS_INT send_data_started;
   229     CS_INT client_cursor_id;
   241 #define _CS_ERRHAND_INLINE 1   242 #define _CS_ERRHAND_CB     2   254 #define _CS_CURS_TYPE_UNACTIONED 0   255 #define _CS_CURS_TYPE_REQUESTED  1   256 #define _CS_CURS_TYPE_SENT       2   263 TDS_SERVER_TYPE _ct_get_server_type(
TDSSOCKET *tds, 
int datatype);
   266 void _ctclient_msg(
CS_CONNECTION * con, 
const char *funcname, 
int layer, 
int origin, 
int severity, 
int number,
   267            const char *fmt, ...);
   268 CS_INT _ct_diag_clearmsg(
CS_CONTEXT * context, CS_INT type);
   282 #include <freetds/popvis.h> 
Information for a server connection. 
Definition: tds.h:1174
Definition: cstypes.h:179
Hold information for any results. 
Definition: tds.h:803
Main include file for libtds. 
Definition: cstypes.h:193
Holds informations about a cursor. 
Definition: tds.h:971
Metadata about columns in regular and compute rows. 
Definition: tds.h:726
Holds information for a dynamic (also called prepared) query. 
Definition: tds.h:1011