NeoMutt  2025-12-11-276-g10b23b
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
35{
37 struct Menu *menu;
38 struct Email *email;
39 bool done;
41};
42
56typedef int (*postpone_function_t)(struct PostponeData *pd, const struct KeyEvent *event);
57
66
67int postpone_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
68
69#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:186
int(* postpone_function_t)(struct PostponeData *pd, const struct KeyEvent *event)
Definition functions.h:56
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
Definition lib.h:79
Data to pass to the Postpone Functions.
Definition functions.h:35
struct Email * email
Selected Email.
Definition functions.h:38
struct SearchState * search_state
State of the current search.
Definition functions.h:40
bool done
Should we close the Dialog?
Definition functions.h:39
struct MailboxView * mailbox_view
Postponed Mailbox view.
Definition functions.h:36
struct Menu * menu
Postponed Menu.
Definition functions.h:37
A NeoMutt function.
Definition functions.h:62
postpone_function_t function
Function to call.
Definition functions.h:64
int op
Op code, e.g. OP_DELETE.
Definition functions.h:63
Holds state of a search.