summaryrefslogtreecommitdiff
path: root/socket-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket-util.h')
-rw-r--r--socket-util.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/socket-util.h b/socket-util.h
index 0e73991ef5..62a48ac35a 100644
--- a/socket-util.h
+++ b/socket-util.h
@@ -58,6 +58,14 @@ 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, const char *bind_to_device, int *ret);
+
+int socket_address_listen(
+ const SocketAddress *a,
+ int backlog,
+ SocketAddressBindIPv6Only only,
+ const char *bind_to_device,
+ mode_t directory_mode,
+ mode_t socket_mode,
+ int *ret);
#endif