From 14500d43760661ffc3ffb67d929088c27fe46c64 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 1 Jan 2011 21:04:17 +0100 Subject: Implemented a simple 'ls' command for the telnet server. --- telnet_connection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'telnet_connection.h') 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 #include +#include +#include + 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 parse_args(std::string& line); tcp::socket socket; boost::asio::streambuf buf; -- cgit v1.2.3