Addition of admin user support

This commit is contained in:
Mark Riddoch
2013-07-18 10:31:16 +02:00
parent 5bfaea1447
commit e4f13c678e
7 changed files with 268 additions and 33 deletions

View File

@ -29,7 +29,11 @@
*
* @endverbatim
*/
#include <dcb.h>
/**
* The telnetd specific protocol structure to put in the DCB.
*/
typedef struct telnetd {
int state; /**< The connection state */
char *username; /**< The login name of the user */
@ -57,5 +61,4 @@ typedef struct telnetd {
#define TELNET_IAC 255
#define TELNET_ECHO 1
#define TELNET_SUPPRESS_GO_AHEAD 3
#endif