diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-08 19:15:39 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-08 19:15:39 +0800 |
commit | 71f79c7083cc15749079d7241ca46f186f304012 (patch) | |
tree | 8052a10f3dbd5061172d12ee8698d65f70ae60a2 /include/proto.h | |
parent | 524f96649436d3aa687c237a61c82cee5cf2e145 (diff) | |
download | pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.gz pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.bz2 pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.lz pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.xz pttbbs-71f79c7083cc15749079d7241ca46f186f304012.tar.zst pttbbs-71f79c7083cc15749079d7241ca46f186f304012.zip |
New DBCS aware: detecting and reversed default value
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index 4b969e08..2c9b060e 100644 --- a/include/proto.h +++ b/include/proto.h @@ -305,6 +305,7 @@ void set_converting_type(int which); /* io */ int getdata(int line, int col, const char *prompt, char *buf, int len, int echo); int igetch(void); +int wait_input(float f, int flDoRefresh); int getdata_str(int line, int col, const char *prompt, char *buf, int len, int echo, const char *defaultstr); int getdata_buf(int line, int col, const char *prompt, char *buf, int len, int echo); void add_io(int fd, int timeout); @@ -708,6 +709,11 @@ int u_cloak(void); int u_register(void); int u_list(void); +#if defined(DBCSAWARE_GETDATA) || defined(DBCSAWARE_EDIT) +# define DBCSAWARE +int u_detectDBCSAwareEvilClient(); +#endif + /* vote */ void b_suckinfile(FILE *fp, char *fname); int b_results(void); |