X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsocket-util.h;h=841570f002ffc826a0e4b48c7d23a8fcdc767c11;hp=993972c458380bdff080980f9be2c7bf18fea509;hb=ea4a240dc2e70adcb39704542b1422b1608e76e6;hpb=c0120d992ce5ab004d9be5ff6ca15e5fe17f9884 diff --git a/src/socket-util.h b/src/socket-util.h index 993972c45..841570f00 100644 --- a/src/socket-util.h +++ b/src/socket-util.h @@ -26,6 +26,7 @@ #include #include #include +#include #include "macro.h" #include "util.h" @@ -68,11 +69,13 @@ int socket_address_listen( int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, + bool free_bind, mode_t directory_mode, mode_t socket_mode, + security_context_t scon, int *ret); -bool socket_address_is(const SocketAddress *a, const char *s); +bool socket_address_is(const SocketAddress *a, const char *s, int type); bool socket_address_equal(const SocketAddress *a, const SocketAddress *b);