NeoMutt  2024-12-12-19-ge4b57e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
data.h
Go to the documentation of this file.
1
23#ifndef MUTT_COMPLETE_DATA_H
24#define MUTT_COMPLETE_DATA_H
25
26#include "config.h"
27#include <stdbool.h>
28
33{
34 char user_typed[1024];
36 char completed[256];
37 const char **match_list;
40};
41
42void completion_data_free(struct CompletionData **ptr);
46
47#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:33
int match_list_len
Enough space for all of the config items.
Definition: data.h:38
bool free_match_strings
Should the strings in match_list be freed?
Definition: data.h:39
char user_typed[1024]
Initial string that starts completion.
Definition: data.h:34
char completed[256]
Completed string (command or variable)
Definition: data.h:36
int num_matched
Number of matches for completion.
Definition: data.h:35
const char ** match_list
Matching strings.
Definition: data.h:37