From e51f1f9733ddc294bffb50fc29f25dcdebf44d6d Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Mon, 1 Feb 2010 10:27:55 +0000 Subject: 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 --- lib/mqueue.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/mqueue.h') 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) ; -- cgit v1.2.3