1 /* -*- c-basic-offset:2; tab-width:2; indent-tabs-mode:nil -*- */ 2 3 #ifndef __EF_ISO2022_CONV_H__ 4 #define __EF_ISO2022_CONV_H__ 5 6 #include <pobl/bl_types.h> /* size_t */ 7 8 #include "ef_conv.h" 9 10 typedef struct ef_iso2022_conv { 11 ef_conv_t conv; 12 13 ef_charset_t *gl; 14 ef_charset_t *gr; 15 16 ef_charset_t g0; 17 ef_charset_t g1; 18 ef_charset_t g2; 19 ef_charset_t g3; 20 21 } ef_iso2022_conv_t; 22 23 size_t ef_iso2022_illegal_char(ef_conv_t *conv, u_char *dst, size_t dst_size, int *is_full, 24 ef_char_t *ch); 25 26 void ef_iso2022_remap_unsupported_charset(ef_char_t *ch); 27 28 #endif 29