NCBI C++ ToolKit
Functions | Variables
tds_types.h File Reference
+ 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.

Functions

int tds_get_size_by_type (TDS_SERVER_TYPE servertype)
 Return the number of bytes needed by specified type. More...
 
int tds_get_varint_size (TDSCONNECTION *conn, int datatype)
 tds_get_varint_size() returns the size of a variable length integer returned in a TDS 7.0 result string More...
 
TDS_SERVER_TYPE tds_get_conversion_type (TDS_SERVER_TYPE srctype, int colsize)
 Return type suitable for conversions (convert all nullable types to fixed type) More...
 

Variables

const unsigned char tds_type_flags_ms [256]
 

Function Documentation

◆ tds_get_conversion_type()

TDS_SERVER_TYPE tds_get_conversion_type ( TDS_SERVER_TYPE  srctype,
int  colsize 
)

Return type suitable for conversions (convert all nullable types to fixed type)

Parameters
srctypetype to convert
colsizesize of type
Returns
type for conversion

Definition at line 124 of file tds_types.h.

References SYB5INT8, SYBBIT, SYBBITN, SYBDATE, SYBDATEN, SYBDATETIME, SYBDATETIME4, SYBDATETIMN, SYBFLT8, SYBFLTN, SYBINT1, SYBINT2, SYBINT4, SYBINT8, SYBINTN, SYBMONEY, SYBMONEY4, SYBMONEYN, SYBREAL, SYBTIME, SYBTIMEN, SYBUINT1, SYBUINT2, SYBUINT4, SYBUINT8, and SYBUINTN.

◆ tds_get_size_by_type()

int tds_get_size_by_type ( TDS_SERVER_TYPE  servertype)

◆ tds_get_varint_size()

int tds_get_varint_size ( TDSCONNECTION conn,
int  datatype 
)

Variable Documentation

◆ tds_type_flags_ms

const unsigned char tds_type_flags_ms[256]

Definition at line 189 of file tds_types.h.

Modified on Thu Jun 13 17:32:50 2024 by modify_doxy.py rev. 669887