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_COMPOSE_FUNCTIONS_H
24
#define MUTT_COMPOSE_FUNCTIONS_H
25
26
struct
KeyEvent
;
27
struct
MuttWindow
;
28
32
struct
ComposeFunctionData
33
{
34
struct
NeoMutt
*
n
;
35
struct
ComposeModuleData
*
mod_data
;
36
struct
ComposeSharedData
*
shared
;
37
};
38
52
typedef
int (*
compose_function_t
)(
struct
ComposeFunctionData
*fdata,
53
const
struct
KeyEvent
*event);
54
58
struct
ComposeFunction
59
{
60
int
op
;
61
compose_function_t
function
;
62
};
63
64
int
compose_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
65
66
#endif
/* MUTT_COMPOSE_FUNCTIONS_H */
compose_function_t
int(* compose_function_t)(struct ComposeFunctionData *fdata, const struct KeyEvent *event)
Definition
functions.h:52
compose_function_dispatcher
int compose_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Compose function - Implements function_dispatcher_t -.
Definition
functions.c:2816
ComposeFunctionData
Data passed to Compose worker functions.
Definition
functions.h:33
ComposeFunctionData::n
struct NeoMutt * n
NeoMutt application data.
Definition
functions.h:34
ComposeFunctionData::shared
struct ComposeSharedData * shared
Shared Compose data.
Definition
functions.h:36
ComposeFunctionData::mod_data
struct ComposeModuleData * mod_data
Compose module data.
Definition
functions.h:35
ComposeFunction
A NeoMutt function.
Definition
functions.h:59
ComposeFunction::op
int op
Op code, e.g. OP_COMPOSE_WRITE_MESSAGE.
Definition
functions.h:60
ComposeFunction::function
compose_function_t function
Function to call.
Definition
functions.h:61
ComposeModuleData
Compose private Module data.
Definition
module_data.h:30
ComposeSharedData
Shared Compose Data.
Definition
shared_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