summaryrefslogtreecommitdiffstats
path: root/include/convert.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-04-08 21:43:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-04-08 21:43:47 +0800
commite5371ff83e8481cb29f3b9dc1afcfbfa9178c06a (patch)
tree9d9aee81cb42ce7aab590706dc05f640f9ce6bca /include/convert.h
parent0666dd02983c5a7ad580a29d7d6deec1cbcd80b5 (diff)
downloadpttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar.gz
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar.bz2
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar.lz
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar.xz
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.tar.zst
pttbbs-e5371ff83e8481cb29f3b9dc1afcfbfa9178c06a.zip
"Bye-Bye Flying Horse" patch
- a robust and clean TELNET protocol implementation - fixed hz lib (autoconvert) utf8 buffer overflow exploit - enabled term resizing in runtime, and even AYT! - eliminated the flying-horse delay in connecting stage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/convert.h')
-rw-r--r--include/convert.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/convert.h b/include/convert.h
index 9ce0b75a..cafa08b7 100644
--- a/include/convert.h
+++ b/include/convert.h
@@ -6,6 +6,7 @@
#define CONV_GB 1
#define CONV_UTF8 2
-typedef ssize_t (* read_write_type)(int, void *, size_t);
+typedef ssize_t (*read_write_type)(int, void *, size_t);
+typedef ssize_t (*convert_type)(void *, ssize_t);
#endif