NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_PATTERN_FUNCTIONS_H
24#define MUTT_PATTERN_FUNCTIONS_H
25
26struct KeyEvent;
27struct MuttWindow;
28
33{
34 struct NeoMutt *n;
35 struct PatternData *pd;
36};
37
51typedef int (*pattern_function_t)(struct PatternFunctionData *fdata, const struct KeyEvent *event);
52
61
62int pattern_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
63
64#endif /* MUTT_PATTERN_FUNCTIONS_H */
int pattern_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Pattern function - Implements function_dispatcher_t -.
Definition functions.c:90
int(* pattern_function_t)(struct PatternFunctionData *fdata, const struct KeyEvent *event)
Definition functions.h:51
An event such as a keypress.
Definition get.h:75
Container for Accounts, Notifications.
Definition neomutt.h:41
Data to pass to the Pattern Functions.
Data passed to Pattern worker functions.
Definition functions.h:33
struct NeoMutt * n
NeoMutt application data.
Definition functions.h:34
struct PatternData * pd
Pattern data.
Definition functions.h:35
A NeoMutt function.
Definition functions.h:57
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition functions.h:58
pattern_function_t function
Function to call.
Definition functions.h:59