Various cleanup

Renamed device -> tty_device.

Removed hardcoded tty device name max length.

Updated README.
This commit is contained in:
Martin Lund 2014-09-30 16:05:38 +02:00
parent 9721f2436c
commit cc7f21e735
4 changed files with 9 additions and 9 deletions

View file

@ -25,11 +25,12 @@
#include <stdbool.h>
#include <limits.h>
#include <termios.h>
#include <sys/param.h>
/* Options */
struct option_t
{
char device[256];
char tty_device[MAXPATHLEN];
bool no_autoconnect;
struct termios tio;
};