mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
277 B
10 lines
277 B
3 years ago
|
#define LINEBUFSIZE 128
|
||
|
|
||
|
struct tty;
|
||
|
|
||
|
struct tty *tty_open (void);
|
||
|
void tty_wait_configured (struct tty *tty);
|
||
|
void tty_wait_connection (struct tty *tty);
|
||
|
int tty_send (struct tty *tty, const char *buf, int count);
|
||
|
int tty_recv (struct tty *tty, char *buf, uint32_t *timeout);
|