struct CompletionData * completion_data_new(void)
Create new Completion Data.
void completion_data_free(struct CompletionData **ptr)
Free the Completion Data.
void completion_data_free_match_strings(struct CompletionData *cd)
Free the Completion strings.
void completion_data_reset(struct CompletionData *cd)
Wipe the stored Completion Data.
String auto-completion data.
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Convenience wrapper for the library headers.
State data for auto-completion.
int match_list_len
Enough space for all of the config items.
bool free_match_strings
Should the strings in match_list be freed?
char user_typed[1024]
Initial string that starts completion.
char completed[256]
Completed string (command or variable)
int num_matched
Number of matches for completion.
const char ** match_list
Matching strings.