NeoMutt  2025-12-11-435-g4ac674
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 IndexPrivateData;
29struct IndexSharedData;
30struct KeyEvent;
31struct MuttWindow;
32
33extern struct MenuDefinition *MdIndex;
34
50typedef int (*index_function_t)(struct IndexSharedData *shared, struct IndexPrivateData *priv, const struct KeyEvent *event);
51
61
62int index_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
63bool index_next_undeleted(struct MuttWindow *win_index);
64
65#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:3334
struct MenuDefinition * MdIndex
Index Menu Definition.
Definition functions.c:80
bool index_next_undeleted(struct MuttWindow *win_index)
Select the next undeleted Email (if possible)
Definition functions.c:394
int(* index_function_t)(struct IndexSharedData *shared, struct IndexPrivateData *priv, const struct KeyEvent *event)
Definition functions.h:50
A NeoMutt function.
Definition functions.h:56
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition functions.h:57
index_function_t function
Function to call.
Definition functions.h:58
int flags
Prerequisites for the function, e.g. CHECK_IN_MAILBOX.
Definition functions.h:59
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:50
Functions for a Dialog or Window.
Definition menu.h:80