Lines Matching refs:cur_charset_t
197 charset_t cur_charset_t = max_charset_t+1;
207 if ( cur_charset_t >= MAX_CHARSETS ) {
215 conv_handles[cur_charset_t][CH_UCS2] = atalk_iconv_open( charset_name(CH_UCS2), name);
216 if (conv_handles[cur_charset_t][CH_UCS2] == (atalk_iconv_t)-1) {
219 conv_handles[cur_charset_t][CH_UCS2] = NULL;
223 conv_handles[CH_UCS2][cur_charset_t] = atalk_iconv_open( name, charset_name(CH_UCS2));
224 if (conv_handles[CH_UCS2][cur_charset_t] == (atalk_iconv_t)-1) {
227 conv_handles[CH_UCS2][cur_charset_t] = NULL;
232 charset_names[cur_charset_t] = strdup(name);
234 charsets[cur_charset_t] = get_charset_functions (cur_charset_t);
238 LOG(log_debug9, logtype_default, "Added charset %s with handle %u", name, cur_charset_t);
240 return (cur_charset_t);