NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
data.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_COMPLETE_DATA_H
24#define MUTT_COMPLETE_DATA_H
25
26#include <stdbool.h>
27
32{
33 char user_typed[1024];
35 char completed[256];
36 const char **match_list;
39};
40
41void completion_data_free(struct CompletionData **ptr);
45
46#endif /* MUTT_COMPLETE_DATA_H */
struct CompletionData * completion_data_new(void)
Create new Completion Data.
Definition data.c:71
void completion_data_free(struct CompletionData **ptr)
Free the Completion Data.
Definition data.c:53
void completion_data_free_match_strings(struct CompletionData *cd)
Free the Completion strings.
Definition data.c:38
void completion_data_reset(struct CompletionData *cd)
Wipe the stored Completion Data.
Definition data.c:85
State data for auto-completion.
Definition data.h:32
int match_list_len
Enough space for all of the config items.
Definition data.h:37
bool free_match_strings
Should the strings in match_list be freed?
Definition data.h:38
char user_typed[1024]
Initial string that starts completion.
Definition data.h:33
char completed[256]
Completed string (command or variable)
Definition data.h:35
int num_matched
Number of matches for completion.
Definition data.h:34
const char ** match_list
Matching strings.
Definition data.h:36