mqueue: Added MI command to get current size of mqueue.
authorAlex Balashov <abalashov@evaristesys.com>
Mon, 23 Jul 2012 23:53:41 +0000 (19:53 -0400)
committerAlex Balashov <abalashov@evaristesys.com>
Mon, 23 Jul 2012 23:53:41 +0000 (19:53 -0400)
commit41f77159c5851bb36ad12abecc2faf58602d6935
tree4255dd27ffa2d8e97c2f5a1695c0de18690686f8
parentb26f862322ad311e3c42d899f72eaa1fb665b755
mqueue: Added MI command to get current size of mqueue.

There is currently no runtime visibility into the size of a given mqueue.
To address this, added an MI command 'mq_get_size' that can return the size
of an mqueue by name.  Example:

   diminuendo-1:~/sip-router/modules/mqueue# kamctl fifo mq_get_size r_write
   mqueue::  name=r_write size=1
modules/mqueue/Makefile
modules/mqueue/mqueue_api.c
modules/mqueue/mqueue_api.h
modules/mqueue/mqueue_mod.c