δΊ 2013-1-10 21:10, Luiz Capitulino ει:
On Thu, 10 Jan 2013 16:32:31 +0800
Wenchao Xia wrote:
diff --git a/monitor.c b/monitor.c
index 9cf419b..c7b3014 100644
--- a/monitor.c
+++ b/monitor.c
@@ -123,7 +123,7 @@ typedef struct mon_cmd_t {
const char *help;
void (*user_print)(Monitor
On Thu, 10 Jan 2013 16:32:31 +0800
Wenchao Xia wrote:
> diff --git a/monitor.c b/monitor.c
> index 9cf419b..c7b3014 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -123,7 +123,7 @@ typedef struct mon_cmd_t {
> const char *help;
> void (*user_print)(Monitor *mon, const QObject *data);
>
This patch change all info call back function to take
additional QDict * parameter, which allow those command
take parameter. Now it is set to NULL at default case.
Signed-off-by: Wenchao Xia
---
hmp.c | 36 ++--
hmp.h | 3