13 #define BufferSize 16384
29 char in_buffer[BufferSize];
30 char out_buffer[BufferSize];
35 extern bool io_is_ok (const io_t * io);
37 extern void io_init (io_t * io);
38 extern void io_close (io_t * io);
40 extern void io_get_update (io_t * io);
42 extern bool io_peek (io_t * io);
44 extern bool io_line_ready (const io_t * io);
45 extern bool io_get_line (io_t * io, char string[], int size);
47 extern void io_send (io_t * io, const char format[], ...);
48 extern void io_send_queue (io_t * io, const char format[], ...);
50 #endif // !defined IO_H