YAZ  5.34.0
Data Structures | Functions
iconv_encode_wchar.c File Reference

WCHAR_T iconv encoding / decoding. More...

#include <assert.h>
#include <errno.h>
#include <string.h>
#include <yaz/xmalloc.h>
#include "iconv-p.h"

Go to the source code of this file.

Data Structures

struct  encoder_data
 

Functions

yaz_iconv_encoder_t yaz_wchar_encoder (const char *tocode, yaz_iconv_encoder_t e)
 
yaz_iconv_decoder_t yaz_wchar_decoder (const char *fromcode, yaz_iconv_decoder_t d)
 

Detailed Description

WCHAR_T iconv encoding / decoding.

Definition in file iconv_encode_wchar.c.

Function Documentation

◆ yaz_wchar_decoder()

yaz_iconv_decoder_t yaz_wchar_decoder ( const char *  fromcode,
yaz_iconv_decoder_t  d 
)

Definition at line 90 of file iconv_encode_wchar.c.

References yaz_iconv_decoder_s::read_handle, and yaz_matchstr().

Referenced by prepare_decoders().

◆ yaz_wchar_encoder()

yaz_iconv_encoder_t yaz_wchar_encoder ( const char *  tocode,
yaz_iconv_encoder_t  e 
)

Definition at line 53 of file iconv_encode_wchar.c.

References yaz_iconv_encoder_s::write_handle, and yaz_matchstr().

Referenced by prepare_encoders().