added flag for enabling debug messages, without debug messages only connection events are displayed
This commit is contained in:
parent
1001f3ad9c
commit
91becdad1c
3 changed files with 21 additions and 14 deletions
|
|
@ -41,6 +41,7 @@ struct tty_t {
|
|||
|
||||
|
||||
/* Global variables used throughout the application. */
|
||||
int debug_messages; /* if > 0 debug messages will be printed */
|
||||
struct server_t server; /* main server structure */
|
||||
struct client_t client; /* connected client structure */ //TODO working with only 1 client, this can be expanded into a list
|
||||
struct tty_t tty_dev; /* connected tty device */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue