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
28
struct
MuttWindow
;
29
33
struct
PostponeData
34
{
35
struct
MailboxView
*
mailbox_view
;
36
struct
Menu
*
menu
;
37
struct
Email
*
email
;
38
bool
done
;
39
};
40
51
typedef
int (*
postpone_function_t
)(
struct
PostponeData
*pd,
int
op);
52
56
struct
PostponeFunction
57
{
58
int
op
;
59
postpone_function_t
function
;
60
};
61
62
int
postpone_function_dispatcher
(
struct
MuttWindow
*win,
int
op);
63
64
#endif
/* MUTT_POSTPONE_FUNCTIONS_H */
postpone_function_dispatcher
int postpone_function_dispatcher(struct MuttWindow *win, int op)
Perform a Postpone function - Implements function_dispatcher_t -.
Definition:
functions.c:134
postpone_function_t
int(* postpone_function_t)(struct PostponeData *pd, int op)
Definition:
functions.h:51
Email
The envelope/body of an email.
Definition:
email.h:37
MailboxView
View of a Mailbox.
Definition:
mview.h:39
Menu
Definition:
lib.h:70
MuttWindow
Definition:
mutt_window.h:123
PostponeData
Data to pass to the Postpone Functions.
Definition:
functions.h:34
PostponeData::email
struct Email * email
Selected Email.
Definition:
functions.h:37
PostponeData::done
bool done
Should we close the Dialog?
Definition:
functions.h:38
PostponeData::mailbox_view
struct MailboxView * mailbox_view
Postponed Mailbox view.
Definition:
functions.h:35
PostponeData::menu
struct Menu * menu
Postponed Menu.
Definition:
functions.h:36
PostponeFunction
A NeoMutt function.
Definition:
functions.h:57
PostponeFunction::function
postpone_function_t function
Function to call.
Definition:
functions.h:59
PostponeFunction::op
int op
Op code, e.g. OP_DELETE.
Definition:
functions.h:58