summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 01:55:53 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 01:55:53 +0800
commita810729f9c6413f0b0fd61643f9ce5d3c2553d6d (patch)
tree32e0e79f8fe4053e7d0089ea793f6e566f693319 /include
parentca8b35a1b996ba8cdecb9b231a112fc6509bcd98 (diff)
downloadpttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar.gz
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar.bz2
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar.lz
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar.xz
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.tar.zst
pttbbs-a810729f9c6413f0b0fd61643f9ce5d3c2553d6d.zip
- extract telnet.c to cmsys
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index b17086c9..793c6a11 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -420,8 +420,9 @@ int more(const char *fpath, int promptend);
/* piaip's new pager, pmore.c */
int pmore(const char *fpath, int promptend);
/* piaip's new telnet, telnet.c */
-void telnet_init(void);
-ssize_t tty_read(unsigned char *buf, size_t max);
+extern void telnet_init(void);
+extern ssize_t tty_read(unsigned char *buf, size_t max);
+extern void telnet_turnoff_client_detect(void);
/* name */
typedef int (*gnc_comp_func)(int, const char*, int);