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_POSTPONE_FUNCTIONS_H
24#define MUTT_POSTPONE_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct KeyEvent;
29struct MuttWindow;
30
31extern struct MenuDefinition *MdPostpone;
32
37{
39 struct Menu *menu;
40 struct Email *email;
41 bool done;
43};
44
58typedef int (*postpone_function_t)(struct PostponeData *pd, const struct KeyEvent *event);
59
68
69int postpone_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
70
71#endif /* MUTT_POSTPONE_FUNCTIONS_H */
int postpone_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Postpone function - Implements function_dispatcher_t -.
Definition functions.c:191
struct MenuDefinition * MdPostpone
Postpone Menu Definition.
Definition functions.c:43
int(* postpone_function_t)(struct PostponeData *pd, const struct KeyEvent *event)
Definition functions.h:58
The envelope/body of an email.
Definition email.h:39
An event such as a keypress.
Definition get.h:50
View of a Mailbox.
Definition mview.h:40
Functions for a Dialog or Window.
Definition menu.h:80
Definition lib.h:80
Data to pass to the Postpone Functions.
Definition functions.h:37
struct Email * email
Selected Email.
Definition functions.h:40
struct SearchState * search_state
State of the current search.
Definition functions.h:42
bool done
Should we close the Dialog?
Definition functions.h:41
struct MailboxView * mailbox_view
Postponed Mailbox view.
Definition functions.h:38
struct Menu * menu
Postponed Menu.
Definition functions.h:39
A NeoMutt function.
Definition functions.h:64
postpone_function_t function
Function to call.
Definition functions.h:66
int op
Op code, e.g. OP_DELETE.
Definition functions.h:65
Holds state of a search.