summaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-08-04 23:42:27 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-08-05 08:16:31 -0400
commit3ebcd323bdeeb55bb963fe5e9d97a87f96fd8879 (patch)
treefa14531616d71cbd574b5914bcf79a38eb849596 /src/core/socket.h
parent9dfb64f87da718284f5c840ac6176dccbfd7dc3e (diff)
systemd: do not serialize peer, bump count when deserializing socket instead
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 6a78fd322d..89f4664510 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -170,6 +170,7 @@ struct Socket {
SocketPeer *socket_peer_ref(SocketPeer *p);
SocketPeer *socket_peer_unref(SocketPeer *p);
+int socket_acquire_peer(Socket *s, int fd, SocketPeer **p);
DEFINE_TRIVIAL_CLEANUP_FUNC(SocketPeer*, socket_peer_unref);