aboutsummaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/protocoltelnet.h')
-rw-r--r--src/stable/protocoltelnet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.h b/src/stable/protocoltelnet.h
index 9686974..a620a02 100644
--- a/src/stable/protocoltelnet.h
+++ b/src/stable/protocoltelnet.h
@@ -117,6 +117,9 @@ namespace Bu
117 void setCanonical( bool bCon=true ); 117 void setCanonical( bool bCon=true );
118 bool isCanonical(); 118 bool isCanonical();
119 119
120 void setEcho( bool bOpt=true );
121 bool isEchoEnabled();
122
120 void write( const Bu::String &sData ); 123 void write( const Bu::String &sData );
121 void write( const char *pData, int iSize ); 124 void write( const char *pData, int iSize );
122 void write( char cData ); 125 void write( char cData );
@@ -213,6 +216,7 @@ namespace Bu
213 char cSubOpt; /**< Which suboption are we processing. */ 216 char cSubOpt; /**< Which suboption are we processing. */
214 217
215 bool bCanonical; /**< Are we canonicalizing incoming data? */ 218 bool bCanonical; /**< Are we canonicalizing incoming data? */
219 bool bEcho; /**< Should chars be echoed? */
216 bool bSubOpt; /**< Are we processing a suboption right now? */ 220 bool bSubOpt; /**< Are we processing a suboption right now? */
217 }; 221 };
218} 222}