NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_ALIAS_FUNCTIONS_H
24#define MUTT_ALIAS_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct AddressList;
29struct Alias;
30struct AliasList;
31struct AliasMenuData;
32struct AliasViewArray;
33struct ConfigSubset;
34struct MuttWindow;
35
46typedef int (*alias_function_t)(struct AliasMenuData *wdata, int op);
47
52{
53 int op;
55};
56
57void alias_array_sort(struct AliasViewArray *ava, const struct ConfigSubset *sub);
58int alias_function_dispatcher(struct MuttWindow *win, int op);
59bool alias_to_addrlist(struct AddressList *al, struct Alias *alias);
60int query_run(const char *s, bool verbose, struct AliasList *al, const struct ConfigSubset *sub);
61
62#endif /* MUTT_ALIAS_FUNCTIONS_H */
int query_run(const char *s, bool verbose, struct AliasList *al, const struct ConfigSubset *sub)
Run an external program to find Addresses.
Definition: dlg_query.c:275
void alias_array_sort(struct AliasViewArray *ava, const struct ConfigSubset *sub)
Sort and reindex an AliasViewArray.
Definition: sort.c:168
bool alias_to_addrlist(struct AddressList *al, struct Alias *alias)
Turn an Alias into an AddressList.
Definition: dlg_query.c:121
int(* alias_function_t)(struct AliasMenuData *wdata, int op)
Definition: functions.h:46
int alias_function_dispatcher(struct MuttWindow *win, int op)
Perform a Alias function - Implements function_dispatcher_t -.
Definition: functions.c:462
A NeoMutt function.
Definition: functions.h:52
int op
Op code, e.g. OP_SEARCH.
Definition: functions.h:53
alias_function_t function
Function to call.
Definition: functions.h:54
AliasView array wrapper with Pattern information -.
Definition: gui.h:54
A shortcut for an email address or addresses.
Definition: alias.h:35
A set of inherited config items.
Definition: subset.h:47