summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli.h')
-rw-r--r--com32/hdt/hdt-cli.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index aad9db8a..9101ada6 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -118,6 +118,14 @@ struct cli_callback_descr {
void ( * exec ) ( int argc, char** argv, struct s_hardware *hardware );
};
+/* Manage aliases */
+#define MAX_ALIASES 2
+struct cli_alias {
+ const char *command; /* Original command */
+ const int nb_aliases; /* Size of aliases array */
+ const char **aliases; /* List of aliases */
+};
+
/* List of implemented modes */
#define MAX_MODES 8
struct cli_mode_descr *list_modes[MAX_MODES];