X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fsocket-util.h;fp=src%2Fshared%2Fsocket-util.h;h=0b9bf2fefc50df0d8c498d9d36e9367d4d181aaa;hp=e0b85adf9f94d6cd56b337722b2c141d36b97cde;hb=175a3d25d0e8596d4ba0759aea3f89ee228e7d6d;hpb=eceb8483e5a02e8e337486b89719a3b99cfcb7ce diff --git a/src/shared/socket-util.h b/src/shared/socket-util.h index e0b85adf9..0b9bf2fef 100644 --- a/src/shared/socket-util.h +++ b/src/shared/socket-util.h @@ -73,6 +73,7 @@ bool socket_address_can_accept(const SocketAddress *a) _pure_; int socket_address_listen( const SocketAddress *a, + int flags, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, @@ -80,16 +81,13 @@ int socket_address_listen( bool transparent, mode_t directory_mode, mode_t socket_mode, - const char *label, - int *ret); + const char *label); bool socket_address_is(const SocketAddress *a, const char *s, int type); bool socket_address_is_netlink(const SocketAddress *a, const char *s); bool socket_address_matches_fd(const SocketAddress *a, int fd); -int make_socket_fd(const char* address, int flags); - bool socket_address_equal(const SocketAddress *a, const SocketAddress *b) _pure_; const char* socket_address_get_path(const SocketAddress *a);