commit | 55f81d963bfb3ce18170ac0af9d5401358a0b7b1 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Fri Aug 28 15:27:22 2009 -0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Sep 04 09:37:32 2009 -0500 |
tree | cbbe479ab930a763aa72a34bf3e727ed0e7e66ec | |
parent | 37b7ad484d2909abd7eb569b80c3bcdf49d1879c [diff] |
monitor: Split monitor_handle_command() In order to help the integration with unit-tests and having a better design, this commit splits monitor_handle_command() into two parts. The parsing code is moved to a function called monitor_parse_command(), while allocating memory and calling the handler is still done by monitor_handle_command(). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>