NeoMutt
2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_PAGER_FUNCTIONS_H
24
#define MUTT_PAGER_FUNCTIONS_H
25
26
#include <stdbool.h>
27
28
struct
IndexSharedData
;
29
struct
KeyEvent
;
30
struct
MuttWindow
;
31
struct
PagerPrivateData
;
32
struct
PagerView
;
33
34
extern
struct
MenuDefinition
*
MdPager
;
35
51
typedef
int (*
pager_function_t
)(
struct
IndexSharedData
*shared,
struct
PagerPrivateData
*priv,
const
struct
KeyEvent
*event);
52
56
struct
PagerFunction
57
{
58
int
op
;
59
pager_function_t
function
;
60
};
61
62
int
pager_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
63
bool
jump_to_bottom
(
struct
PagerPrivateData
*priv,
struct
PagerView
*pview);
64
65
#endif
/* MUTT_PAGER_FUNCTIONS_H */
pager_function_dispatcher
int pager_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Pager function - Implements function_dispatcher_t -.
Definition
functions.c:1145
MdPager
struct MenuDefinition * MdPager
Pager Menu Definition.
Definition
functions.c:64
pager_function_t
int(* pager_function_t)(struct IndexSharedData *shared, struct PagerPrivateData *priv, const struct KeyEvent *event)
Definition
functions.h:51
jump_to_bottom
bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview)
Make sure the bottom line is displayed.
Definition
functions.c:381
IndexSharedData
Data shared between Index, Pager and Sidebar.
Definition
shared_data.h:37
KeyEvent
An event such as a keypress.
Definition
get.h:50
MenuDefinition
Functions for a Dialog or Window.
Definition
menu.h:80
MuttWindow
Definition
mutt_window.h:122
PagerFunction
A NeoMutt function.
Definition
functions.h:57
PagerFunction::function
pager_function_t function
Function to call.
Definition
functions.h:59
PagerFunction::op
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition
functions.h:58
PagerPrivateData
Private state data for the Pager.
Definition
private_data.h:41
PagerView
Paged view into some data.
Definition
lib.h:172