NeoMutt
2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
23
#ifndef MUTT_PAGER_FUNCTIONS_H
24
#define MUTT_PAGER_FUNCTIONS_H
25
26
#include <stdbool.h>
27
28
struct
IndexSharedData
;
29
struct
MuttWindow
;
30
struct
PagerPrivateData
;
31
struct
PagerView
;
32
44
typedef
int (*
pager_function_t
)(
struct
IndexSharedData
*shared,
struct
PagerPrivateData
*priv,
int
op);
45
49
struct
PagerFunction
50
{
51
int
op
;
52
pager_function_t
function
;
53
};
54
55
int
pager_function_dispatcher
(
struct
MuttWindow
*win,
int
op);
56
bool
jump_to_bottom
(
struct
PagerPrivateData
*priv,
struct
PagerView
*pview);
57
58
#endif
/* MUTT_PAGER_FUNCTIONS_H */
pager_function_dispatcher
int pager_function_dispatcher(struct MuttWindow *win, int op)
Perform a Pager function - Implements function_dispatcher_t -.
Definition:
functions.c:1126
jump_to_bottom
bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview)
Make sure the bottom line is displayed.
Definition:
functions.c:376
pager_function_t
int(* pager_function_t)(struct IndexSharedData *shared, struct PagerPrivateData *priv, int op)
Definition:
functions.h:44
IndexSharedData
Data shared between Index, Pager and Sidebar.
Definition:
shared_data.h:37
MuttWindow
Definition:
mutt_window.h:123
PagerFunction
A NeoMutt function.
Definition:
functions.h:50
PagerFunction::function
pager_function_t function
Function to call.
Definition:
functions.h:52
PagerFunction::op
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition:
functions.h:51
PagerPrivateData
Private state data for the Pager.
Definition:
private_data.h:41
PagerView
Paged view into some data.
Definition:
lib.h:172