NeoMutt  2022-04-29-249-gaae397
Teaching an old dog new tricks
DOXYGEN
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
28struct IndexSharedData;
29struct MuttWindow;
30struct PagerPrivateData;
31struct PagerView;
32
44typedef int (*pager_function_t)(struct IndexSharedData *shared, struct PagerPrivateData *priv, int op);
45
50{
51 int op;
53};
54
55int pager_function_dispatcher(struct MuttWindow *win, int op);
56bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview);
57
58extern struct PagerFunction PagerFunctions[];
59
60#endif /* MUTT_PAGER_FUNCTIONS_H */
int pager_function_dispatcher(struct MuttWindow *win, int op)
Perform a Pager function - Implements function_dispatcher_t -.
Definition: functions.c:789
bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview)
Make sure the bottom line is displayed.
Definition: functions.c:105
struct PagerFunction PagerFunctions[]
All the NeoMutt functions that the Pager supports.
Definition: functions.c:761
int(* pager_function_t)(struct IndexSharedData *shared, struct PagerPrivateData *priv, int op)
Definition: functions.h:44
Data shared between Index, Pager and Sidebar.
Definition: shared_data.h:37
A NeoMutt function.
Definition: functions.h:50
pager_function_t function
Function to call.
Definition: functions.h:52
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition: functions.h:51
Private state data for the Pager.
Definition: private_data.h:41
Paged view into some data.
Definition: lib.h:169