|
|
| version 1.1.1.1, 2013/07/22 08:44:29 | version 1.1.1.2, 2016/11/01 09:56:12 |
|---|---|
| Line 31 | Line 31 |
| return(CMD_ERR_OTHER); \ | return(CMD_ERR_OTHER); \ |
| } while (0) | } while (0) |
| /* Global configuration options */ | |
| enum { | |
| CONSOLE_AUTH /* enable authentication */ | |
| }; | |
| /* Configuration options */ | /* Configuration options */ |
| enum { | enum { |
| CONSOLE_LOGGING /* enable logging */ | CONSOLE_LOGGING /* enable logging */ |
| Line 43 | Line 48 |
| SLIST_HEAD(, console_session) sessions; /* active sessions */ | SLIST_HEAD(, console_session) sessions; /* active sessions */ |
| EventRef event; /* connect-event */ | EventRef event; /* connect-event */ |
| pthread_rwlock_t lock; | pthread_rwlock_t lock; |
| struct optinfo options; /* Configured options */ | |
| }; | }; |
| typedef struct console *Console; | typedef struct console *Console; |