Monitor: Introduce search_dispatch_table()
commit945c5ac8d3c792bab36dc0990f11ca55f6eb3148
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Sep 2010 16:17:58 +0000 (13 13:17 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 1 Oct 2010 13:20:06 +0000 (1 10:20 -0300)
tree7dba54fb1a883bf0bcb98ab4e9d6d99ea45ae179
parent07b0403dfc2b2ac179ae5b48105096cc2d03375a
Monitor: Introduce search_dispatch_table()

It's a generic version of monitor_find_command() which searches
the dispatch table passed as an argument.

Future commits will introduce new dispatch tables, so we need
common code to search them.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c