diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-05-15 19:24:27 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-05-15 19:24:27 +0400 |
commit | a98d45a39312f28e9ec5ec5397f025f58a8d12c1 (patch) | |
tree | ebd63a339b9e796147b6a13b5d4dcdcb191da09e /src/Connection.h | |
parent | 9f7ef74e4a3ba022e0cb634d081f4cb460f64ead (diff) |
Faster quint64 based netaddress handling
Diffstat (limited to 'src/Connection.h')
-rw-r--r-- | src/Connection.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Connection.h b/src/Connection.h index 39a5c2dfc..9727cd5f8 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -35,29 +35,6 @@ #include "CryptState.h" #include "Mumble.pb.h" -struct HostAddress { - union { - Q_IPV6ADDR qip6; - quint32 hash[4]; - quint64 addr[2]; - }; - - HostAddress(); - HostAddress(const Q_IPV6ADDR &); - HostAddress(const std::string &); - HostAddress(const QHostAddress &); - - bool isV6() const; - - bool operator < (const HostAddress &) const; - bool operator == (const HostAddress &) const; - - std::string toStdString() const; - QHostAddress toAddress() const; -}; - -quint32 qHash(const HostAddress &); - class Connection : public QObject { private: Q_OBJECT |