diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-28 12:01:10 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-28 12:01:10 +0800 |
commit | 30edc2d47868e24f54a9505f7eb66c0a42c64b4d (patch) | |
tree | a6f58e9065121bf8b7f5451f8816dc3038ad46f2 /include/proto.h | |
parent | 93e11784d623e3d0e178f13bfe560ebad6ffbaf9 (diff) | |
download | pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar.gz pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar.bz2 pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar.lz pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar.xz pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.tar.zst pttbbs-30edc2d47868e24f54a9505f7eb66c0a42c64b4d.zip |
merge gb branch back
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index f551df57..63c146a2 100644 --- a/include/proto.h +++ b/include/proto.h @@ -277,7 +277,14 @@ int guess_main(); int x_dict(); int use_dict(char *dict,char *database); +/* convert */ +unsigned char *gb2big(unsigned char *s, int plen); +unsigned char *big2gb(unsigned char *s, int plen); + /* io */ +int converting_write(int fd, void *buf, size_t count); +int converting_read(int fd, void *buf, size_t count); +void set_converting_type(int which); int getdata(int line, int col, char *prompt, char *buf, int len, int echo); int igetch(); int getdata_str(int line, int col, char *prompt, char *buf, int len, int echo, char *defaultstr); |