summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-13 01:47:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-13 01:47:03 +0800
commita752a92e27ab75785c9c13fbf7e5fb47e0f06a02 (patch)
tree204beef0b9f3dd20ffd88135a3cf026f1aed5d5e /include
parentd45cf2b2910628b10aa71f68a5eb0fc88722e517 (diff)
downloadpttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar.gz
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar.bz2
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar.lz
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar.xz
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.tar.zst
pttbbs-a752a92e27ab75785c9c13fbf7e5fb47e0f06a02.zip
- isolate telnet protocol. moved from mbbsd.c
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h6
1 files changed, 4 insertions, 2 deletions
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);