| 1 | /* |
| 2 | * Human Monitor Completion handlers |
| 3 | * |
| 4 | * Copyright IBM, Corp. 2011 |
| 5 | * |
| 6 | * Authors: |
| 7 | * Anthony Liguori <aliguori@us.ibm.com> |
| 8 | * |
| 9 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 10 | */ |
| 11 | |
| 12 | #ifndef HMP_COMPLETION_H |
| 13 | #define HMP_COMPLETION_H |
| 14 | |
| 15 | #include "qemu/readline.h" |
| 16 | |
| 17 | void object_add_completion(ReadLineState *rs, int nb_args, const char *str); |
| 18 | void object_del_completion(ReadLineState *rs, int nb_args, const char *str); |
| 19 | void device_add_completion(ReadLineState *rs, int nb_args, const char *str); |
| 20 | void device_del_completion(ReadLineState *rs, int nb_args, const char *str); |
| 21 | void sendkey_completion(ReadLineState *rs, int nb_args, const char *str); |
| 22 | void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str); |
| 23 | void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str); |
| 24 | void set_link_completion(ReadLineState *rs, int nb_args, const char *str); |
| 25 | void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str); |
| 26 | void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str); |
| 27 | void ringbuf_write_completion(ReadLineState *rs, int nb_args, const char *str); |
| 28 | void info_trace_events_completion(ReadLineState *rs, int nb_args, |
| 29 | const char *str); |
| 30 | void trace_event_completion(ReadLineState *rs, int nb_args, const char *str); |
| 31 | void watchdog_action_completion(ReadLineState *rs, int nb_args, |
| 32 | const char *str); |
| 33 | void migrate_set_capability_completion(ReadLineState *rs, int nb_args, |
| 34 | const char *str); |
| 35 | void migrate_set_parameter_completion(ReadLineState *rs, int nb_args, |
| 36 | const char *str); |
| 37 | void delvm_completion(ReadLineState *rs, int nb_args, const char *str); |
| 38 | void loadvm_completion(ReadLineState *rs, int nb_args, const char *str); |
| 39 | |
| 40 | #endif |