diff options
author | Max Kellermann <max@duempel.org> | 2015-02-10 20:30:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-10 22:06:06 +0100 |
commit | 4e30e747390ac6bb6a6e5ededfbcdae937579393 (patch) | |
tree | beb2d9acd687a62d476e796114efd8ea6b2f69ad /src/client/Client.hxx | |
parent | 42890b9acf50c4406b61b3b37078c00ec79411fa (diff) | |
download | mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.tar.gz mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.tar.xz mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.zip |
net/SocketAddress: light wrapper for struct sockaddr
Diffstat (limited to 'src/client/Client.hxx')
-rw-r--r-- | src/client/Client.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx index ef7f4c406..bdfb1ef93 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -36,7 +36,7 @@ #include <stddef.h> #include <stdarg.h> -struct sockaddr; +class SocketAddress; class EventLoop; class Path; struct Partition; @@ -204,7 +204,7 @@ void client_manager_init(void); void client_new(EventLoop &loop, Partition &partition, - int fd, const sockaddr *sa, size_t sa_length, int uid); + int fd, SocketAddress address, int uid); /** * Write a C string to the client. |