YAZ
5.34.0
|
UCS4 decoding and encoding. More...
Go to the source code of this file.
Functions | |
static unsigned long | read_UCS4 (yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read) |
static unsigned long | read_UCS4LE (yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read) |
static size_t | write_UCS4 (yaz_iconv_t cd, yaz_iconv_encoder_t en, unsigned long x, char **outbuf, size_t *outbytesleft) |
static size_t | write_UCS4LE (yaz_iconv_t cd, yaz_iconv_encoder_t en, unsigned long x, char **outbuf, size_t *outbytesleft) |
yaz_iconv_encoder_t | yaz_ucs4_encoder (const char *tocode, yaz_iconv_encoder_t e) |
yaz_iconv_decoder_t | yaz_ucs4_decoder (const char *tocode, yaz_iconv_decoder_t d) |
UCS4 decoding and encoding.
Definition in file ucs4.c.
|
static |
Definition at line 20 of file ucs4.c.
References YAZ_ICONV_EINVAL, and yaz_iconv_set_errno().
Referenced by yaz_ucs4_decoder().
|
static |
Definition at line 39 of file ucs4.c.
References YAZ_ICONV_EINVAL, and yaz_iconv_set_errno().
Referenced by yaz_ucs4_decoder().
|
static |
Definition at line 58 of file ucs4.c.
References YAZ_ICONV_E2BIG, and yaz_iconv_set_errno().
Referenced by yaz_ucs4_encoder().
|
static |
Definition at line 80 of file ucs4.c.
References YAZ_ICONV_E2BIG, and yaz_iconv_set_errno().
Referenced by yaz_ucs4_encoder().
yaz_iconv_decoder_t yaz_ucs4_decoder | ( | const char * | tocode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 116 of file ucs4.c.
References yaz_iconv_decoder_s::read_handle, read_UCS4(), read_UCS4LE(), and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_ucs4_encoder | ( | const char * | tocode, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 103 of file ucs4.c.
References yaz_iconv_encoder_s::write_handle, write_UCS4(), write_UCS4LE(), and yaz_matchstr().
Referenced by prepare_encoders().