summaryrefslogtreecommitdiff
path: root/telnet_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'telnet_connection.h')
-rw-r--r--telnet_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/telnet_connection.h b/telnet_connection.h
index 8ea3cad..68d652e 100644
--- a/telnet_connection.h
+++ b/telnet_connection.h
@@ -4,6 +4,9 @@
#include <boost/asio.hpp>
#include <boost/enable_shared_from_this.hpp>
+#include <vector>
+#include <string>
+
using boost::asio::ip::tcp;
namespace telnet {
@@ -13,6 +16,7 @@ namespace telnet {
private:
Connection(boost::asio::io_service& io_service);
void handle_read(const boost::system::error_code& error, size_t bytes_transferred);
+ std::vector<std::string> parse_args(std::string& line);
tcp::socket socket;
boost::asio::streambuf buf;