You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
499 B
C
23 lines
499 B
C
![]()
7 years ago
|
#ifndef WEBCC_UTILITY_H_
|
||
|
#define WEBCC_UTILITY_H_
|
||
![]()
8 years ago
|
|
||
![]()
7 years ago
|
#include <iosfwd>
|
||
|
#include <string>
|
||
|
|
||
![]()
8 years ago
|
#include "boost/asio/ip/tcp.hpp"
|
||
|
|
||
![]()
7 years ago
|
namespace webcc {
|
||
![]()
8 years ago
|
|
||
![]()
7 years ago
|
void PrintEndpoint(std::ostream& ostream,
|
||
|
const boost::asio::ip::tcp::endpoint& endpoint);
|
||
|
|
||
|
void PrintEndpoints(
|
||
|
std::ostream& ostream,
|
||
![]()
7 years ago
|
const boost::asio::ip::tcp::resolver::results_type& endpoints);
|
||
![]()
8 years ago
|
|
||
![]()
7 years ago
|
std::string EndpointToString(const boost::asio::ip::tcp::endpoint& endpoint);
|
||
|
|
||
![]()
7 years ago
|
} // namespace webcc
|
||
![]()
8 years ago
|
|
||
![]()
7 years ago
|
#endif // WEBCC_UTILITY_H_
|