From a810729f9c6413f0b0fd61643f9ce5d3c2553d6d Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 6 Jun 2009 17:55:53 +0000 Subject: - extract telnet.c to cmsys git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3