conv.h 834 B

123456789101112131415161718
  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. #define emit(x) *(*r)++ = (x)
  15. #define NRUNE 65536
  16. extern long tab[]; /* common table indexed by Runes for reverse mappings */