NeoMutt  2024-03-23-147-g885fbc
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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;
40};
41
52typedef int (*postpone_function_t)(struct PostponeData *pd, int op);
53
58{
59 int op;
61};
62
63int postpone_function_dispatcher(struct MuttWindow *win, int op);
64
65#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:177
int(* postpone_function_t)(struct PostponeData *pd, int op)
Definition: functions.h:52
The envelope/body of an email.
Definition: email.h:39
View of a Mailbox.
Definition: mview.h:40
Definition: lib.h:79
Data to pass to the Postpone Functions.
Definition: functions.h:34
struct Email * email
Selected Email.
Definition: functions.h:37
struct SearchState * search_state
State of the current search.
Definition: functions.h:39
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:58
postpone_function_t function
Function to call.
Definition: functions.h:60
int op
Op code, e.g. OP_DELETE.
Definition: functions.h:59
Holds state of a search.
Definition: search_state.h:36