20 #ifndef _tdsguard_cXIvgxMqCzaBT7f54eQeMp_ 21 #define _tdsguard_cXIvgxMqCzaBT7f54eQeMp_ 23 #include <freetds/pushvis.h> 53 TDS_BIGDATETIME bigdatetime;
76 #define TDS_CONVERT_FAIL -1 77 #define TDS_CONVERT_NOAVAIL -2 78 #define TDS_CONVERT_SYNTAX -3 79 #define TDS_CONVERT_NOMEM -4 80 #define TDS_CONVERT_OVERFLOW -5 83 #define TDS_CONVERT_CHAR 256 84 #define TDS_CONVERT_BINARY 257 89 ptrdiff_t tds_char2hex(TDS_CHAR *dest,
size_t destlen,
const TDS_CHAR * src,
size_t srclen);
101 #include <freetds/popvis.h> This structure is not directly connected to TDS protocol but keeps any DATE/TIME information.
Definition: tds.h:144
unsigned char tds_willconvert(int srctype, int desttype)
Test if a conversion is possible.
Definition: convert.c:3195
TDS_INT tds_convert(const TDSCONTEXT *context, int srctype, const void *src, TDS_UINT srclen, int desttype, CONV_RESULT *cr)
tds_convert convert a type to another.
Definition: convert.c:1971
size_t tds_strftime(char *buf, size_t maxsize, const char *format, const TDSDATEREC *timeptr, int prec)
format a date string according to an "extended" strftime(3) formatting definition.
Definition: convert.c:3079
TDS_SERVER_TYPE tds_get_null_type(TDS_SERVER_TYPE srctype)
Get same type but nullable.
Definition: convert.c:3012
Used by tds_datecrack.
Definition: tds.h:157