I9E_DUMMY_COMPLETER(term);
static void help_completer(struct i9e_completion_info *ci,
- struct i9e_completion_result *result)
+ struct i9e_completion_result *cr)
{
char *opts[] = {LSG_AUDIOD_CMD_HELP_OPTS, NULL};
if (ci->word[0] == '-') {
- i9e_complete_option(opts, ci, result);
+ i9e_complete_option(opts, ci, cr);
return;
}
- result->matches = i9e_complete_commands(ci->word, audiod_completers);
+ cr->matches = i9e_complete_commands(ci->word, audiod_completers);
}
static void version_completer(struct i9e_completion_info *ci,
static struct i9e_completer completers[];
static void help_completer(struct i9e_completion_info *ci,
- struct i9e_completion_result *result)
+ struct i9e_completion_result *cr)
{
char *opts[] = {LSG_SERVER_CMD_HELP_OPTS, NULL};
if (ci->word[0] == '-') {
- i9e_complete_option(opts, ci, result);
+ i9e_complete_option(opts, ci, cr);
return;
}
- result->matches = i9e_complete_commands(ci->word, completers);
+ cr->matches = i9e_complete_commands(ci->word, completers);
}
static void stat_completer(struct i9e_completion_info *ci,
I9E_DUMMY_COMPLETER(ff);
static void help_completer(struct i9e_completion_info *ci,
- struct i9e_completion_result *result)
+ struct i9e_completion_result *cr)
{
char *opts[] = {LSG_PLAY_CMD_HELP_OPTS, NULL};
if (ci->word[0] == '-') {
- i9e_complete_option(opts, ci, result);
+ i9e_complete_option(opts, ci, cr);
return;
}
- result->matches = i9e_complete_commands(ci->word, pp_completers);
+ cr->matches = i9e_complete_commands(ci->word, pp_completers);
}
static struct i9e_completer pp_completers[] = {