1 #ifndef __DFTPD__TELNET_HPP__
2 #define __DFTPD__TELNET_HPP__
5 #include "TelnetPtr.hpp"
6 #include "TelnetCommand.hpp"
10 enum { BufSize
= 1024 };
13 static TelnetPtr
Create( int sock
);
17 void Write( const std::string
& msg
);
21 void EraseCharacter();
27 // Owned by Session, not by Telnet
30 std::string m_readBuf
;
31 TelnetCommandPtr m_cmd
;