diff options
author | Hani Benhabiles <kroosec@gmail.com> | 2014-04-13 16:25:06 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-04-25 09:27:49 -0400 |
commit | bfa40f77af05731e2e976c5aa8c4edc86a87acd3 (patch) | |
tree | a5bfac74058070e4dda89cc494d0be56902d6cbc /hmp.h | |
parent | f7bdc41acc0f9e3f35562ff6a2c37d1a09b79b7b (diff) |
monitor: Add command_completion callback to mon_cmd_t.
Convert object_add and object_del commands to use the new callback.
Signed-off-by: Hani Benhabiles <hani@linux.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.h')
-rw-r--r-- | hmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,7 @@ #define HMP_H #include "qemu-common.h" +#include "qemu/readline.h" #include "qapi-types.h" #include "qapi/qmp/qdict.h" @@ -92,5 +93,7 @@ void hmp_qemu_io(Monitor *mon, const QDict *qdict); void hmp_cpu_add(Monitor *mon, const QDict *qdict); void hmp_object_add(Monitor *mon, const QDict *qdict); void hmp_object_del(Monitor *mon, const QDict *qdict); +void object_add_completion(ReadLineState *rs, int nb_args, const char *str); +void object_del_completion(ReadLineState *rs, int nb_args, const char *str); #endif |