summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-16 15:40:09 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-16 15:40:09 +0800
commit30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9 (patch)
tree6358cbe701ad84e47222830c7697a8361b365bab
parentb4096259775ac622ffb8b3d8b700c625f9d1a750 (diff)
downloadpttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar.gz
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar.bz2
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar.lz
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar.xz
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.tar.zst
pttbbs-30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9.zip
trip IAC char in user's nick
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index 3a96f45a..de28e802 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -288,6 +288,7 @@ int getdata_buf(int line, int col, char *prompt, char *buf, int len, int echo);
void add_io(int fd, int timeout);
void oflush(void);
int strip_ansi(char *buf, char *str, int mode);
+void strip_iac(unsigned *str, int maxlen);
int oldgetdata(int line, int col, char *prompt, char *buf, int len, int echo);
void output(char *s, int len);
int num_in_buf(void);