plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

conv.h (1048B)


      1 void jis_in(int fd, long *notused, struct convert *out);
      2 void jisjis_in(int fd, long *notused, struct convert *out);
      3 void msjis_in(int fd, long *notused, struct convert *out);
      4 void ujis_in(int fd, long *notused, struct convert *out);
      5 void jisjis_out(Rune *base, int n, long *notused);
      6 void ujis_out(Rune *base, int n, long *notused);
      7 void msjis_out(Rune *base, int n, long *notused);
      8 void big5_in(int fd, long *notused, struct convert *out);
      9 void big5_out(Rune *base, int n, long *notused);
     10 void gb_in(int fd, long *notused, struct convert *out);
     11 void gb_out(Rune *base, int n, long *notused);
     12 void uksc_in(int fd, long *notused, struct convert *out);
     13 void uksc_out(Rune *base, int n, long *notused);
     14 void html_in(int fd, long *notused, struct convert *out);
     15 void html_out(Rune *base, int n, long *notused);
     16 void tune_in(int fd, long *notused, struct convert *out);
     17 void tune_out(Rune *base, int n, long *notused);
     18 
     19 #define		emit(x)		*(*r)++ = (x)
     20 #define		NRUNE		65536
     21 
     22 extern long tab[];		/* common table indexed by Runes for reverse mappings */