From f0db6a4e4e6b3059c6553b819ac8788b62486103 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 4 Jan 2011 03:17:45 +0100 Subject: Added Doxyfile and documentation comments in various places. --- telnet_connection.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'telnet_connection.cpp') diff --git a/telnet_connection.cpp b/telnet_connection.cpp index 2cc723e..8d6675d 100644 --- a/telnet_connection.cpp +++ b/telnet_connection.cpp @@ -51,6 +51,9 @@ void telnet::Connection::handle_read(const boost::system::error_code& error, siz start(); } +/** Parse a given line and return a vector with its arguments. + * Arguments which are surrounded by "quotes" are interpreted as a single argument. + */ std::vector telnet::Connection::parse_args(std::string& line) { std::string::const_iterator begin = line.begin(); std::string::const_iterator end = line.end(); -- cgit v1.2.3