#include <telnetd.h>
Public Member Functions | |
_tsTelnetdParams (void) |
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.
|
inline |
tfTelnetConnect _tsTelnetdParams::connect_func |
Application provided callback function which is called when a telnet connection is established.
tfTelnetChkUser _tsTelnetdParams::chk_user_func |
Application provided callback function which (if provided) is called to verify a login user name.
tfTelnetChkPswd _tsTelnetdParams::chk_pswd_func |
Application provided callback function which (if provided) is called to verify a login password.
tfTelnetClose _tsTelnetdParams::close_func |
Application provided callback function which (if provided) is called when a telnet connection is closed.
tfTelnetInChar _tsTelnetdParams::in_char_func |
Application provided callback function which is called when a character is received from the telnet client.
tfTelnetHandleCmd _tsTelnetdParams::cmd_func |
Application provided callback function for RFC854 command function (optional)
tfTelnetHandleOption _tsTelnetdParams::opt_func |
Application provided callback function which is called when a RFC854 client option command is received (optional)
tfTelnetHandleSubNeg _tsTelnetdParams::subneg_func |
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.