diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/convert.h | 3 | ||||
-rw-r--r-- | include/proto.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/convert.h b/include/convert.h index 9ce0b75a..cafa08b7 100644 --- a/include/convert.h +++ b/include/convert.h @@ -6,6 +6,7 @@ #define CONV_GB 1 #define CONV_UTF8 2 -typedef ssize_t (* read_write_type)(int, void *, size_t); +typedef ssize_t (*read_write_type)(int, void *, size_t); +typedef ssize_t (*convert_type)(void *, ssize_t); #endif diff --git a/include/proto.h b/include/proto.h index d0544240..7daa496d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -359,6 +359,7 @@ 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); /* menu */ void showtitle(const char *title, const char *mid); |