NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_ATTACH_FUNCTIONS_H
24
#define MUTT_ATTACH_FUNCTIONS_H
25
26
struct
KeyEvent
;
27
struct
MuttWindow
;
28
32
struct
AttachFunctionData
33
{
34
struct
NeoMutt
*
n
;
35
struct
AttachPrivateData
*
priv
;
36
};
37
51
typedef
int (*
attach_function_t
)(
struct
AttachFunctionData
*fdata,
const
struct
KeyEvent
*event);
52
56
struct
AttachFunction
57
{
58
int
op
;
59
attach_function_t
function
;
60
};
61
62
int
attach_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
63
64
#endif
/* MUTT_ATTACH_FUNCTIONS_H */
attach_function_t
int(* attach_function_t)(struct AttachFunctionData *fdata, const struct KeyEvent *event)
Definition
functions.h:51
attach_function_dispatcher
int attach_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Attach function - Implements function_dispatcher_t -.
Definition
functions.c:818
AttachFunctionData
Data passed to Attach worker functions.
Definition
functions.h:33
AttachFunctionData::priv
struct AttachPrivateData * priv
Attach private data.
Definition
functions.h:35
AttachFunctionData::n
struct NeoMutt * n
NeoMutt application data.
Definition
functions.h:34
AttachFunction
A NeoMutt function.
Definition
functions.h:57
AttachFunction::function
attach_function_t function
Function to call.
Definition
functions.h:59
AttachFunction::op
int op
Op code, e.g. OP_ATTACH_COLLAPSE.
Definition
functions.h:58
AttachPrivateData
Private state data for Attachments.
Definition
private_data.h:35
KeyEvent
An event such as a keypress.
Definition
get.h:75
MuttWindow
Definition
mutt_window.h:129
NeoMutt
Container for Accounts, Notifications.
Definition
neomutt.h:41