X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=socket-util.h;h=7dd832eaca86d6a19f262e04d627c38c243012db;hp=bea3a8931b18e4adb44d6a2bf70eca6260758475;hb=dcc47b179fed0ae67b0481b2454aea03947e712c;hpb=542563babda739f7aee468c3eaaab6315ffa4224 diff --git a/socket-util.h b/socket-util.h index bea3a8931..7dd832eac 100644 --- a/socket-util.h +++ b/socket-util.h @@ -6,6 +6,7 @@ #include #include #include +#include #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 socket_address_listen(const SocketAddress *a, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, int *ret); #endif