summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2016-01-22 09:41:44 +0530
committerSusant Sahani <ssahani@gmail.com>2016-01-22 09:41:44 +0530
commit7b7afdfc072b14a4fa4dc195f50becaa7cecc5e8 (patch)
tree84621f6aee876e3f285d7085b1dbe1d161bcc29b /src/basic/socket-util.h
parente77435f2b09f4e9e7f2b12cc89273ef53910f3e7 (diff)
systemd-activate: Add support for datagram sockets
core: Add flexible way to provide socket type the socket type should be a diffrent argumet in make_socket_fd . In this way we can set the socket type like SOCK_STREAM SOCK_DGRAM in the address. journal-remote: modify make_socket_fd
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r--src/basic/socket-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h
index 6da1df68d8..799cde2151 100644
--- a/src/basic/socket-util.h
+++ b/src/basic/socket-util.h
@@ -89,7 +89,7 @@ int socket_address_listen(
mode_t directory_mode,
mode_t socket_mode,
const char *label);
-int make_socket_fd(int log_level, const char* address, int flags);
+int make_socket_fd(int log_level, const char* address, int type, int flags);
bool socket_address_is(const SocketAddress *a, const char *s, int type);
bool socket_address_is_netlink(const SocketAddress *a, const char *s);