MityDSP Documentation Index
Public Member Functions | Public Attributes
_tsTelnetdParams Struct Reference

#include <telnetd.h>

List of all members.

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

Detailed Description

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.

See also:
tcTelnetd::run

Constructor & Destructor Documentation

_tsTelnetdParams::_tsTelnetdParams ( void  )
inline

Member Data Documentation

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.


  
Generated on Mon Apr 22 2013 11:33:33 for MityDSP Net by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.