summaryrefslogtreecommitdiff
path: root/pflocal/connq.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-02-12 17:24:36 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-02-12 17:24:36 +0000
commit2888457f4fc3ebfd5ec6e4f6baf5e02223b1c5c6 (patch)
treee5c428b9e17036ecffafcdbc7b14e6d9107fb706 /pflocal/connq.h
parent9fc0f76454246c2c2f3984928627a22c76beec5a (diff)
2001-02-11 Marcus Brinkmann <marcus@gnu.org>
* connq.c (connq_destroy): New function. * connq.h: Prototype connq_destroy. * sock.c (sock_free): Call connq_destroy when listen or connect queue exist.
Diffstat (limited to 'pflocal/connq.h')
-rw-r--r--pflocal/connq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pflocal/connq.h b/pflocal/connq.h
index 8486eb17..1039bff9 100644
--- a/pflocal/connq.h
+++ b/pflocal/connq.h
@@ -33,6 +33,9 @@ struct sock;
is already listening (change this with connq_set_length). */
error_t connq_create (struct connq **cq);
+/* Destroy a queue. */
+void connq_destroy (struct connq *cq);
+
/* Wait for a connection attempt to be made on CQ, and return the connecting
socket in SOCK, and a request tag in REQ. If REQ is NULL, the request is
left in the queue, otherwise connq_request_complete must be called on REQ