commit | 7717239dc1778e94a6210e62e1ec2ba720168eec | [log] [tgz] |
---|---|---|
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | Tue Aug 27 20:38:20 2013 +0800 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Fri Aug 30 07:41:15 2013 -0400 |
tree | 21d717eead6e1e907f158f7c15a143b9d8b60e05 | |
parent | b01fe89e91268c6b02720735643020746610e6d8 [diff] |
monitor: avoid direct use of global variable *mon_cmds New member *cmd_table is added in structure Monitor to avoid direct usage of *mon_cmds. Now monitor have an associated command table, when global variable *info_cmds is also discarded, structure Monitor would gain full control about how to deal with user input. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>