NeoMutt  2024-03-23-147-g885fbc
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_INDEX_FUNCTIONS_H
24#define MUTT_INDEX_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct IndexPrivateData;
29struct IndexSharedData;
30struct MuttWindow;
31
43typedef int (*index_function_t)(struct IndexSharedData *shared, struct IndexPrivateData *priv, int op);
44
49{
50 int op;
52 int flags;
53};
54
55int index_function_dispatcher(struct MuttWindow *win, int op);
56bool index_next_undeleted(struct MuttWindow *win_index);
57
58#endif /* MUTT_INDEX_FUNCTIONS_H */
int index_function_dispatcher(struct MuttWindow *win, int op)
Perform an Index function - Implements function_dispatcher_t -.
Definition: functions.c:3256
int(* index_function_t)(struct IndexSharedData *shared, struct IndexPrivateData *priv, int op)
Definition: functions.h:43
bool index_next_undeleted(struct MuttWindow *win_index)
Select the next undeleted Email (if possible)
Definition: functions.c:395
A NeoMutt function.
Definition: functions.h:49
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition: functions.h:50
index_function_t function
Function to call.
Definition: functions.h:51
int flags
Prerequisites for the function, e.g. CHECK_IN_MAILBOX.
Definition: functions.h:52
Private state data for the Index.
Definition: private_data.h:35
Data shared between Index, Pager and Sidebar.
Definition: shared_data.h:37