summaryrefslogtreecommitdiffstats
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-01-06 16:32:44 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-01-06 16:32:44 +0000
commit20a4aba11033433895696ef7aa135d93097900af (patch)
tree015a3bd65546f5c835abb1f83e6af49a98ac07e3 /lib/memtypes.c
parentf2c33e324e1d6194f3f5ca6f3b8f6d08cce8fb69 (diff)
downloadquagga-20a4aba11033433895696ef7aa135d93097900af.tar.bz2
quagga-20a4aba11033433895696ef7aa135d93097900af.tar.xz
Extended argument handling for message queue blocks.
Updates lib/mqueue.c and .h Having concluded that two arguments is really too restrictive, this change: * allows for an indefinite number of arguments. With up to 6 in the body of the message queue block itself. * supports the treatment of arguments from a given argument 'n' onwards as a list of indefinite length. So message queue block may be treated as having 'n' fixed arguments and a variable number of further arguments. Adds a further memory type.
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r--lib/memtypes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index c55a2cb7..633ca9bb 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -34,13 +34,14 @@ struct memory_list memory_list_lib[] =
{ MTYPE_QPT_COND, "qpt condition variable" },
{ MTYPE_MQUEUE_QUEUE, "Mqueue queue structure" },
{ MTYPE_MQUEUE_BLOCKS, "Mqueue message blocks" },
+ { MTYPE_MQUEUE_BLOCK_EXT, "Mqueue message block extension"},
{ MTYPE_MQUEUE_THREAD_SIGNAL, "Mqueue thread signal" },
{ MTYPE_QPS_SELECTION, "qpselect selection" },
{ MTYPE_QPS_FILE, "qpselect file" },
{ MTYPE_QTIMER_PILE, "qtimer pile structure" },
{ MTYPE_QTIMER, "qtimer timer" },
{ MTYPE_QPN_NEXUS, "qtn nexus" },
- { MTYPE_MARSHAL, "marshalled commands" },
+ { MTYPE_MARSHAL, "marshalled commands" },
{ MTYPE_VTY, "VTY" },
{ MTYPE_VTY_OUT_BUF, "VTY output buffer" },
{ MTYPE_VTY_HIST, "VTY history" },