diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-04 21:42:23 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-05 08:12:31 -0400 |
commit | 166cf510c2ba5aed15dcb807ec263ea2201dcb28 (patch) | |
tree | a29ab5ef366dc9bbc2601dae422215b3340d4e38 /src/core/socket.h | |
parent | 9a73653c3ed819c28a293a5df2da8bdac84dfdb1 (diff) |
core/socket: rework SocketPeer refcounting
Make functions and definitions that don't need to be shared local to
socket.c.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index edbe9df6b1..6a78fd322d 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -168,13 +168,6 @@ struct Socket { RateLimit trigger_limit; }; -struct SocketPeer { - unsigned n_ref; - - Socket *socket; - union sockaddr_union peer; -}; - SocketPeer *socket_peer_ref(SocketPeer *p); SocketPeer *socket_peer_unref(SocketPeer *p); |