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_BROWSER_FUNCTIONS_H
24
#define MUTT_BROWSER_FUNCTIONS_H
25
26
#include "
key/lib.h
"
27
28
struct
MuttWindow
;
29
struct
BrowserPrivateData
;
30
43
typedef
int (*
browser_function_t
)(
struct
BrowserPrivateData
*priv,
const
struct
KeyEvent
*event);
44
48
struct
BrowserFunction
49
{
50
int
op
;
51
browser_function_t
function
;
52
};
53
54
int
browser_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
55
56
#endif
//MUTT_BROWSER_FUNCTIONS_H
browser_function_t
int(* browser_function_t)(struct BrowserPrivateData *priv, const struct KeyEvent *event)
Definition
functions.h:43
browser_function_dispatcher
int browser_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Browser function.
Definition
functions.c:1492
lib.h
Manage keymappings.
BrowserFunction
A NeoMutt function.
Definition
functions.h:49
BrowserFunction::op
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition
functions.h:50
BrowserFunction::function
browser_function_t function
Function to call.
Definition
functions.h:51
BrowserPrivateData
Private state data for the Browser.
Definition
private_data.h:34
KeyEvent
An event such as a keypress.
Definition
get.h:75
MuttWindow
Definition
mutt_window.h:129