diff options
Diffstat (limited to 'src/networkAddress.h')
-rw-r--r-- | src/networkAddress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/networkAddress.h b/src/networkAddress.h index 7510eb1..d683b4c 100644 --- a/src/networkAddress.h +++ b/src/networkAddress.h @@ -64,6 +64,9 @@ public: NetworkAddress(const network_address_type_t type, const std::string & address ); ~NetworkAddress(); void setNetworkAddress(const network_address_type_t type, const std::string & address ); + void setNetworkAddress(boost::asio::ip::address_v4); + void setNetworkAddress(boost::asio::ip::address_v6); + void setNetworkAddress(u_int64_t); network_address_type_t getNetworkAddressType() const; std::string toString() const; bool operator<(const NetworkAddress &s) const; |