NeoMutt  2024-10-02-34-g9dd811
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
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
58#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:1125
bool jump_to_bottom(struct PagerPrivateData *priv, struct PagerView *pview)
Make sure the bottom line is displayed.
Definition: functions.c:376
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:172