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
89TDS_INT tds_char2hex(TDS_CHAR *dest, TDS_UINT destlen,
const TDS_CHAR * src, TDS_UINT srclen);
101#include <freetds/popvis.h>
TDS_SERVER_TYPE tds_get_null_type(TDS_SERVER_TYPE srctype)
Get same type but nullable.
Definition convert.c:3008
unsigned char tds_willconvert(int srctype, int desttype)
Test if a conversion is possible.
Definition convert.c:3191
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:3075
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:1969
This structure is not directly connected to TDS protocol but keeps any DATE/TIME information.
Definition tds.h:145
Used by tds_datecrack.
Definition tds.h:158