From a752a92e27ab75785c9c13fbf7e5fb47e0f06a02 Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 12 Dec 2007 17:47:03 +0000 Subject: - isolate telnet protocol. moved from mbbsd.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index f62c1e7e..9a956b96 100644 --- a/include/proto.h +++ b/include/proto.h @@ -378,7 +378,6 @@ void talk_request(int sig); int reply_connection_request(const userinfo_t *uip); int establish_talk_connection(const userinfo_t *uip); void my_talk(userinfo_t * uin, int fri_stat, char defact); -ssize_t tty_read(unsigned char *buf, size_t max); int query_file_money(const fileheader_t *pfh); /* menu */ @@ -401,8 +400,11 @@ void m_sob_brd(char *bname,char *fromdir); /* old more */ int more(char *fpath, int promptend); -/* piaip's new pager */ +/* piaip's new pager, pmore.c */ int pmore(char *fpath, int promptend); +/* piaip's new telnet, telnet.c */ +void telnet_init(void); +ssize_t tty_read(unsigned char *buf, size_t max); /* name */ typedef int (*gnc_comp_func)(int, const char*, int); -- cgit v1.2.3