diff options
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r-- | cli/src/cli.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 70d6cfb27..5d83f0fc1 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -150,6 +150,10 @@ typedef ssize_t (*cli_serialize_t) (struct iovec outmsg, void *args); extern struct cli_state *global_state; /* use only in readline callback */ +typedef const char *(*cli_selector_t) (void *wcon); + +void *cli_getunamb (const char *tok, void **choices, cli_selector_t sel); + int cli_cmd_register (struct cli_cmd_tree *tree, struct cli_cmd *cmd); int cli_cmds_register (struct cli_state *state); |