* Added non-const sockaddr casts.

* Automatic whitespace cleanup.
* This also fixes the build; I wanted to commit this earlier.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38237 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-08-18 15:41:33 +00:00
parent 3f918dc3fa
commit 28de0904dc
2 changed files with 38 additions and 16 deletions
+4 -1
View File
@@ -80,6 +80,7 @@ public:
uint16 Port() const;
size_t Length() const;
const sockaddr& SockAddr() const;
sockaddr& SockAddr();
bool IsEmpty() const;
bool IsWildcard() const;
@@ -93,7 +94,7 @@ public:
bool IsLinkLocal() const;
bool IsSiteLocal() const;
bool IsLocal() const;
ssize_t PrefixLength() const;
uint32 LinkLevelIndex() const;
@@ -125,6 +126,8 @@ public:
operator const sockaddr*() const;
operator const sockaddr&() const;
operator sockaddr*();
operator sockaddr&();
private:
sockaddr_storage fAddress;