summaryrefslogtreecommitdiff
path: root/socket-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
commitacbb02252a38214ecba3aa8a5c9b3669f9c9317e (patch)
tree6c1d40078a245cd4b94d46b00f273cd5b9514aeb /socket-util.h
parentb858b600e46f4a25ddc9fb980e5a73ca5aa2690f (diff)
yay, we can start socket units
Diffstat (limited to 'socket-util.h')
-rw-r--r--socket-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/socket-util.h b/socket-util.h
index 1f939ae2d5..7dd832eaca 100644
--- a/socket-util.h
+++ b/socket-util.h
@@ -6,6 +6,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
+#include <net/if.h>
#include "macro.h"
#include "util.h"
@@ -38,6 +39,6 @@ typedef enum SocketAddressBindIPv6Only {
int socket_address_parse(SocketAddress *a, const char *s);
int socket_address_print(const SocketAddress *a, char **p);
int socket_address_verify(const SocketAddress *a);
-int socket_address_listen(const SocketAddress *a, int backlog, SocketAddressBindIPv6Only only, int *ret);
+int socket_address_listen(const SocketAddress *a, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, int *ret);
#endif