|  | 
| static void | _iconv_close (iconv_t *cd) | 
|  | 
| static int | collate2charset (TDSCONNECTION *conn, TDS_UCHAR collate[5]) | 
|  | 
| static size_t | skip_one_input_sequence (iconv_t cd, const TDS_ENCODING *charset, const char **input, size_t *input_size) | 
|  | Move the input sequence pointer to the next valid position. 
 | 
|  | 
| void | tds7_srv_charset_changed (TDSCONNECTION *conn, TDS_UCHAR collation[5]) | 
|  | 
| int | tds_canonical_charset (const char *charset_name) | 
|  | Determine canonical iconv character set. 
 | 
|  | 
| const char * | tds_canonical_charset_name (const char *charset_name) | 
|  | Determine canonical iconv character set name. 
 | 
|  | 
| size_t | tds_iconv (TDSSOCKET *tds, TDSICONV *conv, TDS_ICONV_DIRECTION io, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) | 
|  | Wrapper around iconv(3). 
 | 
|  | 
| int | tds_iconv_alloc (TDSCONNECTION *conn) | 
|  | Allocate iconv stuff. 
 | 
|  | 
| void | tds_iconv_close (TDSCONNECTION *conn) | 
|  | 
| static void | tds_iconv_err (TDSSOCKET *tds, int err) | 
|  | 
| void | tds_iconv_free (TDSCONNECTION *conn) | 
|  | 
| TDSICONV * | tds_iconv_from_collate (TDSCONNECTION *conn, TDS_UCHAR collate[5]) | 
|  | Get iconv information from a LCID (to support different column encoding under MSSQL2K) 
 | 
|  | 
| TDSICONV * | tds_iconv_get (TDSCONNECTION *conn, const char *client_charset, const char *server_charset) | 
|  | 
| TDSICONV * | tds_iconv_get_info (TDSCONNECTION *conn, int canonic_client, int canonic_server) | 
|  | Get a iconv info structure, allocate and initialize if needed. 
 | 
|  | 
| static void | tds_iconv_info_close (TDSICONV *char_conv) | 
|  | 
| static int | tds_iconv_info_init (TDSICONV *char_conv, int client_canonical, int server_canonical) | 
|  | Open iconv descriptors to convert between character sets (both directions). 
 | 
|  | 
| static bool | tds_iconv_init (void) | 
|  | Initialize charset searching for UTF-8, UCS-2 and ISO8859-1. 
 | 
|  | 
| TDSRET | tds_iconv_open (TDSCONNECTION *conn, const char *charset, int use_utf16) | 
|  | 
| static void | tds_iconv_reset (TDSICONV *conv) | 
|  | 
| static const char * | tds_set_iconv_name (int charset) | 
|  | Get iconv name given canonic. 
 | 
|  | 
| void | tds_srv_charset_changed (TDSCONNECTION *conn, const char *charset) | 
|  | 
| static void | tds_srv_charset_changed_num (TDSCONNECTION *conn, int canonic_charset_num) | 
|  | 
Handle character conversions to/from server.