diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-31 01:47:38 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-31 01:47:38 +0000 |
commit | 8fd23d4249be748356e591e0dd70ea82f70dcec5 (patch) | |
tree | ae37b1a560279a538737efe68e030630b134c76a /src/networkAddress.h | |
parent | refactoring (diff) |
moved to new handling if ifconfig parameters (more windows friendly)
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; |