NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
private_data.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_PAGER_PRIVATE_DATA_H
24 #define MUTT_PAGER_PRIVATE_DATA_H
25 
26 #include "config.h"
27 #include <stdbool.h>
28 #include <stdio.h>
29 #include <sys/stat.h>
30 #include "mutt/lib.h"
31 #include "lib.h"
32 #include "menu/lib.h"
33 
34 struct MuttWindow;
35 
40 {
41  struct Menu *menu;
43 
44  struct PagerView *pview;
45  int indexlen;
46  int indicator;
48  int lines;
49  int max_line;
50  int last_line;
51  int curline;
52  int topline;
54  int has_types;
56  int q_level;
57  struct QClass *quote_list;
58  LOFF_T last_pos;
59  LOFF_T last_offset;
60  regex_t search_re;
64  char searchbuf[256];
65  struct Line *line_info;
66  FILE *fp;
67  struct stat sb;
68 
70 };
71 
72 void pager_private_data_free(struct MuttWindow *win, void **ptr);
74 
75 #endif /* MUTT_PAGER_PRIVATE_DATA_H */
uint16_t PagerFlags
Flags for mutt_pager(), e.g. MUTT_SHOWFLAT.
Definition: lib.h:51
struct stat sb
Definition: private_data.h:67
Definition: lib.h:67
PagerFlags hide_quoted
Definition: private_data.h:55
Paged view into some data.
Definition: lib.h:154
int indicator
the indicator line of the PI
Definition: private_data.h:46
struct QClass * quote_list
Definition: private_data.h:57
Private state data for the Pager.
Definition: private_data.h:39
void pager_private_data_free(struct MuttWindow *win, void **ptr)
Free Pager Data.
Definition: private_data.c:38
struct Menu * menu
Definition: private_data.h:41
struct Line * line_info
Definition: private_data.h:65
A line of text in the pager.
Definition: dlg_pager.c:131
struct MuttWindow * win_pbar
Definition: private_data.h:42
struct PagerView * pview
Definition: private_data.h:44
struct PagerPrivateData * pager_private_data_new(void)
Create new Pager Data.
Definition: private_data.c:52
PagerFlags search_flag
Definition: private_data.h:62
Convenience wrapper for the library headers.
Style of quoted text.
Definition: dlg_pager.c:108
MenuRedrawFlags redraw
When to redraw the screen.
Definition: private_data.h:69
char searchbuf[256]
Definition: private_data.h:64