NeoMutt  2025-12-11-872-g385a04
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_INDEX_FUNCTIONS_H
24#define MUTT_INDEX_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct KeyEvent;
29struct MuttWindow;
30
41
55typedef int (*index_function_t)(struct IndexFunctionData *fdata,
56 const struct KeyEvent *event);
57
67
68int index_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
69bool index_next_undeleted(struct MuttWindow *win_index);
71
72#define MdIndex (index_get_menu_definition())
73
74#endif /* MUTT_INDEX_FUNCTIONS_H */
int index_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform an Index function - Implements function_dispatcher_t -.
Definition functions.c:3987
int(* index_function_t)(struct IndexFunctionData *fdata, const struct KeyEvent *event)
Definition functions.h:55
bool index_next_undeleted(struct MuttWindow *win_index)
Select the next undeleted Email (if possible)
Definition functions.c:427
struct MenuDefinition * index_get_menu_definition(void)
Get the Index Menu Definition.
Definition functions.c:4040
Data passed to Index worker functions.
Definition functions.h:35
struct IndexSharedData * shared
Shared Index data.
Definition functions.h:38
struct IndexPrivateData * priv
Private Index data.
Definition functions.h:39
struct IndexModuleData * mod_data
Index module data.
Definition functions.h:37
struct NeoMutt * n
NeoMutt application data.
Definition functions.h:36
A NeoMutt function.
Definition functions.h:62
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition functions.h:63
index_function_t function
Function to call.
Definition functions.h:64
int flags
Prerequisites for the function, e.g. CHECK_IN_MAILBOX.
Definition functions.h:65
Index private Module data.
Definition module_data.h:32
Private state data for the Index.
Data shared between Index, Pager and Sidebar.
Definition shared_data.h:37
An event such as a keypress.
Definition get.h:75
Functions for a Dialog or Window.
Definition menu.h:77
Container for Accounts, Notifications.
Definition neomutt.h:41