summaryrefslogtreecommitdiffstats
path: root/lib/mqueue.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-02-01 10:27:55 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-02-01 10:27:55 +0000
commite51f1f9733ddc294bffb50fc29f25dcdebf44d6d (patch)
treea61b34b67492be7d2ca457523ad644c0395d4fa9 /lib/mqueue.h
parent64b08a2d2ec89e5464d7489f239a5b23a7a0c17b (diff)
downloadquagga-e51f1f9733ddc294bffb50fc29f25dcdebf44d6d.tar.bz2
quagga-e51f1f9733ddc294bffb50fc29f25dcdebf44d6d.tar.xz
Simplified handling of connection pending queue.
Moved some of the complexity into functions in bgp_connection, so that "do" functions in bgp_session have to deal with less of the mechanics. modified: bgpd/bgp_connection.c modified: bgpd/bgp_connection.h modified: bgpd/bgp_session.c modified: bgpd/bgp_session.h modified: lib/mqueue.c modified: lib/mqueue.h
Diffstat (limited to 'lib/mqueue.h')
-rw-r--r--lib/mqueue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mqueue.h b/lib/mqueue.h
index a6edb4d7..2bd96896 100644
--- a/lib/mqueue.h
+++ b/lib/mqueue.h
@@ -234,6 +234,9 @@ mqueue_done_waiting(mqueue_queue mq, mqueue_thread_signal mtsig) ;
extern void
mqueue_local_enqueue(mqueue_local_queue lmq, mqueue_block mqb) ;
+extern void
+mqueue_local_enqueue_head(mqueue_local_queue lmq, mqueue_block mqb) ;
+
Inline mqueue_block
mqueue_local_head(mqueue_local_queue lmq) ;