YAZ
5.34.0
|
Internal header for iconv. More...
Go to the source code of this file.
Data Structures | |
struct | yaz_iconv_encoder_s |
struct | yaz_iconv_decoder_s |
Typedefs | |
typedef struct yaz_iconv_encoder_s * | yaz_iconv_encoder_t |
typedef unsigned long | yaz_conv_func_t(unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, int boffset) |
typedef struct yaz_iconv_decoder_s * | yaz_iconv_decoder_t |
Internal header for iconv.
Definition in file iconv-p.h.
typedef unsigned long yaz_conv_func_t(unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, int boffset) |
typedef struct yaz_iconv_decoder_s* yaz_iconv_decoder_t |
typedef struct yaz_iconv_encoder_s* yaz_iconv_encoder_t |
yaz_iconv_decoder_t yaz_advancegreek_decoder | ( | const char * | name, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 387 of file advancegreek.c.
References name, read_advancegreek(), yaz_iconv_decoder_s::read_handle, and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_advancegreek_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 376 of file advancegreek.c.
References name, write_advancegreek(), yaz_iconv_encoder_s::write_handle, and yaz_matchstr().
Referenced by prepare_encoders().
yaz_iconv_decoder_t yaz_danmarc_decoder | ( | const char * | fromcode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 209 of file iconv_decode_danmarc.c.
References yaz_iconv_decoder_s::data, destroy_danmarc(), yaz_iconv_decoder_s::destroy_handle, init_danmarc(), yaz_iconv_decoder_s::init_handle, read_danmarc_comb(), yaz_iconv_decoder_s::read_handle, xmalloc, and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_danmarc_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 163 of file iconv_encode_danmarc.c.
References yaz_iconv_encoder_s::data, destroy_danmarc(), yaz_iconv_encoder_s::destroy_handle, encoder_data::dia, flush_danmarc(), yaz_iconv_encoder_s::flush_handle, init_danmarc(), yaz_iconv_encoder_s::init_handle, write_danmarc(), yaz_iconv_encoder_s::write_handle, xmalloc, and yaz_matchstr().
Referenced by prepare_encoders().
int yaz_danmarc_is_combining | ( | unsigned long | ch | ) |
Definition at line 227 of file iconv_decode_danmarc.c.
Referenced by read_danmarc_comb(), and write_danmarc().
unsigned long yaz_danmarc_swap_to_danmarc | ( | unsigned long | ch | ) |
Definition at line 146 of file iconv_decode_danmarc.c.
References swap_seq.
Referenced by flush_danmarc().
void yaz_iconv_set_errno | ( | yaz_iconv_t | cd, |
int | no | ||
) |
Definition at line 298 of file siconv.c.
References yaz_iconv_struct::my_errno.
Referenced by flush_combos(), flush_iso_8859_1(), init_utf8(), lookup_marc8(), read_advancegreek(), read_danmarc(), read_iso5426(), read_iso_5428_1984(), read_marc8(), read_UCS4(), read_UCS4LE(), read_useq(), read_utf8(), write1(), write_advancegreek(), write_iso_5428_1984(), write_iso_8859_1(), write_UCS4(), write_UCS4LE(), write_UTF8(), yaz_read_iso5426_comb(), yaz_read_marc8_comb(), yaz_write_marc8_2(), and yaz_write_marc8_page_chr().
yaz_iconv_decoder_t yaz_iso5426_decoder | ( | const char * | fromcode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 217 of file iconv_decode_iso5426.c.
References yaz_iconv_decoder_s::data, yaz_iconv_decoder_s::destroy_handle, destroy_iso5426(), yaz_iconv_decoder_s::init_handle, init_iso5426(), yaz_iconv_decoder_s::read_handle, read_iso5426(), xmalloc, and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_decoder_t yaz_iso_5428_decoder | ( | const char * | name, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 379 of file iso5428.c.
References name, yaz_iconv_decoder_s::read_handle, read_iso_5428_1984(), and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_iso_5428_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 367 of file iso5428.c.
References name, yaz_iconv_encoder_s::write_handle, write_iso_5428_1984(), and yaz_matchstr().
Referenced by prepare_encoders().
yaz_iconv_decoder_t yaz_iso_8859_1_decoder | ( | const char * | fromcode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 252 of file iconv_encode_iso_8859_1.c.
References yaz_iconv_decoder_s::read_handle, read_ISO8859_1(), and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_iso_8859_1_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 224 of file iconv_encode_iso_8859_1.c.
References yaz_iconv_encoder_s::data, yaz_iconv_encoder_s::destroy_handle, destroy_iso_8859_1(), yaz_iconv_encoder_s::flush_handle, flush_iso_8859_1(), yaz_iconv_encoder_s::init_handle, init_iso_8859_1(), yaz_iconv_encoder_s::write_handle, write_iso_8859_1(), xmalloc, and yaz_matchstr().
Referenced by prepare_encoders().
int yaz_iso_8859_1_lookup_x12 | ( | unsigned long | x1, |
unsigned long | x2, | ||
unsigned long * | y | ||
) |
Definition at line 119 of file iconv_encode_iso_8859_1.c.
References latin1_comb, x1, x2, and y.
Referenced by flush_danmarc(), and read_marc8s().
int yaz_iso_8859_1_lookup_y | ( | unsigned long | v, |
unsigned long * | x1, | ||
unsigned long * | x2 | ||
) |
Definition at line 100 of file iconv_encode_iso_8859_1.c.
References latin1_comb, x1, x2, and y.
Referenced by yaz_write_marc8_generic().
yaz_iconv_decoder_t yaz_marc8_decoder | ( | const char * | fromcode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 276 of file iconv_decode_marc8.c.
References yaz_iconv_decoder_s::data, yaz_iconv_decoder_s::destroy_handle, destroy_marc8(), yaz_iconv_decoder_s::init_handle, init_marc8(), init_marc8c(), yaz_iconv_decoder_s::read_handle, read_marc8(), read_marc8s(), xmalloc, and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_marc8_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 425 of file iconv_encode_marc8.c.
References yaz_iconv_encoder_s::data, yaz_iconv_encoder_s::destroy_handle, destroy_marc8(), yaz_iconv_encoder_s::flush_handle, flush_marc8(), yaz_iconv_encoder_s::init_handle, init_marc8(), yaz_iconv_encoder_s::write_handle, write_marc8_control(), write_marc8_lossless(), write_marc8_lossy(), write_marc8_normal(), xmalloc, and yaz_matchstr().
Referenced by prepare_encoders().
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 * | name, |
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().
yaz_iconv_decoder_t yaz_utf8_decoder | ( | const char * | fromcode, |
yaz_iconv_decoder_t | d | ||
) |
Definition at line 231 of file utf8.c.
References yaz_iconv_decoder_s::init_handle, init_utf8(), yaz_iconv_decoder_s::read_handle, read_utf8(), and yaz_matchstr().
Referenced by prepare_decoders().
yaz_iconv_encoder_t yaz_utf8_encoder | ( | const char * | name, |
yaz_iconv_encoder_t | e | ||
) |
Definition at line 219 of file utf8.c.
References yaz_iconv_encoder_s::write_handle, write_UTF8(), and yaz_matchstr().
Referenced by prepare_encoders().
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_iconv_encoder_t yaz_wchar_encoder | ( | const char * | name, |
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().