NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
global.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_GUI_GLOBAL_H
24
#define MUTT_GUI_GLOBAL_H
25
26
struct
KeyEvent
;
27
struct
MuttWindow
;
28
42
typedef
int (*
global_function_t
)(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
43
47
struct
GlobalFunction
48
{
49
int
op
;
50
global_function_t
function
;
51
};
52
53
int
global_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
54
55
#endif
/* MUTT_GLOBAL_FUNCTIONS_H */
global_function_t
int(* global_function_t)(struct MuttWindow *win, const struct KeyEvent *event)
Definition
global.h:42
global_function_dispatcher
int global_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Global function - Implements function_dispatcher_t -.
Definition
global.c:193
GlobalFunction
A NeoMutt function.
Definition
global.h:48
GlobalFunction::function
global_function_t function
Function to call.
Definition
global.h:50
GlobalFunction::op
int op
Op code, e.g. OP_ENTER_COMMAND.
Definition
global.h:49
KeyEvent
An event such as a keypress.
Definition
get.h:75
MuttWindow
Definition
mutt_window.h:129