NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
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
57extern struct AliasFunction AliasFunctions[];
58
59void alias_array_sort(struct AliasViewArray *ava, const struct ConfigSubset *sub);
60int alias_function_dispatcher(struct MuttWindow *win, int op);
61bool alias_to_addrlist(struct AddressList *al, struct Alias *alias);
62int query_run(const char *s, bool verbose, struct AliasList *al, const struct ConfigSubset *sub);
63
64#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:251
void alias_array_sort(struct AliasViewArray *ava, const struct ConfigSubset *sub)
Sort and reindex an AliasViewArray.
Definition: sort.c:156
bool alias_to_addrlist(struct AddressList *al, struct Alias *alias)
Turn an Alias into an AddressList.
Definition: dlg_query.c:118
struct AliasFunction AliasFunctions[]
All the NeoMutt functions that the Alias supports.
Definition: functions.c:309
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:333
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:52
A shortcut for an email address or addresses.
Definition: alias.h:34
A set of inherited config items.
Definition: subset.h:47