aboutsummaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2015-08-22 18:27:31 +0000
committerMike Buland <eichlan@xagasoft.com>2015-08-22 18:27:31 +0000
commit61165ba36ee0cbada8a97d075bdaaf13cb5c5a4a (patch)
treeab4e4a34193fdf3f0ab76ebce0b280a854410c74 /src/stable/protocoltelnet.h
parent13c4e8415e2f86e6dc389d6b53bd54aa1c50d8c2 (diff)
downloadlibbu++-61165ba36ee0cbada8a97d075bdaaf13cb5c5a4a.tar.gz
libbu++-61165ba36ee0cbada8a97d075bdaaf13cb5c5a4a.tar.bz2
libbu++-61165ba36ee0cbada8a97d075bdaaf13cb5c5a4a.tar.xz
libbu++-61165ba36ee0cbada8a97d075bdaaf13cb5c5a4a.zip
Added some handy functions to inject data back into the telnet buffer.
This is great if you want to pre-fill a field, say.
Diffstat (limited to 'src/stable/protocoltelnet.h')
-rw-r--r--src/stable/protocoltelnet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.h b/src/stable/protocoltelnet.h
index efc8889..23a2ee0 100644
--- a/src/stable/protocoltelnet.h
+++ b/src/stable/protocoltelnet.h
@@ -128,6 +128,8 @@ namespace Bu
128 void close(); 128 void close();
129 129
130 const Bu::String &getBuffer() { return sDataBuf; } 130 const Bu::String &getBuffer() { return sDataBuf; }
131 void setBuffer( const Bu::String &sNewBuffer );
132 void appendBuffer( const Bu::String &sNewData );
131 133
132 public: 134 public:
133 /** 135 /**