diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-05 12:22:34 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-05 12:22:34 +0800 |
commit | 306ae489376906fe06e7abcfa119aeba3cf1095c (patch) | |
tree | 0c9abf8cb74894f18d205efd8ca76605aba12386 /include | |
parent | 17c4b2bd5db1169e22c9adca2d86559a1ed03f5c (diff) | |
download | pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar.gz pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar.bz2 pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar.lz pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar.xz pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.tar.zst pttbbs-306ae489376906fe06e7abcfa119aeba3cf1095c.zip |
- io: add more control API
- bbslua: enable system break
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index a5371e25..e796f81d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -333,6 +333,8 @@ void set_converting_type(int which); 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 peek_input(float f, int c); +void drop_input(void); 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); @@ -340,6 +342,7 @@ void oflush(void); int oldgetdata(int line, int col, const char *prompt, char *buf, int len, int echo); void output(const char *s, int len); int num_in_buf(void); +int input_isfull(); int ochar(int c); /* kaede */ |