NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Functions
cspublic.h File Reference
#include <cstypes.h>
+ Include dependency graph for cspublic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  _cs_objname
 
struct  _cs_objdata
 

Macros

#define TDS_STATIC_CAST(type, a)   ((type)(a))
 
#define CS_PUBLIC
 
#define CS_STATIC   static
 
#define CS_SUCCEED   1
 
#define CS_FAIL   0
 
#define CS_MEM_ERROR   -1
 
#define CS_PENDING   -2
 
#define CS_QUIET   -3
 
#define CS_BUSY   -4
 
#define CS_INTERRUPT   -5
 
#define CS_BLK_HAS_TEXT   -6
 
#define CS_CONTINUE   -7
 
#define CS_FATAL   -8
 
#define CS_RET_HAFAILOVER   -9
 
#define CS_UNSUPPORTED   -10
 
#define CS_CANCELED   -202
 
#define CS_ROW_FAIL   -203
 
#define CS_END_DATA   -204
 
#define CS_END_RESULTS   -205
 
#define CS_END_ITEM   -206
 
#define CS_NOMSG   -207
 
#define CS_TIMED_OUT   -208
 
#define CS_SIZEOF(x)   sizeof(x)
 
#define CS_LAYER(x)   (((x) >> 24) & 0xFF)
 
#define CS_ORIGIN(x)   (((x) >> 16) & 0xFF)
 
#define CS_SEVERITY(x)   (((x) >> 8) & 0xFF)
 
#define CS_NUMBER(x)   ((x) & 0xFF)
 
#define CS_IODATA   TDS_STATIC_CAST(CS_INT, 1600)
 
#define CS_SRC_VALUE   -2562
 
#define CS_HASEED   0x01
 
#define CS_REQ_LANG   1
 
#define CS_REQ_RPC   2
 
#define CS_REQ_NOTIF   3
 
#define CS_REQ_MSTMT   4
 
#define CS_REQ_BCP   5
 
#define CS_REQ_CURSOR   6
 
#define CS_REQ_DYN   7
 
#define CS_REQ_MSG   8
 
#define CS_REQ_PARAM   9
 
#define CS_DATA_INT1   10
 
#define CS_DATA_INT2   11
 
#define CS_DATA_INT4   12
 
#define CS_DATA_BIT   13
 
#define CS_DATA_CHAR   14
 
#define CS_DATA_VCHAR   15
 
#define CS_DATA_BIN   16
 
#define CS_DATA_VBIN   17
 
#define CS_DATA_MNY8   18
 
#define CS_DATA_MNY4   19
 
#define CS_DATA_DATE8   20
 
#define CS_DATA_DATE4   21
 
#define CS_DATA_FLT4   22
 
#define CS_DATA_FLT8   23
 
#define CS_DATA_NUM   24
 
#define CS_DATA_TEXT   25
 
#define CS_DATA_IMAGE   26
 
#define CS_DATA_DEC   27
 
#define CS_DATA_LCHAR   28
 
#define CS_DATA_LBIN   29
 
#define CS_DATA_INTN   30
 
#define CS_DATA_DATETIMEN   31
 
#define CS_DATA_MONEYN   32
 
#define CS_CSR_PREV   33
 
#define CS_CSR_FIRST   34
 
#define CS_CSR_LAST   35
 
#define CS_CSR_ABS   36
 
#define CS_CSR_REL   37
 
#define CS_CSR_MULTI   38
 
#define CS_CON_OOB   39
 
#define CS_CON_INBAND   40
 
#define CS_CON_LOGICAL   41
 
#define CS_PROTO_TEXT   42
 
#define CS_PROTO_BULK   43
 
#define CS_REQ_URGNOTIF   44
 
#define CS_DATA_SENSITIVITY   45
 
#define CS_DATA_BOUNDARY   46
 
#define CS_PROTO_DYNAMIC   47
 
#define CS_PROTO_DYNPROC   48
 
#define CS_DATA_FLTN   49
 
#define CS_DATA_BITN   50
 
#define CS_OPTION_GET   51
 
#define CS_DATA_INT8   52
 
#define CS_DATA_VOID   53
 
#define CS_RES_NOMSG   1
 
#define CS_RES_NOEED   2
 
#define CS_RES_NOPARAM   3
 
#define CS_DATA_NOINT1   4
 
#define CS_DATA_NOINT2   5
 
#define CS_DATA_NOINT4   6
 
#define CS_DATA_NOBIT   7
 
#define CS_DATA_NOCHAR   8
 
#define CS_DATA_NOVCHAR   9
 
#define CS_DATA_NOBIN   10
 
#define CS_DATA_NOVBIN   11
 
#define CS_DATA_NOMNY8   12
 
#define CS_DATA_NOMNY4   13
 
#define CS_DATA_NODATE8   14
 
#define CS_DATA_NODATE4   15
 
#define CS_DATA_NOFLT4   16
 
#define CS_DATA_NOFLT8   17
 
#define CS_DATA_NONUM   18
 
#define CS_DATA_NOTEXT   19
 
#define CS_DATA_NOIMAGE   20
 
#define CS_DATA_NODEC   21
 
#define CS_DATA_NOLCHAR   22
 
#define CS_DATA_NOLBIN   23
 
#define CS_DATA_NOINTN   24
 
#define CS_DATA_NODATETIMEN   25
 
#define CS_DATA_NOMONEYN   26
 
#define CS_CON_NOOOB   27
 
#define CS_CON_NOINBAND   28
 
#define CS_PROTO_NOTEXT   29
 
#define CS_PROTO_NOBULK   30
 
#define CS_DATA_NOSENSITIVITY   31
 
#define CS_DATA_NOBOUNDARY   32
 
#define CS_RES_NOTDSDEBUG   33
 
#define CS_RES_NOSTRIPBLANKS   34
 
#define CS_DATA_NOINT8   35
 
#define CS_USERNAME   CS_USERNAME
 
#define CS_PASSWORD   CS_PASSWORD
 
#define CS_APPNAME   CS_APPNAME
 
#define CS_HOSTNAME   CS_HOSTNAME
 
#define CS_LOGIN_STATUS   CS_LOGIN_STATUS
 
#define CS_TDS_VERSION   CS_TDS_VERSION
 
#define CS_CHARSETCNV   CS_CHARSETCNV
 
#define CS_PACKETSIZE   CS_PACKETSIZE
 
#define CS_USERDATA   CS_USERDATA
 
#define CS_NETIO   CS_NETIO
 
#define CS_TEXTLIMIT   CS_TEXTLIMIT
 
#define CS_HIDDEN_KEYS   CS_HIDDEN_KEYS
 
#define CS_VERSION   CS_VERSION
 
#define CS_IFILE   CS_IFILE
 
#define CS_LOGIN_TIMEOUT   CS_LOGIN_TIMEOUT
 
#define CS_TIMEOUT   CS_TIMEOUT
 
#define CS_MAX_CONNECT   CS_MAX_CONNECT
 
#define CS_EXPOSE_FMTS   CS_EXPOSE_FMTS
 
#define CS_EXTRA_INF   CS_EXTRA_INF
 
#define CS_ANSI_BINDS   CS_ANSI_BINDS
 
#define CS_BULK_LOGIN   CS_BULK_LOGIN
 
#define CS_LOC_PROP   CS_LOC_PROP
 
#define CS_PARENT_HANDLE   CS_PARENT_HANDLE
 
#define CS_EED_CMD   CS_EED_CMD
 
#define CS_DIAG_TIMEOUT   CS_DIAG_TIMEOUT
 
#define CS_DISABLE_POLL   CS_DISABLE_POLL
 
#define CS_SEC_ENCRYPTION   CS_SEC_ENCRYPTION
 
#define CS_SEC_CHALLENGE   CS_SEC_CHALLENGE
 
#define CS_SEC_NEGOTIATE   CS_SEC_NEGOTIATE
 
#define CS_CON_STATUS   CS_CON_STATUS
 
#define CS_VER_STRING   CS_VER_STRING
 
#define CS_SERVERNAME   CS_SERVERNAME
 
#define CS_SEC_APPDEFINED   CS_SEC_APPDEFINED
 
#define CS_STICKY_BINDS   CS_STICKY_BINDS
 
#define CS_SEC_NETWORKAUTH   CS_SEC_NETWORKAUTH
 
#define CS_SEC_DELEGATION   CS_SEC_DELEGATION
 
#define CS_SEC_MUTUALAUTH   CS_SEC_MUTUALAUTH
 
#define CS_SEC_SERVERPRINCIPAL   CS_SEC_SERVERPRINCIPAL
 
#define CS_SERVERADDR   CS_SERVERADDR
 
#define CS_PORT   CS_PORT
 
#define CS_CLIENTCHARSET   CS_CLIENTCHARSET
 
#define CS_DATABASE   CS_DATABASE
 
#define CS_TDS_AUTO   CS_TDS_AUTO
 
#define CS_TDS_71   CS_TDS_71
 
#define CS_TDS_72   CS_TDS_72
 
#define CS_TDS_73   CS_TDS_73
 
#define CS_TDS_74   CS_TDS_74
 
#define CS_HIDDEN   (1 << 0)
 
#define CS_KEY   (1 << 1)
 
#define CS_VERSION_KEY   (1 << 2)
 
#define CS_NODATA   (1 << 3)
 
#define CS_UPDATABLE   (1 << 4)
 
#define CS_CANBENULL   (1 << 5)
 
#define CS_DESCIN   (1 << 6)
 
#define CS_DESCOUT   (1 << 7)
 
#define CS_INPUTVALUE   (1 << 8)
 
#define CS_UPDATECOL   (1 << 9)
 
#define CS_RETURN   (1 << 10)
 
#define CS_TIMESTAMP   (1 << 13)
 
#define CS_NODEFAULT   (1 << 14)
 
#define CS_IDENTITY   (1 << 15)
 
#define CS_GOODDATA   0
 
#define CS_NULLDATA   (-1)
 
#define CS_CONSTAT_CONNECTED   0x01
 
#define CS_CONSTAT_DEAD   0x02
 
#define CS_CURSOR_DECLARE   700
 
#define CS_CURSOR_OPEN   701
 
#define CS_CURSOR_ROWS   703
 
#define CS_CURSOR_UPDATE   704
 
#define CS_CURSOR_DELETE   705
 
#define CS_CURSOR_CLOSE   706
 
#define CS_CURSOR_DEALLOC   707
 
#define CS_CURSOR_OPTION   725
 
#define CS_FOR_UPDATE   TDS_STATIC_CAST(CS_INT, 0x1)
 
#define CS_READ_ONLY   TDS_STATIC_CAST(CS_INT, 0x2)
 
#define CS_RESTORE_OPEN   TDS_STATIC_CAST(CS_INT, 0x8)
 
#define CS_IMPLICIT_CURSOR   TDS_STATIC_CAST(CS_INT, 0x40)
 
#define CS_CURSTAT_NONE   TDS_STATIC_CAST(CS_INT, 0x0)
 
#define CS_CURSTAT_DECLARED   TDS_STATIC_CAST(CS_INT, 0x1)
 
#define CS_CURSTAT_OPEN   TDS_STATIC_CAST(CS_INT, 0x2)
 
#define CS_CURSTAT_CLOSED   TDS_STATIC_CAST(CS_INT, 0x4)
 
#define CS_CURSTAT_RDONLY   TDS_STATIC_CAST(CS_INT, 0x8)
 
#define CS_CURSTAT_UPDATABLE   TDS_STATIC_CAST(CS_INT, 0x10)
 
#define CS_CURSTAT_ROWCOUNT   TDS_STATIC_CAST(CS_INT, 0x20)
 
#define CS_CURSTAT_DEALLOC   TDS_STATIC_CAST(CS_INT, 0x40)
 
#define CS_CUR_STATUS   TDS_STATIC_CAST(CS_INT, 9126)
 
#define CS_CUR_ID   TDS_STATIC_CAST(CS_INT, 9127)
 
#define CS_CUR_NAME   TDS_STATIC_CAST(CS_INT, 9128)
 
#define CS_CUR_ROWCOUNT   TDS_STATIC_CAST(CS_INT, 9129)
 
#define CS_OPT_DATEFIRST   5001
 
#define CS_OPT_TEXTSIZE   5002
 
#define CS_OPT_STATS_TIME   5003
 
#define CS_OPT_STATS_IO   5004
 
#define CS_OPT_ROWCOUNT   5005
 
#define CS_OPT_DATEFORMAT   5007
 
#define CS_OPT_ISOLATION   5008
 
#define CS_OPT_AUTHON   5009
 
#define CS_OPT_SHOWPLAN   5013
 
#define CS_OPT_NOEXEC   5014
 
#define CS_OPT_ARITHIGNORE   5015
 
#define CS_OPT_TRUNCIGNORE   5016
 
#define CS_OPT_ARITHABORT   5017
 
#define CS_OPT_PARSEONLY   5018
 
#define CS_OPT_GETDATA   5020
 
#define CS_OPT_NOCOUNT   5021
 
#define CS_OPT_FORCEPLAN   5023
 
#define CS_OPT_FORMATONLY   5024
 
#define CS_OPT_CHAINXACTS   5025
 
#define CS_OPT_CURCLOSEONXACT   5026
 
#define CS_OPT_FIPSFLAG   5027
 
#define CS_OPT_RESTREES   5028
 
#define CS_OPT_IDENTITYON   5029
 
#define CS_OPT_CURREAD   5030
 
#define CS_OPT_CURWRITE   5031
 
#define CS_OPT_IDENTITYOFF   5032
 
#define CS_OPT_AUTHOFF   5033
 
#define CS_OPT_ANSINULL   5034
 
#define CS_OPT_QUOTED_IDENT   5035
 
#define CS_OPT_ANSIPERM   5036
 
#define CS_OPT_STR_RTRUNC   5037
 
#define CS_FMT_UNUSED   CS_FMT_UNUSED
 
#define CS_FMT_NULLTERM   CS_FMT_NULLTERM
 
#define CS_FMT_PADBLANK   CS_FMT_PADBLANK
 
#define CS_FMT_PADNULL   CS_FMT_PADNULL
 
#define CS_FMT_JUSTIFY_RT   CS_FMT_JUSTIFY_RT
 
#define CS_COMPLETION_CB   1
 
#define CS_SERVERMSG_CB   2
 
#define CS_CLIENTMSG_CB   3
 
#define CS_NOTIF_CB   4
 
#define CS_ENCRYPT_CB   5
 
#define CS_CHALLENGE_CB   6
 
#define CS_DS_LOOKUP_CB   7
 
#define CS_SECSESSION_CB   8
 
#define CS_SIGNAL_CB   100
 
#define CS_MESSAGE_CB   9119
 
#define CS_NULLTERM   -9
 
#define CS_WILDCARD   -99
 
#define CS_NO_LIMIT   -9999
 
#define CS_UNUSED   -99999
 
#define CS_GET   33
 
#define CS_SET   34
 
#define CS_CLEAR   35
 
#define CS_INIT   36
 
#define CS_STATUS   37
 
#define CS_MSGLIMIT   38
 
#define CS_SUPPORTED   40
 
#define CS_CMD_DONE   4046
 
#define CS_CMD_SUCCEED   4047
 
#define CS_CMD_FAIL   4048
 
#define CS_LANG_CMD   148
 
#define CS_RPC_CMD   149
 
#define CS_SEND_DATA_CMD   151
 
#define CS_SEND_BULK_CMD   153
 
#define CS_VERSION_100   113
 
#define CS_VERSION_110   1101
 
#define CS_VERSION_120   CS_VERSION_110
 
#define CS_VERSION_125   12501
 
#define CS_VERSION_150   15001
 
#define CS_VERSION_155   15501
 
#define CS_VERSION_157   15701
 
#define CS_VERSION_160   16001
 
#define BLK_VERSION_100   CS_VERSION_100
 
#define BLK_VERSION_110   CS_VERSION_110
 
#define BLK_VERSION_120   CS_VERSION_120
 
#define BLK_VERSION_125   CS_VERSION_125
 
#define BLK_VERSION_150   CS_VERSION_150
 
#define BLK_VERSION_155   CS_VERSION_155
 
#define BLK_VERSION_157   CS_VERSION_157
 
#define BLK_VERSION_160   CS_VERSION_160
 
#define CS_FORCE_EXIT   300
 
#define CS_FORCE_CLOSE   301
 
#define CS_SYNC_IO   8111
 
#define CS_ASYNC_IO   8112
 
#define CS_DEFER_IO   8113
 
#define CS_CANCEL_CURRENT   6000
 
#define CS_CANCEL_ALL   6001
 
#define CS_CANCEL_ATTN   6002
 
#define CS_ROW_COUNT   800
 
#define CS_CMD_NUMBER   801
 
#define CS_NUM_COMPUTES   802
 
#define CS_NUMDATA   803
 
#define CS_NUMORDERCOLS   805
 
#define CS_MSGTYPE   806
 
#define CS_BROWSE_INFO   807
 
#define CS_TRANS_STATE   808
 
#define CS_TRAN_UNDEFINED   0
 
#define CS_TRAN_IN_PROGRESS   1
 
#define CS_TRAN_COMPLETED   2
 
#define CS_TRAN_FAIL   3
 
#define CS_TRAN_STMT_FAIL   4
 
#define CS_COMP_OP   5350
 
#define CS_COMP_ID   5351
 
#define CS_COMP_COLID   5352
 
#define CS_COMP_BYLIST   5353
 
#define CS_BYLIST_LEN   5354
 
#define CS_NO_COUNT   -1
 
#define CS_OP_SUM   5370
 
#define CS_OP_AVG   5371
 
#define CS_OP_COUNT   5372
 
#define CS_OP_MIN   5373
 
#define CS_OP_MAX   5374
 
#define CS_CAP_REQUEST   1
 
#define CS_CAP_RESPONSE   2
 
#define CS_PREPARE   717
 
#define CS_EXECUTE   718
 
#define CS_DESCRIBE_INPUT   720
 
#define CS_DESCRIBE_OUTPUT   721
 
#define CS_DEALLOC   711
 
#define CS_LC_ALL   7
 
#define CS_SYB_LANG   8
 
#define CS_SYB_CHARSET   9
 
#define CS_SYB_SORTORDER   10
 
#define CS_SYB_COLLATE   CS_SYB_SORTORDER
 
#define CS_SYB_LANG_CHARSET   11
 
#define CS_BLK_IN   1
 
#define CS_BLK_OUT   2
 
#define CS_BLK_BATCH   1
 
#define CS_BLK_ALL   2
 
#define CS_BLK_CANCEL   3
 
#define CS_BLK_ARRAY_MAXLEN   0x1000
 
#define CS_DEF_PREC   18
 
#define CS_SV_INFORM   TDS_STATIC_CAST(CS_INT, 0)
 
#define CS_SV_API_FAIL   TDS_STATIC_CAST(CS_INT, 1)
 
#define CS_SV_RETRY_FAIL   TDS_STATIC_CAST(CS_INT, 2)
 
#define CS_SV_RESOURCE_FAIL   TDS_STATIC_CAST(CS_INT, 3)
 
#define CS_SV_CONFIG_FAIL   TDS_STATIC_CAST(CS_INT, 4)
 
#define CS_SV_COMM_FAIL   TDS_STATIC_CAST(CS_INT, 5)
 
#define CS_SV_INTERNAL_FAIL   TDS_STATIC_CAST(CS_INT, 6)
 
#define CS_SV_FATAL   TDS_STATIC_CAST(CS_INT, 7)
 
#define CS_COMPUTE_RESULT   4045
 
#define CS_CURSOR_RESULT   4041
 
#define CS_PARAM_RESULT   4042
 
#define CS_ROW_RESULT   4040
 
#define CS_STATUS_RESULT   4043
 
#define CS_COMPUTEFMT_RESULT   4050
 
#define CS_ROWFMT_RESULT   4049
 
#define CS_MSG_RESULT   4044
 
#define CS_DESCRIBE_RESULT   4051
 
#define CS_ILLEGAL_TYPE   TDS_STATIC_CAST(CS_INT, -1)
 
#define CS_CHAR_TYPE   TDS_STATIC_CAST(CS_INT, 0)
 
#define CS_BINARY_TYPE   TDS_STATIC_CAST(CS_INT, 1)
 
#define CS_LONGCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 2)
 
#define CS_LONGBINARY_TYPE   TDS_STATIC_CAST(CS_INT, 3)
 
#define CS_TEXT_TYPE   TDS_STATIC_CAST(CS_INT, 4)
 
#define CS_IMAGE_TYPE   TDS_STATIC_CAST(CS_INT, 5)
 
#define CS_TINYINT_TYPE   TDS_STATIC_CAST(CS_INT, 6)
 
#define CS_SMALLINT_TYPE   TDS_STATIC_CAST(CS_INT, 7)
 
#define CS_INT_TYPE   TDS_STATIC_CAST(CS_INT, 8)
 
#define CS_REAL_TYPE   TDS_STATIC_CAST(CS_INT, 9)
 
#define CS_FLOAT_TYPE   TDS_STATIC_CAST(CS_INT, 10)
 
#define CS_BIT_TYPE   TDS_STATIC_CAST(CS_INT, 11)
 
#define CS_DATETIME_TYPE   TDS_STATIC_CAST(CS_INT, 12)
 
#define CS_DATETIME4_TYPE   TDS_STATIC_CAST(CS_INT, 13)
 
#define CS_MONEY_TYPE   TDS_STATIC_CAST(CS_INT, 14)
 
#define CS_MONEY4_TYPE   TDS_STATIC_CAST(CS_INT, 15)
 
#define CS_NUMERIC_TYPE   TDS_STATIC_CAST(CS_INT, 16)
 
#define CS_DECIMAL_TYPE   TDS_STATIC_CAST(CS_INT, 17)
 
#define CS_VARCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 18)
 
#define CS_VARBINARY_TYPE   TDS_STATIC_CAST(CS_INT, 19)
 
#define CS_LONG_TYPE   TDS_STATIC_CAST(CS_INT, 20)
 
#define CS_SENSITIVITY_TYPE   TDS_STATIC_CAST(CS_INT, 21)
 
#define CS_BOUNDARY_TYPE   TDS_STATIC_CAST(CS_INT, 22)
 
#define CS_VOID_TYPE   TDS_STATIC_CAST(CS_INT, 23)
 
#define CS_USHORT_TYPE   TDS_STATIC_CAST(CS_INT, 24)
 
#define CS_UNICHAR_TYPE   TDS_STATIC_CAST(CS_INT, 25)
 
#define CS_BLOB_TYPE   TDS_STATIC_CAST(CS_INT, 26)
 
#define CS_DATE_TYPE   TDS_STATIC_CAST(CS_INT, 27)
 
#define CS_TIME_TYPE   TDS_STATIC_CAST(CS_INT, 28)
 
#define CS_UNITEXT_TYPE   TDS_STATIC_CAST(CS_INT, 29)
 
#define CS_BIGINT_TYPE   TDS_STATIC_CAST(CS_INT, 30)
 
#define CS_USMALLINT_TYPE   TDS_STATIC_CAST(CS_INT, 31)
 
#define CS_UINT_TYPE   TDS_STATIC_CAST(CS_INT, 32)
 
#define CS_UBIGINT_TYPE   TDS_STATIC_CAST(CS_INT, 33)
 
#define CS_XML_TYPE   TDS_STATIC_CAST(CS_INT, 34)
 
#define CS_BIGDATETIME_TYPE   TDS_STATIC_CAST(CS_INT, 35)
 
#define CS_BIGTIME_TYPE   TDS_STATIC_CAST(CS_INT, 36)
 
#define CS_UNIQUE_TYPE   TDS_STATIC_CAST(CS_INT, 40)
 
#define CS_NVARCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 90)
 
#define CS_NLONGCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 91)
 
#define CS_MIN_SYBTYPE   CS_CHAR_TYPE
 
#define CS_MAX_SYBTYPE   CS_NLONGCHAR_TYPE
 
#define CS_USER_TYPE   TDS_STATIC_CAST(CS_INT, 100)
 
#define CS_MONTH   CS_MONTH
 
#define CS_SHORTMONTH   CS_SHORTMONTH
 
#define CS_DAYNAME   CS_DAYNAME
 
#define CS_DATEORDER   CS_DATEORDER
 
#define CS_12HOUR   CS_12HOUR
 
#define CS_DT_CONVFMT   CS_DT_CONVFMT
 
#define CS_DATES_SHORT   CS_DATES_SHORT
 
#define CS_DATES_MDY1   CS_DATES_MDY1
 
#define CS_DATES_YMD1   CS_DATES_YMD1
 
#define CS_DATES_DMY1   CS_DATES_DMY1
 
#define CS_DATES_DMY2   CS_DATES_DMY2
 
#define CS_DATES_DMY3   CS_DATES_DMY3
 
#define CS_DATES_DMY4   CS_DATES_DMY4
 
#define CS_DATES_MDY2   CS_DATES_MDY2
 
#define CS_DATES_HMS   CS_DATES_HMS
 
#define CS_DATES_LONG   CS_DATES_LONG
 
#define CS_DATES_MDY3   CS_DATES_MDY3
 
#define CS_DATES_YMD2   CS_DATES_YMD2
 
#define CS_DATES_YMD3   CS_DATES_YMD3
 
#define CS_DATES_YDM1   CS_DATES_YDM1
 
#define CS_DATES_MYD1   CS_DATES_MYD1
 
#define CS_DATES_DYM1   CS_DATES_DYM1
 
#define CS_DATES_MDY1_YYYY   CS_DATES_MDY1_YYYY
 
#define CS_DATES_YMD1_YYYY   CS_DATES_YMD1_YYYY
 
#define CS_DATES_DMY1_YYYY   CS_DATES_DMY1_YYYY
 
#define CS_DATES_DMY2_YYYY   CS_DATES_DMY2_YYYY
 
#define CS_DATES_DMY3_YYYY   CS_DATES_DMY3_YYYY
 
#define CS_DATES_DMY4_YYYY   CS_DATES_DMY4_YYYY
 
#define CS_DATES_MDY2_YYYY   CS_DATES_MDY2_YYYY
 
#define CS_DATES_MDY3_YYYY   CS_DATES_MDY3_YYYY
 
#define CS_DATES_YMD2_YYYY   CS_DATES_YMD2_YYYY
 
#define CS_DATES_YMD3_YYYY   CS_DATES_YMD3_YYYY
 
#define CS_FALSE   0
 
#define CS_TRUE   1
 
#define SRV_PROC   CS_VOID
 
#define CS_CLIENTMSG_TYPE   4700
 
#define CS_SERVERMSG_TYPE   4701
 
#define CS_ALLMSG_TYPE   4702
 
#define cs_dt_crack   cs_dt_crack_v2
 

Typedefs

typedef CS_RETCODE(* CS_CSLIBMSG_FUNC) (CS_CONTEXT *, CS_CLIENTMSG *)
 
typedef CS_RETCODE(* CS_CLIENTMSG_FUNC) (CS_CONTEXT *, CS_CONNECTION *, CS_CLIENTMSG *)
 
typedef CS_RETCODE(* CS_SERVERMSG_FUNC) (CS_CONTEXT *, CS_CONNECTION *, CS_SERVERMSG *)
 
typedef struct _cs_blkdesc CS_BLKDESC
 
typedef CS_RETCODE(* CS_CONV_FUNC) (CS_CONTEXT *context, CS_DATAFMT *srcfmt, CS_VOID *src, CS_DATAFMT *detsfmt, CS_VOID *dest, CS_INT *destlen)
 
typedef struct _cs_objname CS_OBJNAME
 
typedef struct _cs_objdata CS_OBJDATA
 

Enumerations

enum  {
  CS_USERNAME = 9100 , CS_USERNAME = 9100 , CS_PASSWORD = 9101 , CS_PASSWORD = 9101 ,
  CS_APPNAME = 9102 , CS_APPNAME = 9102 , CS_HOSTNAME = 9103 , CS_HOSTNAME = 9103 ,
  CS_LOGIN_STATUS = 9104 , CS_LOGIN_STATUS = 9104 , CS_TDS_VERSION = 9105 , CS_TDS_VERSION = 9105 ,
  CS_CHARSETCNV = 9106 , CS_CHARSETCNV = 9106 , CS_PACKETSIZE = 9107 , CS_PACKETSIZE = 9107 ,
  CS_USERDATA = 9108 , CS_USERDATA = 9108 , CS_NETIO = 9110 , CS_NETIO = 9110 ,
  CS_TEXTLIMIT = 9112 , CS_TEXTLIMIT = 9112 , CS_HIDDEN_KEYS = 9113 , CS_HIDDEN_KEYS = 9113 ,
  CS_VERSION = 9114 , CS_VERSION = 9114 , CS_IFILE = 9115 , CS_IFILE = 9115 ,
  CS_LOGIN_TIMEOUT = 9116 , CS_LOGIN_TIMEOUT = 9116 , CS_TIMEOUT = 9117 , CS_TIMEOUT = 9117 ,
  CS_MAX_CONNECT = 9118 , CS_MAX_CONNECT = 9118 , CS_EXPOSE_FMTS = 9120 , CS_EXPOSE_FMTS = 9120 ,
  CS_EXTRA_INF = 9121 , CS_EXTRA_INF = 9121 , CS_ANSI_BINDS = 9123 , CS_ANSI_BINDS = 9123 ,
  CS_BULK_LOGIN = 9124 , CS_BULK_LOGIN = 9124 , CS_LOC_PROP = 9125 , CS_LOC_PROP = 9125 ,
  CS_PARENT_HANDLE = 9130 , CS_PARENT_HANDLE = 9130 , CS_EED_CMD = 9131 , CS_EED_CMD = 9131 ,
  CS_DIAG_TIMEOUT = 9132 , CS_DIAG_TIMEOUT = 9132 , CS_DISABLE_POLL = 9133 , CS_DISABLE_POLL = 9133 ,
  CS_SEC_ENCRYPTION = 9135 , CS_SEC_ENCRYPTION = 9135 , CS_SEC_CHALLENGE = 9136 , CS_SEC_CHALLENGE = 9136 ,
  CS_SEC_NEGOTIATE = 9137 , CS_SEC_NEGOTIATE = 9137 , CS_CON_STATUS = 9143 , CS_CON_STATUS = 9143 ,
  CS_VER_STRING = 9144 , CS_VER_STRING = 9144 , CS_SERVERNAME = 9146 , CS_SERVERNAME = 9146 ,
  CS_SEC_APPDEFINED = 9149 , CS_SEC_APPDEFINED = 9149 , CS_STICKY_BINDS = 9151 , CS_STICKY_BINDS = 9151 ,
  CS_SEC_NETWORKAUTH = 9175 , CS_SEC_NETWORKAUTH = 9175 , CS_SEC_DELEGATION = 9176 , CS_SEC_DELEGATION = 9176 ,
  CS_SEC_MUTUALAUTH = 9177 , CS_SEC_MUTUALAUTH = 9177 , CS_SEC_SERVERPRINCIPAL = 9188 , CS_SEC_SERVERPRINCIPAL = 9188 ,
  CS_SERVERADDR = 9206 , CS_SERVERADDR = 9206 , CS_PORT = 9300 , CS_PORT = 9300 ,
  CS_CLIENTCHARSET = 9301 , CS_CLIENTCHARSET = 9301 , CS_DATABASE
}
 
enum  { CS_ADD = 1 , CS_SUB , CS_MULT , CS_DIV }
 
enum  {
  CS_TDS_AUTO = 0 , CS_TDS_AUTO = 0 , CS_TDS_40 = 7360 , CS_TDS_42 ,
  CS_TDS_46 , CS_TDS_495 , CS_TDS_50 , CS_TDS_70 ,
  CS_TDS_71 , CS_TDS_71 , CS_TDS_72 , CS_TDS_72 ,
  CS_TDS_73 , CS_TDS_73 , CS_TDS_74 , CS_TDS_74
}
 
enum  ct_command_options {
  CS_MORE = 16 , CS_END = 32 , CS_RECOMPILE = 188 , CS_NO_RECOMPILE ,
  CS_BULK_INIT , CS_BULK_CONT , CS_BULK_DATA , CS_COLUMN_DATA ,
  CS_MORE = 16 , CS_END = 32 , CS_RECOMPILE = 188 , CS_NO_RECOMPILE ,
  CS_BULK_INIT , CS_BULK_CONT , CS_BULK_DATA , CS_COLUMN_DATA
}
 
enum  {
  CS_FMT_UNUSED = 0 , CS_FMT_UNUSED = 0 , CS_FMT_NULLTERM = 1 , CS_FMT_NULLTERM = 1 ,
  CS_FMT_PADNULL = 2 , CS_FMT_PADBLANK = 4 , CS_FMT_PADBLANK = 4 , CS_FMT_PADNULL = 2 ,
  CS_FMT_JUSTIFY_RT
}
 
enum  {
  CS_MONTH = 7340 , CS_MONTH = 7340 , CS_SHORTMONTH , CS_SHORTMONTH ,
  CS_DAYNAME , CS_DAYNAME , CS_DATEORDER , CS_DATEORDER ,
  CS_12HOUR , CS_12HOUR
}
 
enum  {
  CS_DATES_SHORT = 0 , CS_DATES_SHORT = 0 , CS_DATES_MDY1 , CS_DATES_MDY1 ,
  CS_DATES_YMD1 , CS_DATES_YMD1 , CS_DATES_DMY1 , CS_DATES_DMY1 ,
  CS_DATES_DMY2 , CS_DATES_DMY2 , CS_DATES_DMY3 , CS_DATES_DMY3 ,
  CS_DATES_DMY4 , CS_DATES_DMY4 , CS_DATES_MDY2 , CS_DATES_MDY2 ,
  CS_DATES_HMS , CS_DATES_HMS , CS_DATES_LONG , CS_DATES_LONG ,
  CS_DATES_MDY3 , CS_DATES_MDY3 , CS_DATES_YMD2 , CS_DATES_YMD2 ,
  CS_DATES_YMD3 , CS_DATES_YMD3 , CS_DATES_YDM1 , CS_DATES_YDM1 ,
  CS_DATES_MYD1 , CS_DATES_MYD1 , CS_DATES_DYM1 , CS_DATES_DYM1 ,
  CS_DATES_MDY1_YYYY = 101 , CS_DATES_MDY1_YYYY = 101 , CS_DATES_YMD1_YYYY , CS_DATES_YMD1_YYYY ,
  CS_DATES_DMY1_YYYY , CS_DATES_DMY1_YYYY , CS_DATES_DMY2_YYYY , CS_DATES_DMY2_YYYY ,
  CS_DATES_DMY3_YYYY , CS_DATES_DMY3_YYYY , CS_DATES_DMY4_YYYY , CS_DATES_DMY4_YYYY ,
  CS_DATES_MDY2_YYYY , CS_DATES_MDY2_YYYY , CS_DATES_MDY3_YYYY = 110 , CS_DATES_MDY3_YYYY = 110 ,
  CS_DATES_YMD2_YYYY , CS_DATES_YMD2_YYYY
}
 
enum  {
  CS_OPT_MONDAY = 1 , CS_OPT_TUESDAY , CS_OPT_WEDNESDAY , CS_OPT_THURSDAY ,
  CS_OPT_FRIDAY , CS_OPT_SATURDAY , CS_OPT_SUNDAY
}
 
enum  {
  CS_OPT_FMTMDY = 1 , CS_OPT_FMTDMY , CS_OPT_FMTYMD , CS_OPT_FMTYDM ,
  CS_OPT_FMTMYD , CS_OPT_FMTDYM
}
 
enum  { CS_OPT_LEVEL0 = 0 , CS_OPT_LEVEL1 , CS_OPT_LEVEL2 , CS_OPT_LEVEL3 }
 

Functions

CS_RETCODE cs_convert (CS_CONTEXT *ctx, CS_DATAFMT *srcfmt, CS_VOID *srcdata, CS_DATAFMT *destfmt, CS_VOID *destdata, CS_INT *resultlen)
 
CS_RETCODE cs_ctx_alloc (CS_INT version, CS_CONTEXT **ctx)
 
CS_RETCODE cs_ctx_global (CS_INT version, CS_CONTEXT **ctx)
 
CS_RETCODE cs_ctx_drop (CS_CONTEXT *ctx)
 
CS_RETCODE cs_config (CS_CONTEXT *ctx, CS_INT action, CS_INT property, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen)
 
CS_RETCODE cs_strbuild (CS_CONTEXT *ctx, CS_CHAR *buffer, CS_INT buflen, CS_INT *resultlen, CS_CHAR *text, CS_INT textlen, CS_CHAR *formats, CS_INT formatlen,...)
 
CS_RETCODE cs_dt_crack (CS_CONTEXT *ctx, CS_INT datetype, CS_VOID *dateval, CS_DATEREC *daterec)
 
CS_RETCODE cs_dt_crack_v2 (CS_CONTEXT *ctx, CS_INT datetype, CS_VOID *dateval, CS_DATEREC *daterec)
 
CS_RETCODE cs_loc_alloc (CS_CONTEXT *ctx, CS_LOCALE **locptr)
 
CS_RETCODE cs_loc_drop (CS_CONTEXT *ctx, CS_LOCALE *locale)
 
CS_RETCODE cs_locale (CS_CONTEXT *ctx, CS_INT action, CS_LOCALE *locale, CS_INT type, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen)
 
CS_RETCODE cs_dt_info (CS_CONTEXT *ctx, CS_INT action, CS_LOCALE *locale, CS_INT type, CS_INT item, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen)
 
CS_RETCODE cs_calc (CS_CONTEXT *ctx, CS_INT op, CS_INT datatype, CS_VOID *var1, CS_VOID *var2, CS_VOID *dest)
 
CS_RETCODE cs_cmp (CS_CONTEXT *ctx, CS_INT datatype, CS_VOID *var1, CS_VOID *var2, CS_INT *result)
 
CS_RETCODE cs_conv_mult (CS_CONTEXT *ctx, CS_LOCALE *srcloc, CS_LOCALE *destloc, CS_INT *conv_multiplier)
 
CS_RETCODE cs_diag (CS_CONTEXT *ctx, CS_INT operation, CS_INT type, CS_INT idx, CS_VOID *buffer)
 
CS_RETCODE cs_manage_convert (CS_CONTEXT *ctx, CS_INT action, CS_INT srctype, CS_CHAR *srcname, CS_INT srcnamelen, CS_INT desttype, CS_CHAR *destname, CS_INT destnamelen, CS_INT *conv_multiplier, CS_CONV_FUNC *func)
 
CS_RETCODE cs_objects (CS_CONTEXT *ctx, CS_INT action, CS_OBJNAME *objname, CS_OBJDATA *objdata)
 
CS_RETCODE cs_set_convert (CS_CONTEXT *ctx, CS_INT action, CS_INT srctype, CS_INT desttype, CS_CONV_FUNC *func)
 
CS_RETCODE cs_setnull (CS_CONTEXT *ctx, CS_DATAFMT *datafmt, CS_VOID *buffer, CS_INT buflen)
 
CS_RETCODE cs_strcmp (CS_CONTEXT *ctx, CS_LOCALE *locale, CS_INT type, CS_CHAR *str1, CS_INT len1, CS_CHAR *str2, CS_INT len2, CS_INT *result)
 
CS_RETCODE cs_time (CS_CONTEXT *ctx, CS_LOCALE *locale, CS_VOID *buffer, CS_INT buflen, CS_INT *outlen, CS_DATEREC *daterec)
 
CS_RETCODE cs_will_convert (CS_CONTEXT *ctx, CS_INT srctype, CS_INT desttype, CS_BOOL *result)
 
const char * cs_prretcode (int retcode)
 

Macro Definition Documentation

◆ BLK_VERSION_100

#define BLK_VERSION_100   CS_VERSION_100

Definition at line 477 of file cspublic.h.

◆ BLK_VERSION_110

#define BLK_VERSION_110   CS_VERSION_110

Definition at line 478 of file cspublic.h.

◆ BLK_VERSION_120

#define BLK_VERSION_120   CS_VERSION_120

Definition at line 479 of file cspublic.h.

◆ BLK_VERSION_125

#define BLK_VERSION_125   CS_VERSION_125

Definition at line 480 of file cspublic.h.

◆ BLK_VERSION_150

#define BLK_VERSION_150   CS_VERSION_150

Definition at line 481 of file cspublic.h.

◆ BLK_VERSION_155

#define BLK_VERSION_155   CS_VERSION_155

Definition at line 483 of file cspublic.h.

◆ BLK_VERSION_157

#define BLK_VERSION_157   CS_VERSION_157

Definition at line 484 of file cspublic.h.

◆ BLK_VERSION_160

#define BLK_VERSION_160   CS_VERSION_160

Definition at line 485 of file cspublic.h.

◆ CS_12HOUR

#define CS_12HOUR   CS_12HOUR

Definition at line 638 of file cspublic.h.

◆ CS_ALLMSG_TYPE

#define CS_ALLMSG_TYPE   4702

Definition at line 768 of file cspublic.h.

◆ CS_ANSI_BINDS

#define CS_ANSI_BINDS   CS_ANSI_BINDS

Definition at line 222 of file cspublic.h.

◆ CS_APPNAME

#define CS_APPNAME   CS_APPNAME

Definition at line 188 of file cspublic.h.

◆ CS_ASYNC_IO

#define CS_ASYNC_IO   8112

Definition at line 492 of file cspublic.h.

◆ CS_BIGDATETIME_TYPE

#define CS_BIGDATETIME_TYPE   TDS_STATIC_CAST(CS_INT, 35)

Definition at line 615 of file cspublic.h.

◆ CS_BIGINT_TYPE

#define CS_BIGINT_TYPE   TDS_STATIC_CAST(CS_INT, 30)

Definition at line 610 of file cspublic.h.

◆ CS_BIGTIME_TYPE

#define CS_BIGTIME_TYPE   TDS_STATIC_CAST(CS_INT, 36)

Definition at line 616 of file cspublic.h.

◆ CS_BINARY_TYPE

#define CS_BINARY_TYPE   TDS_STATIC_CAST(CS_INT, 1)

Definition at line 581 of file cspublic.h.

◆ CS_BIT_TYPE

#define CS_BIT_TYPE   TDS_STATIC_CAST(CS_INT, 11)

Definition at line 591 of file cspublic.h.

◆ CS_BLK_ALL

#define CS_BLK_ALL   2

Definition at line 549 of file cspublic.h.

◆ CS_BLK_ARRAY_MAXLEN

#define CS_BLK_ARRAY_MAXLEN   0x1000

Definition at line 554 of file cspublic.h.

◆ CS_BLK_BATCH

#define CS_BLK_BATCH   1

Definition at line 548 of file cspublic.h.

◆ CS_BLK_CANCEL

#define CS_BLK_CANCEL   3

Definition at line 550 of file cspublic.h.

◆ CS_BLK_HAS_TEXT

#define CS_BLK_HAS_TEXT   -6

Definition at line 47 of file cspublic.h.

◆ CS_BLK_IN

#define CS_BLK_IN   1

Definition at line 545 of file cspublic.h.

◆ CS_BLK_OUT

#define CS_BLK_OUT   2

Definition at line 546 of file cspublic.h.

◆ CS_BLOB_TYPE

#define CS_BLOB_TYPE   TDS_STATIC_CAST(CS_INT, 26)

Definition at line 606 of file cspublic.h.

◆ CS_BOUNDARY_TYPE

#define CS_BOUNDARY_TYPE   TDS_STATIC_CAST(CS_INT, 22)

Definition at line 602 of file cspublic.h.

◆ CS_BROWSE_INFO

#define CS_BROWSE_INFO   807

Definition at line 505 of file cspublic.h.

◆ CS_BULK_LOGIN

#define CS_BULK_LOGIN   CS_BULK_LOGIN

Definition at line 224 of file cspublic.h.

◆ CS_BUSY

#define CS_BUSY   -4

Definition at line 45 of file cspublic.h.

◆ CS_BYLIST_LEN

#define CS_BYLIST_LEN   5354

Definition at line 518 of file cspublic.h.

◆ CS_CANBENULL

#define CS_CANBENULL   (1 << 5)

Definition at line 304 of file cspublic.h.

◆ CS_CANCEL_ALL

#define CS_CANCEL_ALL   6001

Definition at line 496 of file cspublic.h.

◆ CS_CANCEL_ATTN

#define CS_CANCEL_ATTN   6002

Definition at line 497 of file cspublic.h.

◆ CS_CANCEL_CURRENT

#define CS_CANCEL_CURRENT   6000

Definition at line 495 of file cspublic.h.

◆ CS_CANCELED

#define CS_CANCELED   -202

Definition at line 53 of file cspublic.h.

◆ CS_CAP_REQUEST

#define CS_CAP_REQUEST   1

Definition at line 528 of file cspublic.h.

◆ CS_CAP_RESPONSE

#define CS_CAP_RESPONSE   2

Definition at line 529 of file cspublic.h.

◆ CS_CHALLENGE_CB

#define CS_CHALLENGE_CB   6

Definition at line 429 of file cspublic.h.

◆ CS_CHAR_TYPE

#define CS_CHAR_TYPE   TDS_STATIC_CAST(CS_INT, 0)

Definition at line 580 of file cspublic.h.

◆ CS_CHARSETCNV

#define CS_CHARSETCNV   CS_CHARSETCNV

Definition at line 196 of file cspublic.h.

◆ CS_CLEAR

#define CS_CLEAR   35

Definition at line 444 of file cspublic.h.

◆ CS_CLIENTCHARSET

#define CS_CLIENTCHARSET   CS_CLIENTCHARSET

Definition at line 264 of file cspublic.h.

◆ CS_CLIENTMSG_CB

#define CS_CLIENTMSG_CB   3

Definition at line 426 of file cspublic.h.

◆ CS_CLIENTMSG_TYPE

#define CS_CLIENTMSG_TYPE   4700

Definition at line 766 of file cspublic.h.

◆ CS_CMD_DONE

#define CS_CMD_DONE   4046

Definition at line 450 of file cspublic.h.

◆ CS_CMD_FAIL

#define CS_CMD_FAIL   4048

Definition at line 452 of file cspublic.h.

◆ CS_CMD_NUMBER

#define CS_CMD_NUMBER   801

Definition at line 500 of file cspublic.h.

◆ CS_CMD_SUCCEED

#define CS_CMD_SUCCEED   4047

Definition at line 451 of file cspublic.h.

◆ CS_COMP_BYLIST

#define CS_COMP_BYLIST   5353

Definition at line 517 of file cspublic.h.

◆ CS_COMP_COLID

#define CS_COMP_COLID   5352

Definition at line 516 of file cspublic.h.

◆ CS_COMP_ID

#define CS_COMP_ID   5351

Definition at line 515 of file cspublic.h.

◆ CS_COMP_OP

#define CS_COMP_OP   5350

Definition at line 514 of file cspublic.h.

◆ CS_COMPLETION_CB

#define CS_COMPLETION_CB   1

Definition at line 424 of file cspublic.h.

◆ CS_COMPUTE_RESULT

#define CS_COMPUTE_RESULT   4045

Definition at line 568 of file cspublic.h.

◆ CS_COMPUTEFMT_RESULT

#define CS_COMPUTEFMT_RESULT   4050

Definition at line 573 of file cspublic.h.

◆ CS_CON_INBAND

#define CS_CON_INBAND   40

Definition at line 124 of file cspublic.h.

◆ CS_CON_LOGICAL

#define CS_CON_LOGICAL   41

Definition at line 125 of file cspublic.h.

◆ CS_CON_NOINBAND

#define CS_CON_NOINBAND   28

Definition at line 167 of file cspublic.h.

◆ CS_CON_NOOOB

#define CS_CON_NOOOB   27

Definition at line 166 of file cspublic.h.

◆ CS_CON_OOB

#define CS_CON_OOB   39

Definition at line 123 of file cspublic.h.

◆ CS_CON_STATUS

#define CS_CON_STATUS   CS_CON_STATUS

Definition at line 242 of file cspublic.h.

◆ CS_CONSTAT_CONNECTED

#define CS_CONSTAT_CONNECTED   0x01

Definition at line 322 of file cspublic.h.

◆ CS_CONSTAT_DEAD

#define CS_CONSTAT_DEAD   0x02

Definition at line 323 of file cspublic.h.

◆ CS_CONTINUE

#define CS_CONTINUE   -7

Definition at line 48 of file cspublic.h.

◆ CS_CSR_ABS

#define CS_CSR_ABS   36

Definition at line 120 of file cspublic.h.

◆ CS_CSR_FIRST

#define CS_CSR_FIRST   34

Definition at line 118 of file cspublic.h.

◆ CS_CSR_LAST

#define CS_CSR_LAST   35

Definition at line 119 of file cspublic.h.

◆ CS_CSR_MULTI

#define CS_CSR_MULTI   38

Definition at line 122 of file cspublic.h.

◆ CS_CSR_PREV

#define CS_CSR_PREV   33

Definition at line 117 of file cspublic.h.

◆ CS_CSR_REL

#define CS_CSR_REL   37

Definition at line 121 of file cspublic.h.

◆ CS_CUR_ID

#define CS_CUR_ID   TDS_STATIC_CAST(CS_INT, 9127)

Definition at line 354 of file cspublic.h.

◆ CS_CUR_NAME

#define CS_CUR_NAME   TDS_STATIC_CAST(CS_INT, 9128)

Definition at line 355 of file cspublic.h.

◆ CS_CUR_ROWCOUNT

#define CS_CUR_ROWCOUNT   TDS_STATIC_CAST(CS_INT, 9129)

Definition at line 356 of file cspublic.h.

◆ CS_CUR_STATUS

#define CS_CUR_STATUS   TDS_STATIC_CAST(CS_INT, 9126)

Definition at line 353 of file cspublic.h.

◆ CS_CURSOR_CLOSE

#define CS_CURSOR_CLOSE   706

Definition at line 334 of file cspublic.h.

◆ CS_CURSOR_DEALLOC

#define CS_CURSOR_DEALLOC   707

Definition at line 335 of file cspublic.h.

◆ CS_CURSOR_DECLARE

#define CS_CURSOR_DECLARE   700

Definition at line 329 of file cspublic.h.

◆ CS_CURSOR_DELETE

#define CS_CURSOR_DELETE   705

Definition at line 333 of file cspublic.h.

◆ CS_CURSOR_OPEN

#define CS_CURSOR_OPEN   701

Definition at line 330 of file cspublic.h.

◆ CS_CURSOR_OPTION

#define CS_CURSOR_OPTION   725

Definition at line 336 of file cspublic.h.

◆ CS_CURSOR_RESULT

#define CS_CURSOR_RESULT   4041

Definition at line 569 of file cspublic.h.

◆ CS_CURSOR_ROWS

#define CS_CURSOR_ROWS   703

Definition at line 331 of file cspublic.h.

◆ CS_CURSOR_UPDATE

#define CS_CURSOR_UPDATE   704

Definition at line 332 of file cspublic.h.

◆ CS_CURSTAT_CLOSED

#define CS_CURSTAT_CLOSED   TDS_STATIC_CAST(CS_INT, 0x4)

Definition at line 347 of file cspublic.h.

◆ CS_CURSTAT_DEALLOC

#define CS_CURSTAT_DEALLOC   TDS_STATIC_CAST(CS_INT, 0x40)

Definition at line 351 of file cspublic.h.

◆ CS_CURSTAT_DECLARED

#define CS_CURSTAT_DECLARED   TDS_STATIC_CAST(CS_INT, 0x1)

Definition at line 345 of file cspublic.h.

◆ CS_CURSTAT_NONE

#define CS_CURSTAT_NONE   TDS_STATIC_CAST(CS_INT, 0x0)

Definition at line 344 of file cspublic.h.

◆ CS_CURSTAT_OPEN

#define CS_CURSTAT_OPEN   TDS_STATIC_CAST(CS_INT, 0x2)

Definition at line 346 of file cspublic.h.

◆ CS_CURSTAT_RDONLY

#define CS_CURSTAT_RDONLY   TDS_STATIC_CAST(CS_INT, 0x8)

Definition at line 348 of file cspublic.h.

◆ CS_CURSTAT_ROWCOUNT

#define CS_CURSTAT_ROWCOUNT   TDS_STATIC_CAST(CS_INT, 0x20)

Definition at line 350 of file cspublic.h.

◆ CS_CURSTAT_UPDATABLE

#define CS_CURSTAT_UPDATABLE   TDS_STATIC_CAST(CS_INT, 0x10)

Definition at line 349 of file cspublic.h.

◆ CS_DATA_BIN

#define CS_DATA_BIN   16

Definition at line 100 of file cspublic.h.

◆ CS_DATA_BIT

#define CS_DATA_BIT   13

Definition at line 97 of file cspublic.h.

◆ CS_DATA_BITN

#define CS_DATA_BITN   50

Definition at line 134 of file cspublic.h.

◆ CS_DATA_BOUNDARY

#define CS_DATA_BOUNDARY   46

Definition at line 130 of file cspublic.h.

◆ CS_DATA_CHAR

#define CS_DATA_CHAR   14

Definition at line 98 of file cspublic.h.

◆ CS_DATA_DATE4

#define CS_DATA_DATE4   21

Definition at line 105 of file cspublic.h.

◆ CS_DATA_DATE8

#define CS_DATA_DATE8   20

Definition at line 104 of file cspublic.h.

◆ CS_DATA_DATETIMEN

#define CS_DATA_DATETIMEN   31

Definition at line 115 of file cspublic.h.

◆ CS_DATA_DEC

#define CS_DATA_DEC   27

Definition at line 111 of file cspublic.h.

◆ CS_DATA_FLT4

#define CS_DATA_FLT4   22

Definition at line 106 of file cspublic.h.

◆ CS_DATA_FLT8

#define CS_DATA_FLT8   23

Definition at line 107 of file cspublic.h.

◆ CS_DATA_FLTN

#define CS_DATA_FLTN   49

Definition at line 133 of file cspublic.h.

◆ CS_DATA_IMAGE

#define CS_DATA_IMAGE   26

Definition at line 110 of file cspublic.h.

◆ CS_DATA_INT1

#define CS_DATA_INT1   10

Definition at line 94 of file cspublic.h.

◆ CS_DATA_INT2

#define CS_DATA_INT2   11

Definition at line 95 of file cspublic.h.

◆ CS_DATA_INT4

#define CS_DATA_INT4   12

Definition at line 96 of file cspublic.h.

◆ CS_DATA_INT8

#define CS_DATA_INT8   52

Definition at line 136 of file cspublic.h.

◆ CS_DATA_INTN

#define CS_DATA_INTN   30

Definition at line 114 of file cspublic.h.

◆ CS_DATA_LBIN

#define CS_DATA_LBIN   29

Definition at line 113 of file cspublic.h.

◆ CS_DATA_LCHAR

#define CS_DATA_LCHAR   28

Definition at line 112 of file cspublic.h.

◆ CS_DATA_MNY4

#define CS_DATA_MNY4   19

Definition at line 103 of file cspublic.h.

◆ CS_DATA_MNY8

#define CS_DATA_MNY8   18

Definition at line 102 of file cspublic.h.

◆ CS_DATA_MONEYN

#define CS_DATA_MONEYN   32

Definition at line 116 of file cspublic.h.

◆ CS_DATA_NOBIN

#define CS_DATA_NOBIN   10

Definition at line 149 of file cspublic.h.

◆ CS_DATA_NOBIT

#define CS_DATA_NOBIT   7

Definition at line 146 of file cspublic.h.

◆ CS_DATA_NOBOUNDARY

#define CS_DATA_NOBOUNDARY   32

Definition at line 171 of file cspublic.h.

◆ CS_DATA_NOCHAR

#define CS_DATA_NOCHAR   8

Definition at line 147 of file cspublic.h.

◆ CS_DATA_NODATE4

#define CS_DATA_NODATE4   15

Definition at line 154 of file cspublic.h.

◆ CS_DATA_NODATE8

#define CS_DATA_NODATE8   14

Definition at line 153 of file cspublic.h.

◆ CS_DATA_NODATETIMEN

#define CS_DATA_NODATETIMEN   25

Definition at line 164 of file cspublic.h.

◆ CS_DATA_NODEC

#define CS_DATA_NODEC   21

Definition at line 160 of file cspublic.h.

◆ CS_DATA_NOFLT4

#define CS_DATA_NOFLT4   16

Definition at line 155 of file cspublic.h.

◆ CS_DATA_NOFLT8

#define CS_DATA_NOFLT8   17

Definition at line 156 of file cspublic.h.

◆ CS_DATA_NOIMAGE

#define CS_DATA_NOIMAGE   20

Definition at line 159 of file cspublic.h.

◆ CS_DATA_NOINT1

#define CS_DATA_NOINT1   4

Definition at line 143 of file cspublic.h.

◆ CS_DATA_NOINT2

#define CS_DATA_NOINT2   5

Definition at line 144 of file cspublic.h.

◆ CS_DATA_NOINT4

#define CS_DATA_NOINT4   6

Definition at line 145 of file cspublic.h.

◆ CS_DATA_NOINT8

#define CS_DATA_NOINT8   35

Definition at line 174 of file cspublic.h.

◆ CS_DATA_NOINTN

#define CS_DATA_NOINTN   24

Definition at line 163 of file cspublic.h.

◆ CS_DATA_NOLBIN

#define CS_DATA_NOLBIN   23

Definition at line 162 of file cspublic.h.

◆ CS_DATA_NOLCHAR

#define CS_DATA_NOLCHAR   22

Definition at line 161 of file cspublic.h.

◆ CS_DATA_NOMNY4

#define CS_DATA_NOMNY4   13

Definition at line 152 of file cspublic.h.

◆ CS_DATA_NOMNY8

#define CS_DATA_NOMNY8   12

Definition at line 151 of file cspublic.h.

◆ CS_DATA_NOMONEYN

#define CS_DATA_NOMONEYN   26

Definition at line 165 of file cspublic.h.

◆ CS_DATA_NONUM

#define CS_DATA_NONUM   18

Definition at line 157 of file cspublic.h.

◆ CS_DATA_NOSENSITIVITY

#define CS_DATA_NOSENSITIVITY   31

Definition at line 170 of file cspublic.h.

◆ CS_DATA_NOTEXT

#define CS_DATA_NOTEXT   19

Definition at line 158 of file cspublic.h.

◆ CS_DATA_NOVBIN

#define CS_DATA_NOVBIN   11

Definition at line 150 of file cspublic.h.

◆ CS_DATA_NOVCHAR

#define CS_DATA_NOVCHAR   9

Definition at line 148 of file cspublic.h.

◆ CS_DATA_NUM

#define CS_DATA_NUM   24

Definition at line 108 of file cspublic.h.

◆ CS_DATA_SENSITIVITY

#define CS_DATA_SENSITIVITY   45

Definition at line 129 of file cspublic.h.

◆ CS_DATA_TEXT

#define CS_DATA_TEXT   25

Definition at line 109 of file cspublic.h.

◆ CS_DATA_VBIN

#define CS_DATA_VBIN   17

Definition at line 101 of file cspublic.h.

◆ CS_DATA_VCHAR

#define CS_DATA_VCHAR   15

Definition at line 99 of file cspublic.h.

◆ CS_DATA_VOID

#define CS_DATA_VOID   53

Definition at line 137 of file cspublic.h.

◆ CS_DATABASE

#define CS_DATABASE   CS_DATABASE

◆ CS_DATE_TYPE

#define CS_DATE_TYPE   TDS_STATIC_CAST(CS_INT, 27)

Definition at line 607 of file cspublic.h.

◆ CS_DATEORDER

#define CS_DATEORDER   CS_DATEORDER

Definition at line 636 of file cspublic.h.

◆ CS_DATES_DMY1

#define CS_DATES_DMY1   CS_DATES_DMY1

Definition at line 653 of file cspublic.h.

◆ CS_DATES_DMY1_YYYY

#define CS_DATES_DMY1_YYYY   CS_DATES_DMY1_YYYY

Definition at line 683 of file cspublic.h.

◆ CS_DATES_DMY2

#define CS_DATES_DMY2   CS_DATES_DMY2

Definition at line 655 of file cspublic.h.

◆ CS_DATES_DMY2_YYYY

#define CS_DATES_DMY2_YYYY   CS_DATES_DMY2_YYYY

Definition at line 685 of file cspublic.h.

◆ CS_DATES_DMY3

#define CS_DATES_DMY3   CS_DATES_DMY3

Definition at line 657 of file cspublic.h.

◆ CS_DATES_DMY3_YYYY

#define CS_DATES_DMY3_YYYY   CS_DATES_DMY3_YYYY

Definition at line 687 of file cspublic.h.

◆ CS_DATES_DMY4

#define CS_DATES_DMY4   CS_DATES_DMY4

Definition at line 659 of file cspublic.h.

◆ CS_DATES_DMY4_YYYY

#define CS_DATES_DMY4_YYYY   CS_DATES_DMY4_YYYY

Definition at line 689 of file cspublic.h.

◆ CS_DATES_DYM1

#define CS_DATES_DYM1   CS_DATES_DYM1

Definition at line 677 of file cspublic.h.

◆ CS_DATES_HMS

#define CS_DATES_HMS   CS_DATES_HMS

Definition at line 663 of file cspublic.h.

◆ CS_DATES_LONG

#define CS_DATES_LONG   CS_DATES_LONG

Definition at line 665 of file cspublic.h.

◆ CS_DATES_MDY1

#define CS_DATES_MDY1   CS_DATES_MDY1

Definition at line 649 of file cspublic.h.

◆ CS_DATES_MDY1_YYYY

#define CS_DATES_MDY1_YYYY   CS_DATES_MDY1_YYYY

Definition at line 679 of file cspublic.h.

◆ CS_DATES_MDY2

#define CS_DATES_MDY2   CS_DATES_MDY2

Definition at line 661 of file cspublic.h.

◆ CS_DATES_MDY2_YYYY

#define CS_DATES_MDY2_YYYY   CS_DATES_MDY2_YYYY

Definition at line 691 of file cspublic.h.

◆ CS_DATES_MDY3

#define CS_DATES_MDY3   CS_DATES_MDY3

Definition at line 667 of file cspublic.h.

◆ CS_DATES_MDY3_YYYY

#define CS_DATES_MDY3_YYYY   CS_DATES_MDY3_YYYY

Definition at line 693 of file cspublic.h.

◆ CS_DATES_MYD1

#define CS_DATES_MYD1   CS_DATES_MYD1

Definition at line 675 of file cspublic.h.

◆ CS_DATES_SHORT

#define CS_DATES_SHORT   CS_DATES_SHORT

Definition at line 647 of file cspublic.h.

◆ CS_DATES_YDM1

#define CS_DATES_YDM1   CS_DATES_YDM1

Definition at line 673 of file cspublic.h.

◆ CS_DATES_YMD1

#define CS_DATES_YMD1   CS_DATES_YMD1

Definition at line 651 of file cspublic.h.

◆ CS_DATES_YMD1_YYYY

#define CS_DATES_YMD1_YYYY   CS_DATES_YMD1_YYYY

Definition at line 681 of file cspublic.h.

◆ CS_DATES_YMD2

#define CS_DATES_YMD2   CS_DATES_YMD2

Definition at line 669 of file cspublic.h.

◆ CS_DATES_YMD2_YYYY

#define CS_DATES_YMD2_YYYY   CS_DATES_YMD2_YYYY

Definition at line 695 of file cspublic.h.

◆ CS_DATES_YMD3

#define CS_DATES_YMD3   CS_DATES_YMD3

Definition at line 671 of file cspublic.h.

◆ CS_DATES_YMD3_YYYY

#define CS_DATES_YMD3_YYYY   CS_DATES_YMD3_YYYY

Definition at line 697 of file cspublic.h.

◆ CS_DATETIME4_TYPE

#define CS_DATETIME4_TYPE   TDS_STATIC_CAST(CS_INT, 13)

Definition at line 593 of file cspublic.h.

◆ CS_DATETIME_TYPE

#define CS_DATETIME_TYPE   TDS_STATIC_CAST(CS_INT, 12)

Definition at line 592 of file cspublic.h.

◆ CS_DAYNAME

#define CS_DAYNAME   CS_DAYNAME

Definition at line 634 of file cspublic.h.

◆ CS_DEALLOC

#define CS_DEALLOC   711

Definition at line 536 of file cspublic.h.

◆ CS_DECIMAL_TYPE

#define CS_DECIMAL_TYPE   TDS_STATIC_CAST(CS_INT, 17)

Definition at line 597 of file cspublic.h.

◆ CS_DEF_PREC

#define CS_DEF_PREC   18

Definition at line 555 of file cspublic.h.

◆ CS_DEFER_IO

#define CS_DEFER_IO   8113

Definition at line 493 of file cspublic.h.

◆ CS_DESCIN

#define CS_DESCIN   (1 << 6)

Definition at line 305 of file cspublic.h.

◆ CS_DESCOUT

#define CS_DESCOUT   (1 << 7)

Definition at line 306 of file cspublic.h.

◆ CS_DESCRIBE_INPUT

#define CS_DESCRIBE_INPUT   720

Definition at line 533 of file cspublic.h.

◆ CS_DESCRIBE_OUTPUT

#define CS_DESCRIBE_OUTPUT   721

Definition at line 534 of file cspublic.h.

◆ CS_DESCRIBE_RESULT

#define CS_DESCRIBE_RESULT   4051

Definition at line 576 of file cspublic.h.

◆ CS_DIAG_TIMEOUT

#define CS_DIAG_TIMEOUT   CS_DIAG_TIMEOUT

Definition at line 232 of file cspublic.h.

◆ CS_DISABLE_POLL

#define CS_DISABLE_POLL   CS_DISABLE_POLL

Definition at line 234 of file cspublic.h.

◆ CS_DS_LOOKUP_CB

#define CS_DS_LOOKUP_CB   7

Definition at line 430 of file cspublic.h.

◆ CS_DT_CONVFMT

#define CS_DT_CONVFMT   CS_DT_CONVFMT

Definition at line 640 of file cspublic.h.

◆ cs_dt_crack

#define cs_dt_crack   cs_dt_crack_v2

Definition at line 782 of file cspublic.h.

◆ CS_EED_CMD

#define CS_EED_CMD   CS_EED_CMD

Definition at line 230 of file cspublic.h.

◆ CS_ENCRYPT_CB

#define CS_ENCRYPT_CB   5

Definition at line 428 of file cspublic.h.

◆ CS_END_DATA

#define CS_END_DATA   -204

Definition at line 55 of file cspublic.h.

◆ CS_END_ITEM

#define CS_END_ITEM   -206

Definition at line 57 of file cspublic.h.

◆ CS_END_RESULTS

#define CS_END_RESULTS   -205

Definition at line 56 of file cspublic.h.

◆ CS_EXECUTE

#define CS_EXECUTE   718

Definition at line 532 of file cspublic.h.

◆ CS_EXPOSE_FMTS

#define CS_EXPOSE_FMTS   CS_EXPOSE_FMTS

Definition at line 218 of file cspublic.h.

◆ CS_EXTRA_INF

#define CS_EXTRA_INF   CS_EXTRA_INF

Definition at line 220 of file cspublic.h.

◆ CS_FAIL

#define CS_FAIL   0

Definition at line 41 of file cspublic.h.

◆ CS_FALSE

#define CS_FALSE   0

Definition at line 760 of file cspublic.h.

◆ CS_FATAL

#define CS_FATAL   -8

Definition at line 49 of file cspublic.h.

◆ CS_FLOAT_TYPE

#define CS_FLOAT_TYPE   TDS_STATIC_CAST(CS_INT, 10)

Definition at line 590 of file cspublic.h.

◆ CS_FMT_JUSTIFY_RT

#define CS_FMT_JUSTIFY_RT   CS_FMT_JUSTIFY_RT

◆ CS_FMT_NULLTERM

#define CS_FMT_NULLTERM   CS_FMT_NULLTERM

Definition at line 414 of file cspublic.h.

◆ CS_FMT_PADBLANK

#define CS_FMT_PADBLANK   CS_FMT_PADBLANK

Definition at line 416 of file cspublic.h.

◆ CS_FMT_PADNULL

#define CS_FMT_PADNULL   CS_FMT_PADNULL

Definition at line 418 of file cspublic.h.

◆ CS_FMT_UNUSED

#define CS_FMT_UNUSED   CS_FMT_UNUSED

Definition at line 412 of file cspublic.h.

◆ CS_FOR_UPDATE

#define CS_FOR_UPDATE   TDS_STATIC_CAST(CS_INT, 0x1)

Definition at line 338 of file cspublic.h.

◆ CS_FORCE_CLOSE

#define CS_FORCE_CLOSE   301

Definition at line 489 of file cspublic.h.

◆ CS_FORCE_EXIT

#define CS_FORCE_EXIT   300

Definition at line 488 of file cspublic.h.

◆ CS_GET

#define CS_GET   33

Definition at line 442 of file cspublic.h.

◆ CS_GOODDATA

#define CS_GOODDATA   0

Definition at line 318 of file cspublic.h.

◆ CS_HASEED

#define CS_HASEED   0x01

Definition at line 80 of file cspublic.h.

◆ CS_HIDDEN

#define CS_HIDDEN   (1 << 0)

Definition at line 299 of file cspublic.h.

◆ CS_HIDDEN_KEYS

#define CS_HIDDEN_KEYS   CS_HIDDEN_KEYS

Definition at line 206 of file cspublic.h.

◆ CS_HOSTNAME

#define CS_HOSTNAME   CS_HOSTNAME

Definition at line 190 of file cspublic.h.

◆ CS_IDENTITY

#define CS_IDENTITY   (1 << 15)

Definition at line 312 of file cspublic.h.

◆ CS_IFILE

#define CS_IFILE   CS_IFILE

Definition at line 210 of file cspublic.h.

◆ CS_ILLEGAL_TYPE

#define CS_ILLEGAL_TYPE   TDS_STATIC_CAST(CS_INT, -1)

Definition at line 579 of file cspublic.h.

◆ CS_IMAGE_TYPE

#define CS_IMAGE_TYPE   TDS_STATIC_CAST(CS_INT, 5)

Definition at line 585 of file cspublic.h.

◆ CS_IMPLICIT_CURSOR

#define CS_IMPLICIT_CURSOR   TDS_STATIC_CAST(CS_INT, 0x40)

Definition at line 341 of file cspublic.h.

◆ CS_INIT

#define CS_INIT   36

Definition at line 445 of file cspublic.h.

◆ CS_INPUTVALUE

#define CS_INPUTVALUE   (1 << 8)

Definition at line 307 of file cspublic.h.

◆ CS_INT_TYPE

#define CS_INT_TYPE   TDS_STATIC_CAST(CS_INT, 8)

Definition at line 588 of file cspublic.h.

◆ CS_INTERRUPT

#define CS_INTERRUPT   -5

Definition at line 46 of file cspublic.h.

◆ CS_IODATA

#define CS_IODATA   TDS_STATIC_CAST(CS_INT, 1600)

Definition at line 74 of file cspublic.h.

◆ CS_KEY

#define CS_KEY   (1 << 1)

Definition at line 300 of file cspublic.h.

◆ CS_LANG_CMD

#define CS_LANG_CMD   148

Definition at line 455 of file cspublic.h.

◆ CS_LAYER

#define CS_LAYER (   x)    (((x) >> 24) & 0xFF)

Definition at line 63 of file cspublic.h.

◆ CS_LC_ALL

#define CS_LC_ALL   7

Definition at line 538 of file cspublic.h.

◆ CS_LOC_PROP

#define CS_LOC_PROP   CS_LOC_PROP

Definition at line 226 of file cspublic.h.

◆ CS_LOGIN_STATUS

#define CS_LOGIN_STATUS   CS_LOGIN_STATUS

Definition at line 192 of file cspublic.h.

◆ CS_LOGIN_TIMEOUT

#define CS_LOGIN_TIMEOUT   CS_LOGIN_TIMEOUT

Definition at line 212 of file cspublic.h.

◆ CS_LONG_TYPE

#define CS_LONG_TYPE   TDS_STATIC_CAST(CS_INT, 20)

Definition at line 600 of file cspublic.h.

◆ CS_LONGBINARY_TYPE

#define CS_LONGBINARY_TYPE   TDS_STATIC_CAST(CS_INT, 3)

Definition at line 583 of file cspublic.h.

◆ CS_LONGCHAR_TYPE

#define CS_LONGCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 2)

Definition at line 582 of file cspublic.h.

◆ CS_MAX_CONNECT

#define CS_MAX_CONNECT   CS_MAX_CONNECT

Definition at line 216 of file cspublic.h.

◆ CS_MAX_SYBTYPE

#define CS_MAX_SYBTYPE   CS_NLONGCHAR_TYPE

Definition at line 623 of file cspublic.h.

◆ CS_MEM_ERROR

#define CS_MEM_ERROR   -1

Definition at line 42 of file cspublic.h.

◆ CS_MESSAGE_CB

#define CS_MESSAGE_CB   9119

Definition at line 433 of file cspublic.h.

◆ CS_MIN_SYBTYPE

#define CS_MIN_SYBTYPE   CS_CHAR_TYPE

Definition at line 622 of file cspublic.h.

◆ CS_MONEY4_TYPE

#define CS_MONEY4_TYPE   TDS_STATIC_CAST(CS_INT, 15)

Definition at line 595 of file cspublic.h.

◆ CS_MONEY_TYPE

#define CS_MONEY_TYPE   TDS_STATIC_CAST(CS_INT, 14)

Definition at line 594 of file cspublic.h.

◆ CS_MONTH

#define CS_MONTH   CS_MONTH

Definition at line 630 of file cspublic.h.

◆ CS_MSG_RESULT

#define CS_MSG_RESULT   4044

Definition at line 575 of file cspublic.h.

◆ CS_MSGLIMIT

#define CS_MSGLIMIT   38

Definition at line 447 of file cspublic.h.

◆ CS_MSGTYPE

#define CS_MSGTYPE   806

Definition at line 504 of file cspublic.h.

◆ CS_NETIO

#define CS_NETIO   CS_NETIO

Definition at line 202 of file cspublic.h.

◆ CS_NLONGCHAR_TYPE

#define CS_NLONGCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 91)

Definition at line 620 of file cspublic.h.

◆ CS_NO_COUNT

#define CS_NO_COUNT   -1

Definition at line 520 of file cspublic.h.

◆ CS_NO_LIMIT

#define CS_NO_LIMIT   -9999

Definition at line 438 of file cspublic.h.

◆ CS_NODATA

#define CS_NODATA   (1 << 3)

Definition at line 302 of file cspublic.h.

◆ CS_NODEFAULT

#define CS_NODEFAULT   (1 << 14)

Definition at line 311 of file cspublic.h.

◆ CS_NOMSG

#define CS_NOMSG   -207

Definition at line 58 of file cspublic.h.

◆ CS_NOTIF_CB

#define CS_NOTIF_CB   4

Definition at line 427 of file cspublic.h.

◆ CS_NULLDATA

#define CS_NULLDATA   (-1)

Definition at line 319 of file cspublic.h.

◆ CS_NULLTERM

#define CS_NULLTERM   -9

Definition at line 436 of file cspublic.h.

◆ CS_NUM_COMPUTES

#define CS_NUM_COMPUTES   802

Definition at line 501 of file cspublic.h.

◆ CS_NUMBER

#define CS_NUMBER (   x)    ((x) & 0xFF)

Definition at line 66 of file cspublic.h.

◆ CS_NUMDATA

#define CS_NUMDATA   803

Definition at line 502 of file cspublic.h.

◆ CS_NUMERIC_TYPE

#define CS_NUMERIC_TYPE   TDS_STATIC_CAST(CS_INT, 16)

Definition at line 596 of file cspublic.h.

◆ CS_NUMORDERCOLS

#define CS_NUMORDERCOLS   805

Definition at line 503 of file cspublic.h.

◆ CS_NVARCHAR_TYPE

#define CS_NVARCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 90)

Definition at line 619 of file cspublic.h.

◆ CS_OP_AVG

#define CS_OP_AVG   5371

Definition at line 523 of file cspublic.h.

◆ CS_OP_COUNT

#define CS_OP_COUNT   5372

Definition at line 524 of file cspublic.h.

◆ CS_OP_MAX

#define CS_OP_MAX   5374

Definition at line 526 of file cspublic.h.

◆ CS_OP_MIN

#define CS_OP_MIN   5373

Definition at line 525 of file cspublic.h.

◆ CS_OP_SUM

#define CS_OP_SUM   5370

Definition at line 522 of file cspublic.h.

◆ CS_OPT_ANSINULL

#define CS_OPT_ANSINULL   5034

Definition at line 386 of file cspublic.h.

◆ CS_OPT_ANSIPERM

#define CS_OPT_ANSIPERM   5036

Definition at line 388 of file cspublic.h.

◆ CS_OPT_ARITHABORT

#define CS_OPT_ARITHABORT   5017

Definition at line 371 of file cspublic.h.

◆ CS_OPT_ARITHIGNORE

#define CS_OPT_ARITHIGNORE   5015

Definition at line 369 of file cspublic.h.

◆ CS_OPT_AUTHOFF

#define CS_OPT_AUTHOFF   5033

Definition at line 385 of file cspublic.h.

◆ CS_OPT_AUTHON

#define CS_OPT_AUTHON   5009

Definition at line 366 of file cspublic.h.

◆ CS_OPT_CHAINXACTS

#define CS_OPT_CHAINXACTS   5025

Definition at line 377 of file cspublic.h.

◆ CS_OPT_CURCLOSEONXACT

#define CS_OPT_CURCLOSEONXACT   5026

Definition at line 378 of file cspublic.h.

◆ CS_OPT_CURREAD

#define CS_OPT_CURREAD   5030

Definition at line 382 of file cspublic.h.

◆ CS_OPT_CURWRITE

#define CS_OPT_CURWRITE   5031

Definition at line 383 of file cspublic.h.

◆ CS_OPT_DATEFIRST

#define CS_OPT_DATEFIRST   5001

Definition at line 359 of file cspublic.h.

◆ CS_OPT_DATEFORMAT

#define CS_OPT_DATEFORMAT   5007

Definition at line 364 of file cspublic.h.

◆ CS_OPT_FIPSFLAG

#define CS_OPT_FIPSFLAG   5027

Definition at line 379 of file cspublic.h.

◆ CS_OPT_FORCEPLAN

#define CS_OPT_FORCEPLAN   5023

Definition at line 375 of file cspublic.h.

◆ CS_OPT_FORMATONLY

#define CS_OPT_FORMATONLY   5024

Definition at line 376 of file cspublic.h.

◆ CS_OPT_GETDATA

#define CS_OPT_GETDATA   5020

Definition at line 373 of file cspublic.h.

◆ CS_OPT_IDENTITYOFF

#define CS_OPT_IDENTITYOFF   5032

Definition at line 384 of file cspublic.h.

◆ CS_OPT_IDENTITYON

#define CS_OPT_IDENTITYON   5029

Definition at line 381 of file cspublic.h.

◆ CS_OPT_ISOLATION

#define CS_OPT_ISOLATION   5008

Definition at line 365 of file cspublic.h.

◆ CS_OPT_NOCOUNT

#define CS_OPT_NOCOUNT   5021

Definition at line 374 of file cspublic.h.

◆ CS_OPT_NOEXEC

#define CS_OPT_NOEXEC   5014

Definition at line 368 of file cspublic.h.

◆ CS_OPT_PARSEONLY

#define CS_OPT_PARSEONLY   5018

Definition at line 372 of file cspublic.h.

◆ CS_OPT_QUOTED_IDENT

#define CS_OPT_QUOTED_IDENT   5035

Definition at line 387 of file cspublic.h.

◆ CS_OPT_RESTREES

#define CS_OPT_RESTREES   5028

Definition at line 380 of file cspublic.h.

◆ CS_OPT_ROWCOUNT

#define CS_OPT_ROWCOUNT   5005

Definition at line 363 of file cspublic.h.

◆ CS_OPT_SHOWPLAN

#define CS_OPT_SHOWPLAN   5013

Definition at line 367 of file cspublic.h.

◆ CS_OPT_STATS_IO

#define CS_OPT_STATS_IO   5004

Definition at line 362 of file cspublic.h.

◆ CS_OPT_STATS_TIME

#define CS_OPT_STATS_TIME   5003

Definition at line 361 of file cspublic.h.

◆ CS_OPT_STR_RTRUNC

#define CS_OPT_STR_RTRUNC   5037

Definition at line 389 of file cspublic.h.

◆ CS_OPT_TEXTSIZE

#define CS_OPT_TEXTSIZE   5002

Definition at line 360 of file cspublic.h.

◆ CS_OPT_TRUNCIGNORE

#define CS_OPT_TRUNCIGNORE   5016

Definition at line 370 of file cspublic.h.

◆ CS_OPTION_GET

#define CS_OPTION_GET   51

Definition at line 135 of file cspublic.h.

◆ CS_ORIGIN

#define CS_ORIGIN (   x)    (((x) >> 16) & 0xFF)

Definition at line 64 of file cspublic.h.

◆ CS_PACKETSIZE

#define CS_PACKETSIZE   CS_PACKETSIZE

Definition at line 198 of file cspublic.h.

◆ CS_PARAM_RESULT

#define CS_PARAM_RESULT   4042

Definition at line 570 of file cspublic.h.

◆ CS_PARENT_HANDLE

#define CS_PARENT_HANDLE   CS_PARENT_HANDLE

Definition at line 228 of file cspublic.h.

◆ CS_PASSWORD

#define CS_PASSWORD   CS_PASSWORD

Definition at line 186 of file cspublic.h.

◆ CS_PENDING

#define CS_PENDING   -2

Definition at line 43 of file cspublic.h.

◆ CS_PORT

#define CS_PORT   CS_PORT

Definition at line 262 of file cspublic.h.

◆ CS_PREPARE

#define CS_PREPARE   717

Definition at line 531 of file cspublic.h.

◆ CS_PROTO_BULK

#define CS_PROTO_BULK   43

Definition at line 127 of file cspublic.h.

◆ CS_PROTO_DYNAMIC

#define CS_PROTO_DYNAMIC   47

Definition at line 131 of file cspublic.h.

◆ CS_PROTO_DYNPROC

#define CS_PROTO_DYNPROC   48

Definition at line 132 of file cspublic.h.

◆ CS_PROTO_NOBULK

#define CS_PROTO_NOBULK   30

Definition at line 169 of file cspublic.h.

◆ CS_PROTO_NOTEXT

#define CS_PROTO_NOTEXT   29

Definition at line 168 of file cspublic.h.

◆ CS_PROTO_TEXT

#define CS_PROTO_TEXT   42

Definition at line 126 of file cspublic.h.

◆ CS_PUBLIC

#define CS_PUBLIC

Definition at line 37 of file cspublic.h.

◆ CS_QUIET

#define CS_QUIET   -3

Definition at line 44 of file cspublic.h.

◆ CS_READ_ONLY

#define CS_READ_ONLY   TDS_STATIC_CAST(CS_INT, 0x2)

Definition at line 339 of file cspublic.h.

◆ CS_REAL_TYPE

#define CS_REAL_TYPE   TDS_STATIC_CAST(CS_INT, 9)

Definition at line 589 of file cspublic.h.

◆ CS_REQ_BCP

#define CS_REQ_BCP   5

Definition at line 89 of file cspublic.h.

◆ CS_REQ_CURSOR

#define CS_REQ_CURSOR   6

Definition at line 90 of file cspublic.h.

◆ CS_REQ_DYN

#define CS_REQ_DYN   7

Definition at line 91 of file cspublic.h.

◆ CS_REQ_LANG

#define CS_REQ_LANG   1

Definition at line 85 of file cspublic.h.

◆ CS_REQ_MSG

#define CS_REQ_MSG   8

Definition at line 92 of file cspublic.h.

◆ CS_REQ_MSTMT

#define CS_REQ_MSTMT   4

Definition at line 88 of file cspublic.h.

◆ CS_REQ_NOTIF

#define CS_REQ_NOTIF   3

Definition at line 87 of file cspublic.h.

◆ CS_REQ_PARAM

#define CS_REQ_PARAM   9

Definition at line 93 of file cspublic.h.

◆ CS_REQ_RPC

#define CS_REQ_RPC   2

Definition at line 86 of file cspublic.h.

◆ CS_REQ_URGNOTIF

#define CS_REQ_URGNOTIF   44

Definition at line 128 of file cspublic.h.

◆ CS_RES_NOEED

#define CS_RES_NOEED   2

Definition at line 141 of file cspublic.h.

◆ CS_RES_NOMSG

#define CS_RES_NOMSG   1

Definition at line 140 of file cspublic.h.

◆ CS_RES_NOPARAM

#define CS_RES_NOPARAM   3

Definition at line 142 of file cspublic.h.

◆ CS_RES_NOSTRIPBLANKS

#define CS_RES_NOSTRIPBLANKS   34

Definition at line 173 of file cspublic.h.

◆ CS_RES_NOTDSDEBUG

#define CS_RES_NOTDSDEBUG   33

Definition at line 172 of file cspublic.h.

◆ CS_RESTORE_OPEN

#define CS_RESTORE_OPEN   TDS_STATIC_CAST(CS_INT, 0x8)

Definition at line 340 of file cspublic.h.

◆ CS_RET_HAFAILOVER

#define CS_RET_HAFAILOVER   -9

Definition at line 50 of file cspublic.h.

◆ CS_RETURN

#define CS_RETURN   (1 << 10)

Definition at line 309 of file cspublic.h.

◆ CS_ROW_COUNT

#define CS_ROW_COUNT   800

Definition at line 499 of file cspublic.h.

◆ CS_ROW_FAIL

#define CS_ROW_FAIL   -203

Definition at line 54 of file cspublic.h.

◆ CS_ROW_RESULT

#define CS_ROW_RESULT   4040

Definition at line 571 of file cspublic.h.

◆ CS_ROWFMT_RESULT

#define CS_ROWFMT_RESULT   4049

Definition at line 574 of file cspublic.h.

◆ CS_RPC_CMD

#define CS_RPC_CMD   149

Definition at line 456 of file cspublic.h.

◆ CS_SEC_APPDEFINED

#define CS_SEC_APPDEFINED   CS_SEC_APPDEFINED

Definition at line 248 of file cspublic.h.

◆ CS_SEC_CHALLENGE

#define CS_SEC_CHALLENGE   CS_SEC_CHALLENGE

Definition at line 238 of file cspublic.h.

◆ CS_SEC_DELEGATION

#define CS_SEC_DELEGATION   CS_SEC_DELEGATION

Definition at line 254 of file cspublic.h.

◆ CS_SEC_ENCRYPTION

#define CS_SEC_ENCRYPTION   CS_SEC_ENCRYPTION

Definition at line 236 of file cspublic.h.

◆ CS_SEC_MUTUALAUTH

#define CS_SEC_MUTUALAUTH   CS_SEC_MUTUALAUTH

Definition at line 256 of file cspublic.h.

◆ CS_SEC_NEGOTIATE

#define CS_SEC_NEGOTIATE   CS_SEC_NEGOTIATE

Definition at line 240 of file cspublic.h.

◆ CS_SEC_NETWORKAUTH

#define CS_SEC_NETWORKAUTH   CS_SEC_NETWORKAUTH

Definition at line 252 of file cspublic.h.

◆ CS_SEC_SERVERPRINCIPAL

#define CS_SEC_SERVERPRINCIPAL   CS_SEC_SERVERPRINCIPAL

Definition at line 258 of file cspublic.h.

◆ CS_SECSESSION_CB

#define CS_SECSESSION_CB   8

Definition at line 431 of file cspublic.h.

◆ CS_SEND_BULK_CMD

#define CS_SEND_BULK_CMD   153

Definition at line 458 of file cspublic.h.

◆ CS_SEND_DATA_CMD

#define CS_SEND_DATA_CMD   151

Definition at line 457 of file cspublic.h.

◆ CS_SENSITIVITY_TYPE

#define CS_SENSITIVITY_TYPE   TDS_STATIC_CAST(CS_INT, 21)

Definition at line 601 of file cspublic.h.

◆ CS_SERVERADDR

#define CS_SERVERADDR   CS_SERVERADDR

Definition at line 260 of file cspublic.h.

◆ CS_SERVERMSG_CB

#define CS_SERVERMSG_CB   2

Definition at line 425 of file cspublic.h.

◆ CS_SERVERMSG_TYPE

#define CS_SERVERMSG_TYPE   4701

Definition at line 767 of file cspublic.h.

◆ CS_SERVERNAME

#define CS_SERVERNAME   CS_SERVERNAME

Definition at line 246 of file cspublic.h.

◆ CS_SET

#define CS_SET   34

Definition at line 443 of file cspublic.h.

◆ CS_SEVERITY

#define CS_SEVERITY (   x)    (((x) >> 8) & 0xFF)

Definition at line 65 of file cspublic.h.

◆ CS_SHORTMONTH

#define CS_SHORTMONTH   CS_SHORTMONTH

Definition at line 632 of file cspublic.h.

◆ CS_SIGNAL_CB

#define CS_SIGNAL_CB   100

Definition at line 432 of file cspublic.h.

◆ CS_SIZEOF

#define CS_SIZEOF (   x)    sizeof(x)

Definition at line 61 of file cspublic.h.

◆ CS_SMALLINT_TYPE

#define CS_SMALLINT_TYPE   TDS_STATIC_CAST(CS_INT, 7)

Definition at line 587 of file cspublic.h.

◆ CS_SRC_VALUE

#define CS_SRC_VALUE   -2562

Definition at line 75 of file cspublic.h.

◆ CS_STATIC

#define CS_STATIC   static

Definition at line 38 of file cspublic.h.

◆ CS_STATUS

#define CS_STATUS   37

Definition at line 446 of file cspublic.h.

◆ CS_STATUS_RESULT

#define CS_STATUS_RESULT   4043

Definition at line 572 of file cspublic.h.

◆ CS_STICKY_BINDS

#define CS_STICKY_BINDS   CS_STICKY_BINDS

Definition at line 250 of file cspublic.h.

◆ CS_SUCCEED

#define CS_SUCCEED   1

Definition at line 40 of file cspublic.h.

◆ CS_SUPPORTED

#define CS_SUPPORTED   40

Definition at line 448 of file cspublic.h.

◆ CS_SV_API_FAIL

#define CS_SV_API_FAIL   TDS_STATIC_CAST(CS_INT, 1)

Definition at line 559 of file cspublic.h.

◆ CS_SV_COMM_FAIL

#define CS_SV_COMM_FAIL   TDS_STATIC_CAST(CS_INT, 5)

Definition at line 563 of file cspublic.h.

◆ CS_SV_CONFIG_FAIL

#define CS_SV_CONFIG_FAIL   TDS_STATIC_CAST(CS_INT, 4)

Definition at line 562 of file cspublic.h.

◆ CS_SV_FATAL

#define CS_SV_FATAL   TDS_STATIC_CAST(CS_INT, 7)

Definition at line 565 of file cspublic.h.

◆ CS_SV_INFORM

#define CS_SV_INFORM   TDS_STATIC_CAST(CS_INT, 0)

Definition at line 558 of file cspublic.h.

◆ CS_SV_INTERNAL_FAIL

#define CS_SV_INTERNAL_FAIL   TDS_STATIC_CAST(CS_INT, 6)

Definition at line 564 of file cspublic.h.

◆ CS_SV_RESOURCE_FAIL

#define CS_SV_RESOURCE_FAIL   TDS_STATIC_CAST(CS_INT, 3)

Definition at line 561 of file cspublic.h.

◆ CS_SV_RETRY_FAIL

#define CS_SV_RETRY_FAIL   TDS_STATIC_CAST(CS_INT, 2)

Definition at line 560 of file cspublic.h.

◆ CS_SYB_CHARSET

#define CS_SYB_CHARSET   9

Definition at line 540 of file cspublic.h.

◆ CS_SYB_COLLATE

#define CS_SYB_COLLATE   CS_SYB_SORTORDER

Definition at line 542 of file cspublic.h.

◆ CS_SYB_LANG

#define CS_SYB_LANG   8

Definition at line 539 of file cspublic.h.

◆ CS_SYB_LANG_CHARSET

#define CS_SYB_LANG_CHARSET   11

Definition at line 543 of file cspublic.h.

◆ CS_SYB_SORTORDER

#define CS_SYB_SORTORDER   10

Definition at line 541 of file cspublic.h.

◆ CS_SYNC_IO

#define CS_SYNC_IO   8111

Definition at line 491 of file cspublic.h.

◆ CS_TDS_71

#define CS_TDS_71   CS_TDS_71

Definition at line 289 of file cspublic.h.

◆ CS_TDS_72

#define CS_TDS_72   CS_TDS_72

Definition at line 291 of file cspublic.h.

◆ CS_TDS_73

#define CS_TDS_73   CS_TDS_73

Definition at line 293 of file cspublic.h.

◆ CS_TDS_74

#define CS_TDS_74   CS_TDS_74

Definition at line 295 of file cspublic.h.

◆ CS_TDS_AUTO

#define CS_TDS_AUTO   CS_TDS_AUTO

Definition at line 280 of file cspublic.h.

◆ CS_TDS_VERSION

#define CS_TDS_VERSION   CS_TDS_VERSION

Definition at line 194 of file cspublic.h.

◆ CS_TEXT_TYPE

#define CS_TEXT_TYPE   TDS_STATIC_CAST(CS_INT, 4)

Definition at line 584 of file cspublic.h.

◆ CS_TEXTLIMIT

#define CS_TEXTLIMIT   CS_TEXTLIMIT

Definition at line 204 of file cspublic.h.

◆ CS_TIME_TYPE

#define CS_TIME_TYPE   TDS_STATIC_CAST(CS_INT, 28)

Definition at line 608 of file cspublic.h.

◆ CS_TIMED_OUT

#define CS_TIMED_OUT   -208

Definition at line 59 of file cspublic.h.

◆ CS_TIMEOUT

#define CS_TIMEOUT   CS_TIMEOUT

Definition at line 214 of file cspublic.h.

◆ CS_TIMESTAMP

#define CS_TIMESTAMP   (1 << 13)

Definition at line 310 of file cspublic.h.

◆ CS_TINYINT_TYPE

#define CS_TINYINT_TYPE   TDS_STATIC_CAST(CS_INT, 6)

Definition at line 586 of file cspublic.h.

◆ CS_TRAN_COMPLETED

#define CS_TRAN_COMPLETED   2

Definition at line 510 of file cspublic.h.

◆ CS_TRAN_FAIL

#define CS_TRAN_FAIL   3

Definition at line 511 of file cspublic.h.

◆ CS_TRAN_IN_PROGRESS

#define CS_TRAN_IN_PROGRESS   1

Definition at line 509 of file cspublic.h.

◆ CS_TRAN_STMT_FAIL

#define CS_TRAN_STMT_FAIL   4

Definition at line 512 of file cspublic.h.

◆ CS_TRAN_UNDEFINED

#define CS_TRAN_UNDEFINED   0

Definition at line 508 of file cspublic.h.

◆ CS_TRANS_STATE

#define CS_TRANS_STATE   808

Definition at line 506 of file cspublic.h.

◆ CS_TRUE

#define CS_TRUE   1

Definition at line 761 of file cspublic.h.

◆ CS_UBIGINT_TYPE

#define CS_UBIGINT_TYPE   TDS_STATIC_CAST(CS_INT, 33)

Definition at line 613 of file cspublic.h.

◆ CS_UINT_TYPE

#define CS_UINT_TYPE   TDS_STATIC_CAST(CS_INT, 32)

Definition at line 612 of file cspublic.h.

◆ CS_UNICHAR_TYPE

#define CS_UNICHAR_TYPE   TDS_STATIC_CAST(CS_INT, 25)

Definition at line 605 of file cspublic.h.

◆ CS_UNIQUE_TYPE

#define CS_UNIQUE_TYPE   TDS_STATIC_CAST(CS_INT, 40)

Definition at line 617 of file cspublic.h.

◆ CS_UNITEXT_TYPE

#define CS_UNITEXT_TYPE   TDS_STATIC_CAST(CS_INT, 29)

Definition at line 609 of file cspublic.h.

◆ CS_UNSUPPORTED

#define CS_UNSUPPORTED   -10

Definition at line 51 of file cspublic.h.

◆ CS_UNUSED

#define CS_UNUSED   -99999

Definition at line 439 of file cspublic.h.

◆ CS_UPDATABLE

#define CS_UPDATABLE   (1 << 4)

Definition at line 303 of file cspublic.h.

◆ CS_UPDATECOL

#define CS_UPDATECOL   (1 << 9)

Definition at line 308 of file cspublic.h.

◆ CS_USER_TYPE

#define CS_USER_TYPE   TDS_STATIC_CAST(CS_INT, 100)

Definition at line 625 of file cspublic.h.

◆ CS_USERDATA

#define CS_USERDATA   CS_USERDATA

Definition at line 200 of file cspublic.h.

◆ CS_USERNAME

#define CS_USERNAME   CS_USERNAME

Definition at line 184 of file cspublic.h.

◆ CS_USHORT_TYPE

#define CS_USHORT_TYPE   TDS_STATIC_CAST(CS_INT, 24)

Definition at line 604 of file cspublic.h.

◆ CS_USMALLINT_TYPE

#define CS_USMALLINT_TYPE   TDS_STATIC_CAST(CS_INT, 31)

Definition at line 611 of file cspublic.h.

◆ CS_VARBINARY_TYPE

#define CS_VARBINARY_TYPE   TDS_STATIC_CAST(CS_INT, 19)

Definition at line 599 of file cspublic.h.

◆ CS_VARCHAR_TYPE

#define CS_VARCHAR_TYPE   TDS_STATIC_CAST(CS_INT, 18)

Definition at line 598 of file cspublic.h.

◆ CS_VER_STRING

#define CS_VER_STRING   CS_VER_STRING

Definition at line 244 of file cspublic.h.

◆ CS_VERSION

#define CS_VERSION   CS_VERSION

Definition at line 208 of file cspublic.h.

◆ CS_VERSION_100

#define CS_VERSION_100   113

Definition at line 467 of file cspublic.h.

◆ CS_VERSION_110

#define CS_VERSION_110   1101

Definition at line 468 of file cspublic.h.

◆ CS_VERSION_120

#define CS_VERSION_120   CS_VERSION_110

Definition at line 469 of file cspublic.h.

◆ CS_VERSION_125

#define CS_VERSION_125   12501

Definition at line 470 of file cspublic.h.

◆ CS_VERSION_150

#define CS_VERSION_150   15001

Definition at line 471 of file cspublic.h.

◆ CS_VERSION_155

#define CS_VERSION_155   15501

Definition at line 472 of file cspublic.h.

◆ CS_VERSION_157

#define CS_VERSION_157   15701

Definition at line 473 of file cspublic.h.

◆ CS_VERSION_160

#define CS_VERSION_160   16001

Definition at line 474 of file cspublic.h.

◆ CS_VERSION_KEY

#define CS_VERSION_KEY   (1 << 2)

Definition at line 301 of file cspublic.h.

◆ CS_VOID_TYPE

#define CS_VOID_TYPE   TDS_STATIC_CAST(CS_INT, 23)

Definition at line 603 of file cspublic.h.

◆ CS_WILDCARD

#define CS_WILDCARD   -99

Definition at line 437 of file cspublic.h.

◆ CS_XML_TYPE

#define CS_XML_TYPE   TDS_STATIC_CAST(CS_INT, 34)

Definition at line 614 of file cspublic.h.

◆ SRV_PROC

#define SRV_PROC   CS_VOID

Definition at line 763 of file cspublic.h.

◆ TDS_STATIC_CAST

#define TDS_STATIC_CAST (   type,
  a 
)    ((type)(a))

Definition at line 34 of file cspublic.h.

Typedef Documentation

◆ CS_BLKDESC

typedef struct _cs_blkdesc CS_BLKDESC

Definition at line 71 of file cspublic.h.

◆ CS_CLIENTMSG_FUNC

typedef CS_RETCODE(* CS_CLIENTMSG_FUNC) (CS_CONTEXT *, CS_CONNECTION *, CS_CLIENTMSG *)

Definition at line 70 of file cspublic.h.

◆ CS_CONV_FUNC

typedef CS_RETCODE(* CS_CONV_FUNC) (CS_CONTEXT *context, CS_DATAFMT *srcfmt, CS_VOID *src, CS_DATAFMT *detsfmt, CS_VOID *dest, CS_INT *destlen)

Definition at line 700 of file cspublic.h.

◆ CS_CSLIBMSG_FUNC

typedef CS_RETCODE(* CS_CSLIBMSG_FUNC) (CS_CONTEXT *, CS_CLIENTMSG *)

Definition at line 69 of file cspublic.h.

◆ CS_OBJDATA

typedef struct _cs_objdata CS_OBJDATA

◆ CS_OBJNAME

typedef struct _cs_objname CS_OBJNAME

◆ CS_SERVERMSG_FUNC

typedef CS_RETCODE(* CS_SERVERMSG_FUNC) (CS_CONTEXT *, CS_CONNECTION *, CS_SERVERMSG *)

Definition at line 71 of file cspublic.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CS_USERNAME 
CS_USERNAME 
CS_PASSWORD 
CS_PASSWORD 
CS_APPNAME 
CS_APPNAME 
CS_HOSTNAME 
CS_HOSTNAME 
CS_LOGIN_STATUS 
CS_LOGIN_STATUS 
CS_TDS_VERSION 
CS_TDS_VERSION 
CS_CHARSETCNV 
CS_CHARSETCNV 
CS_PACKETSIZE 
CS_PACKETSIZE 
CS_USERDATA 
CS_USERDATA 
CS_NETIO 
CS_NETIO 
CS_TEXTLIMIT 
CS_TEXTLIMIT 
CS_HIDDEN_KEYS 
CS_HIDDEN_KEYS 
CS_VERSION 
CS_VERSION 
CS_IFILE 
CS_IFILE 
CS_LOGIN_TIMEOUT 
CS_LOGIN_TIMEOUT 
CS_TIMEOUT 
CS_TIMEOUT 
CS_MAX_CONNECT 
CS_MAX_CONNECT 
CS_EXPOSE_FMTS 
CS_EXPOSE_FMTS 
CS_EXTRA_INF 
CS_EXTRA_INF 
CS_ANSI_BINDS 
CS_ANSI_BINDS 
CS_BULK_LOGIN 
CS_BULK_LOGIN 
CS_LOC_PROP 
CS_LOC_PROP 
CS_PARENT_HANDLE 
CS_PARENT_HANDLE 
CS_EED_CMD 
CS_EED_CMD 
CS_DIAG_TIMEOUT 
CS_DIAG_TIMEOUT 
CS_DISABLE_POLL 
CS_DISABLE_POLL 
CS_SEC_ENCRYPTION 
CS_SEC_ENCRYPTION 
CS_SEC_CHALLENGE 
CS_SEC_CHALLENGE 
CS_SEC_NEGOTIATE 
CS_SEC_NEGOTIATE 
CS_CON_STATUS 
CS_CON_STATUS 
CS_VER_STRING 
CS_VER_STRING 
CS_SERVERNAME 
CS_SERVERNAME 
CS_SEC_APPDEFINED 
CS_SEC_APPDEFINED 
CS_STICKY_BINDS 
CS_STICKY_BINDS 
CS_SEC_NETWORKAUTH 
CS_SEC_NETWORKAUTH 
CS_SEC_DELEGATION 
CS_SEC_DELEGATION 
CS_SEC_MUTUALAUTH 
CS_SEC_MUTUALAUTH 
CS_SEC_SERVERPRINCIPAL 
CS_SEC_SERVERPRINCIPAL 
CS_SERVERADDR 
CS_SERVERADDR 
CS_PORT 
CS_PORT 
CS_CLIENTCHARSET 
CS_CLIENTCHARSET 
CS_DATABASE 

Definition at line 177 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_ADD 
CS_SUB 
CS_MULT 
CS_DIV 

Definition at line 270 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_TDS_AUTO 
CS_TDS_AUTO 
CS_TDS_40 
CS_TDS_42 
CS_TDS_46 
CS_TDS_495 
CS_TDS_50 
CS_TDS_70 
CS_TDS_71 
CS_TDS_71 
CS_TDS_72 
CS_TDS_72 
CS_TDS_73 
CS_TDS_73 
CS_TDS_74 
CS_TDS_74 

Definition at line 278 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_FMT_UNUSED 
CS_FMT_UNUSED 
CS_FMT_NULLTERM 
CS_FMT_NULLTERM 
CS_FMT_PADNULL 
CS_FMT_PADBLANK 
CS_FMT_PADBLANK 
CS_FMT_PADNULL 
CS_FMT_JUSTIFY_RT 

Definition at line 409 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_MONTH 
CS_MONTH 
CS_SHORTMONTH 
CS_SHORTMONTH 
CS_DAYNAME 
CS_DAYNAME 
CS_DATEORDER 
CS_DATEORDER 
CS_12HOUR 
CS_12HOUR 

Definition at line 627 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_DATES_SHORT 
CS_DATES_SHORT 
CS_DATES_MDY1 
CS_DATES_MDY1 
CS_DATES_YMD1 
CS_DATES_YMD1 
CS_DATES_DMY1 
CS_DATES_DMY1 
CS_DATES_DMY2 
CS_DATES_DMY2 
CS_DATES_DMY3 
CS_DATES_DMY3 
CS_DATES_DMY4 
CS_DATES_DMY4 
CS_DATES_MDY2 
CS_DATES_MDY2 
CS_DATES_HMS 
CS_DATES_HMS 
CS_DATES_LONG 
CS_DATES_LONG 
CS_DATES_MDY3 
CS_DATES_MDY3 
CS_DATES_YMD2 
CS_DATES_YMD2 
CS_DATES_YMD3 
CS_DATES_YMD3 
CS_DATES_YDM1 
CS_DATES_YDM1 
CS_DATES_MYD1 
CS_DATES_MYD1 
CS_DATES_DYM1 
CS_DATES_DYM1 
CS_DATES_MDY1_YYYY 
CS_DATES_MDY1_YYYY 
CS_DATES_YMD1_YYYY 
CS_DATES_YMD1_YYYY 
CS_DATES_DMY1_YYYY 
CS_DATES_DMY1_YYYY 
CS_DATES_DMY2_YYYY 
CS_DATES_DMY2_YYYY 
CS_DATES_DMY3_YYYY 
CS_DATES_DMY3_YYYY 
CS_DATES_DMY4_YYYY 
CS_DATES_DMY4_YYYY 
CS_DATES_MDY2_YYYY 
CS_DATES_MDY2_YYYY 
CS_DATES_MDY3_YYYY 
CS_DATES_MDY3_YYYY 
CS_DATES_YMD2_YYYY 
CS_DATES_YMD2_YYYY 

Definition at line 644 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_OPT_MONDAY 
CS_OPT_TUESDAY 
CS_OPT_WEDNESDAY 
CS_OPT_THURSDAY 
CS_OPT_FRIDAY 
CS_OPT_SATURDAY 
CS_OPT_SUNDAY 

Definition at line 733 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_OPT_FMTMDY 
CS_OPT_FMTDMY 
CS_OPT_FMTYMD 
CS_OPT_FMTYDM 
CS_OPT_FMTMYD 
CS_OPT_FMTDYM 

Definition at line 743 of file cspublic.h.

◆ anonymous enum

anonymous enum
Enumerator
CS_OPT_LEVEL0 
CS_OPT_LEVEL1 
CS_OPT_LEVEL2 
CS_OPT_LEVEL3 

Definition at line 752 of file cspublic.h.

◆ ct_command_options

Enumerator
CS_MORE 
CS_END 
CS_RECOMPILE 
CS_NO_RECOMPILE 
CS_BULK_INIT 
CS_BULK_CONT 
CS_BULK_DATA 
CS_COLUMN_DATA 
CS_MORE 
CS_END 
CS_RECOMPILE 
CS_NO_RECOMPILE 
CS_BULK_INIT 
CS_BULK_CONT 
CS_BULK_DATA 
CS_COLUMN_DATA 

Definition at line 392 of file cspublic.h.

Function Documentation

◆ cs_calc()

CS_RETCODE cs_calc ( CS_CONTEXT ctx,
CS_INT  op,
CS_INT  datatype,
CS_VOID var1,
CS_VOID var2,
CS_VOID dest 
)

Definition at line 1235 of file cs.c.

References CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_cmp()

CS_RETCODE cs_cmp ( CS_CONTEXT ctx,
CS_INT  datatype,
CS_VOID var1,
CS_VOID var2,
CS_INT result 
)

Definition at line 1245 of file cs.c.

References CS_FAIL, ctx, result, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_config()

CS_RETCODE cs_config ( CS_CONTEXT ctx,
CS_INT  action,
CS_INT  property,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen 
)

◆ cs_conv_mult()

CS_RETCODE cs_conv_mult ( CS_CONTEXT ctx,
CS_LOCALE srcloc,
CS_LOCALE destloc,
CS_INT conv_multiplier 
)

Definition at line 1255 of file cs.c.

References CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_convert()

CS_RETCODE cs_convert ( CS_CONTEXT ctx,
CS_DATAFMT srcfmt,
CS_VOID srcdata,
CS_DATAFMT destfmt,
CS_VOID destdata,
CS_INT resultlen 
)

Definition at line 494 of file cs.c.

References _cs_convert(), _cs_convert_ex(), _ct_datafmt_common(), ctx, NULL, and TDS_INVALID_TYPE.

◆ cs_ctx_alloc()

CS_RETCODE cs_ctx_alloc ( CS_INT  version,
CS_CONTEXT **  ctx 
)

◆ cs_ctx_drop()

CS_RETCODE cs_ctx_drop ( CS_CONTEXT ctx)

◆ cs_ctx_global()

CS_RETCODE cs_ctx_global ( CS_INT  version,
CS_CONTEXT **  ctx 
)

Definition at line 367 of file cs.c.

References cs_ctx_alloc(), CS_FAIL, CS_SUCCEED, ctx, NULL, TDS_DBG_FUNC, tdsdump_log, and version.

◆ cs_diag()

CS_RETCODE cs_diag ( CS_CONTEXT ctx,
CS_INT  operation,
CS_INT  type,
CS_INT  idx,
CS_VOID buffer 
)

◆ cs_dt_crack()

CS_RETCODE cs_dt_crack ( CS_CONTEXT ctx,
CS_INT  datetype,
CS_VOID dateval,
CS_DATEREC daterec 
)

Definition at line 987 of file cs.c.

References CS_BIGDATETIME_TYPE, CS_BIGTIME_TYPE, cs_dt_crack_v2(), CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_dt_crack_v2()

CS_RETCODE cs_dt_crack_v2 ( CS_CONTEXT ctx,
CS_INT  datetype,
CS_VOID dateval,
CS_DATEREC daterec 
)

◆ cs_dt_info()

CS_RETCODE cs_dt_info ( CS_CONTEXT ctx,
CS_INT  action,
CS_LOCALE locale,
CS_INT  type,
CS_INT  item,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen 
)

Definition at line 1202 of file cs.c.

References buffer, CS_DT_CONVFMT, CS_SET, CS_SUCCEED, ctx, locale, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_loc_alloc()

CS_RETCODE cs_loc_alloc ( CS_CONTEXT ctx,
CS_LOCALE **  locptr 
)

Definition at line 997 of file cs.c.

References _cs_locale_alloc(), CS_FAIL, CS_SUCCEED, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_loc_drop()

CS_RETCODE cs_loc_drop ( CS_CONTEXT ctx,
CS_LOCALE locale 
)

Definition at line 1012 of file cs.c.

References _cs_locale_free(), CS_FAIL, CS_SUCCEED, ctx, locale, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_locale()

CS_RETCODE cs_locale ( CS_CONTEXT ctx,
CS_INT  action,
CS_LOCALE locale,
CS_INT  type,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen 
)

◆ cs_manage_convert()

CS_RETCODE cs_manage_convert ( CS_CONTEXT ctx,
CS_INT  action,
CS_INT  srctype,
CS_CHAR srcname,
CS_INT  srcnamelen,
CS_INT  desttype,
CS_CHAR destname,
CS_INT  destnamelen,
CS_INT conv_multiplier,
CS_CONV_FUNC func 
)

Definition at line 1323 of file cs.c.

References CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_objects()

CS_RETCODE cs_objects ( CS_CONTEXT ctx,
CS_INT  action,
CS_OBJNAME objname,
CS_OBJDATA objdata 
)

Definition at line 1335 of file cs.c.

References CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_prretcode()

const char* cs_prretcode ( int  retcode)

◆ cs_set_convert()

CS_RETCODE cs_set_convert ( CS_CONTEXT ctx,
CS_INT  action,
CS_INT  srctype,
CS_INT  desttype,
CS_CONV_FUNC func 
)

Definition at line 1345 of file cs.c.

References CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_setnull()

CS_RETCODE cs_setnull ( CS_CONTEXT ctx,
CS_DATAFMT datafmt,
CS_VOID buffer,
CS_INT  buflen 
)

Definition at line 1355 of file cs.c.

References buffer, CS_FAIL, ctx, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_strbuild()

CS_RETCODE cs_strbuild ( CS_CONTEXT ctx,
CS_CHAR buffer,
CS_INT  buflen,
CS_INT resultlen,
CS_CHAR text,
CS_INT  textlen,
CS_CHAR formats,
CS_INT  formatlen,
  ... 
)

Definition at line 1218 of file cs.c.

References buffer, CS_FAIL, CS_SUCCEED, ctx, TDS_DBG_FUNC, TDS_SUCCEED, tds_vstrbuild, tdsdump_log, and text().

◆ cs_strcmp()

CS_RETCODE cs_strcmp ( CS_CONTEXT ctx,
CS_LOCALE locale,
CS_INT  type,
CS_CHAR str1,
CS_INT  len1,
CS_CHAR str2,
CS_INT  len2,
CS_INT result 
)

Definition at line 1365 of file cs.c.

References CS_FAIL, ctx, locale, result, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_time()

CS_RETCODE cs_time ( CS_CONTEXT ctx,
CS_LOCALE locale,
CS_VOID buffer,
CS_INT  buflen,
CS_INT outlen,
CS_DATEREC daterec 
)

Definition at line 1377 of file cs.c.

References buffer, CS_FAIL, ctx, locale, TDS_DBG_FUNC, and tdsdump_log.

◆ cs_will_convert()

CS_RETCODE cs_will_convert ( CS_CONTEXT ctx,
CS_INT  srctype,
CS_INT  desttype,
CS_BOOL result 
)
Modified on Wed Jun 19 17:01:28 2024 by modify_doxy.py rev. 669887