conv.h 1.0 KB

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