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_ENTER_FUNCTIONS_H
24#define MUTT_ENTER_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct EnterWindowData;
29struct MuttWindow;
30
40typedef int (*enter_function_t)(struct EnterWindowData *wdata, int op);
41
46{
47 int op;
49};
50
51extern struct EnterFunction EnterFunctions[];
52
53int enter_function_dispatcher(struct MuttWindow *win, int op);
54bool self_insert(struct EnterWindowData *wdata, int ch);
55
56#endif /* MUTT_ENTER_FUNCTIONS_H */
struct EnterFunction EnterFunctions[]
All the NeoMutt functions that Enter supports.
Definition: functions.c:669
int(* enter_function_t)(struct EnterWindowData *wdata, int op)
Definition: functions.h:40
bool self_insert(struct EnterWindowData *wdata, int ch)
Insert a normal character.
Definition: window.c:93
int enter_function_dispatcher(struct MuttWindow *win, int op)
Perform an Enter function - Implements function_dispatcher_t -.
Definition: functions.c:702
A NeoMutt function.
Definition: functions.h:46
int op
Op code, e.g. OP_SEARCH.
Definition: functions.h:47
enter_function_t function
Function to call.
Definition: functions.h:48
Data to fill the Enter Window.
Definition: wdata.h:46