aboutsummaryrefslogtreecommitdiff
path: root/hmp.h
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-04-13 16:25:07 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-04-25 09:37:12 -0400
commit2da1b3abbccd267f09ebda7ba604fbbb0220f406 (patch)
tree273d5c1ca0836ad9907d2ceb539da3258dcae306 /hmp.h
parentbfa40f77af05731e2e976c5aa8c4edc86a87acd3 (diff)
monitor: Add device_add and device_del completion.
Also fix device_add completion including non-hotpluggable devices. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp.h b/hmp.h
index 2f2c059e00..20ef454b4a 100644
--- a/hmp.h
+++ b/hmp.h
@@ -95,5 +95,7 @@ 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);
+void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
+void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
#endif