net/SocketAddress: light wrapper for struct sockaddr

This commit is contained in:
Max Kellermann
2015-02-10 20:30:10 +01:00
parent 42890b9acf
commit 4e30e74739
15 changed files with 201 additions and 67 deletions

View File

@@ -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.