w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

utf7.h (716B)


      1 
      2 #ifndef _WC_UTF7_H
      3 #define _WC_UTF7_H
      4 
      5 #define WC_C_UTF7_PLUS	'+'
      6 #define WC_C_UTF7_MINUS	'-'
      7 
      8 #define WC_UTF7_MAP_SET_D	0x00
      9 #define WC_UTF7_MAP_SET_O	0x01
     10 #define WC_UTF7_MAP_SET_B	0x02
     11 #define WC_UTF7_MAP_C0		0x04
     12 #define WC_UTF7_MAP_C1		0x08
     13 #define WC_UTF7_MAP_BASE64	0x10
     14 #define WC_UTF7_MAP_PLUS	0x20
     15 #define WC_UTF7_MAP_MINUS	0x40
     16 
     17 #define WC_UTF7_NOSTATE		0
     18 #define WC_UTF7_PLUS		1
     19 #define WC_UTF7_BASE64		2
     20 
     21 extern wc_uint8 WC_UTF7_MAP[];
     22 
     23 extern Str       wc_conv_from_utf7(Str is, wc_ces ces);
     24 extern void      wc_push_to_utf7(Str os, wc_wchar_t cc, wc_status *st);
     25 extern void      wc_push_to_utf7_end(Str os, wc_status *st);
     26 extern Str       wc_char_conv_from_utf7(wc_uchar c, wc_status *st);
     27 
     28 #endif