Varoious code improvements and bugfixes

This commit is contained in:
Luka Miljak 2014-01-10 09:18:45 +00:00
parent 6ec15f77c4
commit 1a729bd46a
4 changed files with 33 additions and 9 deletions

View file

@ -35,6 +35,7 @@ struct client_t {
struct tty_t {
int fd; /* tty file descriptor */
struct termios ttysetdef; /* default tty termios settings */
struct termios ttyset; /* tty termios settings */
char path[DEV_PATH]; /* tty device path */
char data[DATABUF_LEN]; /* buffer for data received from tty */