NeoMutt  2025-12-11-435-g4ac674
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
26#include "pattern_data.h"
27
28struct KeyEvent;
29struct MuttWindow;
30
44typedef int (*pattern_function_t)(struct PatternData *pd, const struct KeyEvent *event);
45
54
55int pattern_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
56
57#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:83
int(* pattern_function_t)(struct PatternData *pd, const struct KeyEvent *event)
Definition functions.h:44
Private Pattern Data.
An event such as a keypress.
Definition get.h:50
Data to pass to the Pattern Functions.
A NeoMutt function.
Definition functions.h:50
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition functions.h:51
pattern_function_t function
Function to call.
Definition functions.h:52