]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/tcs/conv.h
ip/ipconfig: use ewrite() to enable routing command for sendra
[plan9front.git] / sys / src / cmd / tcs / conv.h
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 gbk_in(int fd, long *notused, struct convert *out);
13 void gbk_out(Rune *base, int n, long *notused);
14 void uksc_in(int fd, long *notused, struct convert *out);
15 void uksc_out(Rune *base, int n, long *notused);
16 void html_in(int fd, long *notused, struct convert *out);
17 void html_out(Rune *base, int n, long *notused);
18 void tune_in(int fd, long *notused, struct convert *out);
19 void tune_out(Rune *base, int n, long *notused);
20
21 #define         emit(x)         *(*r)++ = (x)
22 #define         NRUNE           65536
23
24 extern long tab[];              /* common table indexed by Runes for reverse mappings */