#include <freetds/pushvis.h>
#include <freetds/popvis.h>
Go to the source code of this file.
Go to the SVN repository for this file.
|
unsigned char | tds_willconvert (int srctype, int desttype) |
| Test if a conversion is possible. More...
|
|
TDS_SERVER_TYPE | tds_get_null_type (TDS_SERVER_TYPE srctype) |
| Get same type but nullable. More...
|
|
ssize_t | tds_char2hex (TDS_CHAR *dest, size_t destlen, const TDS_CHAR *src, size_t srclen) |
|
TDS_INT | tds_convert (const TDSCONTEXT *context, int srctype, const TDS_CHAR *src, TDS_UINT srclen, int desttype, CONV_RESULT *cr) |
| tds_convert convert a type to another. More...
|
|
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. More...
|
|
◆ TDS_CONVERT_BINARY
#define TDS_CONVERT_BINARY 257 |
◆ TDS_CONVERT_CHAR
#define TDS_CONVERT_CHAR 256 |
◆ TDS_CONVERT_FAIL
#define TDS_CONVERT_FAIL -1 /* unspecified failure */ |
◆ TDS_CONVERT_NOAVAIL
#define TDS_CONVERT_NOAVAIL -2 /* conversion does not exist */ |
◆ TDS_CONVERT_NOMEM
#define TDS_CONVERT_NOMEM -4 /* insufficient memory */ |
◆ TDS_CONVERT_OVERFLOW
#define TDS_CONVERT_OVERFLOW -5 /* result too large */ |
◆ TDS_CONVERT_SYNTAX
#define TDS_CONVERT_SYNTAX -3 /* syntax error in source field */ |
◆ CONV_RESULT