From 306ae489376906fe06e7abcfa119aeba3cf1095c Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 5 Jan 2008 04:22:34 +0000 Subject: - 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 --- include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/proto.h') 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 */ -- cgit v1.2.3