#include <telnetd.h>
Public Member Functions | |
_tsTelnetdParams (void) | |
Public Attributes | |
tfTelnetConnect | connect_func |
tfTelnetChkUser | chk_user_func |
tfTelnetChkPswd | chk_pswd_func |
tfTelnetClose | close_func |
tfTelnetInChar | in_char_func |
tfTelnetHandleCmd | cmd_func |
tfTelnetHandleOption | opt_func |
tfTelnetHandleSubNeg | subneg_func |
void * | user1 |
This structure specifies the application callback functions which the telnet server will call during execution. You will also specify the tsTelnetConn::user1 parameter which you may access during callback function execution.
_tsTelnetdParams::_tsTelnetdParams | ( | void | ) | [inline] |
Application provided callback function which is called when a telnet connection is established.
Application provided callback function which (if provided) is called to verify a login user name.
Application provided callback function which (if provided) is called to verify a login password.
Application provided callback function which (if provided) is called when a telnet connection is closed.
Application provided callback function which is called when a character is received from the telnet client.
Application provided callback function for RFC854 command function (optional)
Application provided callback function which is called when a RFC854 client option command is received (optional)
Application provided callback function for RFC854 command function (optional)
void* _tsTelnetdParams::user1 |
Application provided parameter which is returned in the preceding callback functions. The telnet server does not use this parameter except to pass back to the application. Typically this will be used to reference back to a application class or structure.