diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-17 20:57:21 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-17 20:57:21 +0000 |
commit | b9ec2b0c318e05ad5ea886eaec57fadfe07f6277 (patch) | |
tree | d477796ce4fece44ece224e4f97e713152fa73c9 /lib/mqueue.h | |
parent | 65229f16936aad129d71875e427e82e4fa6d3f5d (diff) | |
download | quagga-b9ec2b0c318e05ad5ea886eaec57fadfe07f6277.tar.bz2 quagga-b9ec2b0c318e05ad5ea886eaec57fadfe07f6277.tar.xz |
Further work-in-progress.
modified: bgpd/bgp_connection.c completed pending queue
modified: bgpd/bgp_engine.c TODOs for start/stop
modified: bgpd/bgp_msg_write.c ) added send_update and send_eor
modified: bgpd/bgp_msg_write.h )
modified: bgpd/bgp_open_state.c fixed free
modified: bgpd/bgp_packet.c tidied up peer->work usage
modified: bgpd/bgp_session.c ) completed various message handlers
modified: bgpd/bgp_session.h )
modified: lib/mqueue.c ) added revoke
modified: lib/mqueue.h )
Diffstat (limited to 'lib/mqueue.h')
-rw-r--r-- | lib/mqueue.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/mqueue.h b/lib/mqueue.h index a4f5d91d..a6edb4d7 100644 --- a/lib/mqueue.h +++ b/lib/mqueue.h @@ -225,12 +225,18 @@ mqueue_enqueue(mqueue_queue mq, mqueue_block mqb, int priority) ; extern mqueue_block mqueue_dequeue(mqueue_queue mq, int wait, void* arg) ; +extern void +mqueue_revoke(mqueue_queue mq, void* arg0) ; + extern int mqueue_done_waiting(mqueue_queue mq, mqueue_thread_signal mtsig) ; extern void mqueue_local_enqueue(mqueue_local_queue lmq, mqueue_block mqb) ; +Inline mqueue_block +mqueue_local_head(mqueue_local_queue lmq) ; + extern mqueue_block mqueue_local_dequeue(mqueue_local_queue lmq) ; @@ -257,6 +263,8 @@ extern void mqb_push_argv_u(mqueue_block mqb, mqb_uint_t u) ; extern void mqb_push_argv_array(mqueue_block mqb, unsigned n, void** array) ; Inline void mqb_dispatch(mqueue_block mqb, mqb_flag_t flag) ; +Inline void mqb_dispatch_action(mqueue_block mqb) ; +Inline void mqb_dispatch_destroy(mqueue_block mqb) ; Inline void* mqb_get_arg0(mqueue_block mqb) ; Inline void* mqb_get_args(mqueue_block mqb) ; @@ -278,6 +286,12 @@ extern void** mqb_pop_argv_array(mqueue_block mqb) ; * The Inline functions. */ +Inline mqueue_block +mqueue_local_head(mqueue_local_queue lmq) +{ + return lmq->head ; +} ; + /* Set operations. */ Inline void |