conv.h 941 B

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