diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-06 18:57:56 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-06 18:57:56 +0000 |
commit | d7d1a5a0138fce6c79b7764324768f8be5659137 (patch) | |
tree | 13af6fb4f58f42faa19e6d6f4ca52ad2a41b00b3 /lib/mqueue.h | |
parent | 10ba54af476b2f03e52cfb40f2aeea7988b81918 (diff) | |
download | quagga-d7d1a5a0138fce6c79b7764324768f8be5659137.tar.bz2 quagga-d7d1a5a0138fce6c79b7764324768f8be5659137.tar.xz |
Further extension to arguments for message queue blocks.
Updates lib/mqueue.c and .h
Added: mqb_push_argv_array() push array of 'n' pointers.
mqb_pop_argv_array() pop remains "list" to array of pointers.
Diffstat (limited to 'lib/mqueue.h')
-rw-r--r-- | lib/mqueue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mqueue.h b/lib/mqueue.h index 3193cb1c..5d00b726 100644 --- a/lib/mqueue.h +++ b/lib/mqueue.h @@ -229,6 +229,9 @@ extern void mqb_push_argv_p(mqueue_block mqb, mqb_ptr_t p) ; extern void mqb_push_argv_i(mqueue_block mqb, mqb_int_t i) ; 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 mqb_index_t mqb_get_arg_count(mqueue_block mqb) ; @@ -249,6 +252,8 @@ extern mqb_ptr_t mqb_next_argv_p(mqueue_block mqb) ; extern mqb_int_t mqb_next_argv_i(mqueue_block mqb) ; extern mqb_uint_t mqb_next_argv_u(mqueue_block mqb) ; +extern void** mqb_pop_argv_array(mqueue_block mqb) ; + /*============================================================================== * The Inline functions. */ |