diff options
Diffstat (limited to 'networkAddress.h')
-rw-r--r-- | networkAddress.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/networkAddress.h b/networkAddress.h index 371abf2..f20f018 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -49,11 +49,17 @@ class NetworkAddress { public: NetworkAddress(); + NetworkAddress(const NetworkAddress &); + NetworkAddress(in6_addr); + NetworkAddress(in_addr); + NetworkAddress(uint64_t); ~NetworkAddress(); void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); network_address_type_t getNetworkAddressType(); bool operator<(const NetworkAddress &s) const; + NetworkAddress operator&(const NetworkAddress &s) const; + NetworkAddress operator<<(uint8_t shift) const; private: Mutex mutex_; |