44 # define EILSEQ ENOENT
51 #include <freetds/pushvis.h>
63 #define tds_sys_iconv_open iconv_open
64 #define tds_sys_iconv iconv
65 #define tds_sys_iconv_close iconv_close
95 #define TDS_ENCODING_MEMCPY 1
112 # define ICONV_CONST const
116 const char **
inbuf,
size_t * inbytesleft,
char **
outbuf,
size_t * outbytesleft);
124 #include <freetds/popvis.h>
static CS_CONNECTION * conn
struct tdsiconvdir TDSICONVDIR
struct _character_set_alias CHARACTER_SET_ALIAS
struct tds_errno_message_flags TDS_ERRNO_MESSAGE_FLAGS
const char * tds_canonical_charset_name(const char *charset_name)
Determine canonical iconv character set name.
size_t tds_sys_iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
size_t tds_iconv(TDSSOCKET *tds, TDSICONV *char_conv, TDS_ICONV_DIRECTION io, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
Wrapper around iconv(3).
iconv_t tds_sys_iconv_open(const char *tocode, const char *fromcode)
Inputs are FreeTDS canonical names, no other.
TDSICONV * tds_iconv_get(TDSCONNECTION *conn, const char *client_charset, const char *server_charset)
int tds_sys_iconv_close(iconv_t cd)
Information relevant to libiconv.
Information for a server connection.
struct tdsiconvdir to from
TDS_ERRNO_MESSAGE_FLAGS suppress
uchar outbuf[(1000000+1000000)]