NeoMutt  2023-05-17-56-ga67199
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{
36 struct Menu *menu;
37 struct Email *email;
38 bool done;
39};
40
51typedef int (*postpone_function_t)(struct PostponeData *pd, int op);
52
57{
58 int op;
60};
61
62int postpone_function_dispatcher(struct MuttWindow *win, int op);
63
64#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:134
int(* postpone_function_t)(struct PostponeData *pd, int op)
Definition: functions.h:51
The envelope/body of an email.
Definition: email.h:37
View of a Mailbox.
Definition: mview.h:39
Definition: lib.h:70
Data to pass to the Postpone Functions.
Definition: functions.h:34
struct Email * email
Selected Email.
Definition: functions.h:37
bool done
Should we close the Dialog?
Definition: functions.h:38
struct MailboxView * mailbox_view
Postponed Mailbox view.
Definition: functions.h:35
struct Menu * menu
Postponed Menu.
Definition: functions.h:36
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