NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_POSTPONE_FUNCTIONS_H
24#define MUTT_POSTPONE_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
34{
35 bool done;
36 struct Mailbox *mailbox;
37 struct Menu *menu;
38 struct Email *email;
39};
40
51typedef int (*postpone_function_t)(struct PostponeData *pd, int op);
52
57{
58 int op;
60};
61
63
64int postpone_function_dispatcher(struct MuttWindow *win, int op);
65
66#endif /* MUTT_POSTPONE_FUNCTIONS_H */
int postpone_function_dispatcher(struct MuttWindow *win, int op)
Perform a Postpone function - Implements function_dispatcher_t -.
Definition: functions.c:129
int(* postpone_function_t)(struct PostponeData *pd, int op)
Definition: functions.h:51
struct PostponeFunction PostponeFunctions[]
All the NeoMutt functions that the Postpone supports.
Definition: functions.c:112
The envelope/body of an email.
Definition: email.h:37
A mailbox.
Definition: mailbox.h:79
Definition: lib.h:69
Data to pass to the Postpone Functions.
Definition: functions.h:34
struct Email * email
Selected Email.
Definition: functions.h:38
struct Mailbox * mailbox
Postponed Mailbox.
Definition: functions.h:36
bool done
Should we close the Dialog?
Definition: functions.h:35
struct Menu * menu
Postponed Menu.
Definition: functions.h:37
A NeoMutt function.
Definition: functions.h:57
postpone_function_t function
Function to call.
Definition: functions.h:59
int op
Op code, e.g. OP_DELETE.
Definition: functions.h:58