Reorganize folder structure.

This commit is contained in:
Adam Gu
2018-07-06 13:59:16 +08:00
parent 3b13cc74f7
commit 88511caff6
82 changed files with 38 additions and 48 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef WEBCC_UTILITY_H_
#define WEBCC_UTILITY_H_
#include <iosfwd>
#include <string>
#include "boost/asio/ip/tcp.hpp"
namespace webcc {
void PrintEndpoint(std::ostream& ostream,
const boost::asio::ip::tcp::endpoint& endpoint);
void PrintEndpoints(
std::ostream& ostream,
const boost::asio::ip::tcp::resolver::results_type& endpoints);
std::string EndpointToString(const boost::asio::ip::tcp::endpoint& endpoint);
} // namespace webcc
#endif // WEBCC_UTILITY_H_