summaryrefslogtreecommitdiff
path: root/pflocal/sock.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-17 20:21:25 +0000
committerMiles Bader <miles@gnu.org>1995-07-17 20:21:25 +0000
commit7239040ec6fdfdd3bafc95250824b3b4d520f1b4 (patch)
tree736abcba95a466d622b322b48a2109ac438a4a74 /pflocal/sock.h
parent721f1cfd7632238481a9f051eed52772a4561758 (diff)
Formerly sock.h.~5~
Diffstat (limited to 'pflocal/sock.h')
-rw-r--r--pflocal/sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pflocal/sock.h b/pflocal/sock.h
index a6bbe482..8b259284 100644
--- a/pflocal/sock.h
+++ b/pflocal/sock.h
@@ -94,6 +94,9 @@ error_t sock_connect (struct sock *sock1, struct sock *sock2);
/* Return a new socket with the given pipe class in SOCK. */
error_t sock_create (struct pipe_class *pipe_class, struct sock **sock);
+/* Free SOCK, assuming there are no more handle on it. */
+void sock_free (struct sock *sock);
+
/* Remove a reference from SOCK, possibly freeing it. */
extern inline void
sock_deref (struct sock *sock)