NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
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
28
struct
KeyEvent
;
29
struct
MuttWindow
;
30
34
struct
IndexFunctionData
35
{
36
struct
NeoMutt
*
n
;
37
struct
IndexModuleData
*
mod_data
;
38
struct
IndexSharedData
*
shared
;
39
struct
IndexPrivateData
*
priv
;
40
};
41
55
typedef
int (*
index_function_t
)(
struct
IndexFunctionData
*fdata,
56
const
struct
KeyEvent
*event);
57
61
struct
IndexFunction
62
{
63
int
op
;
64
index_function_t
function
;
65
int
flags
;
66
};
67
68
int
index_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
69
bool
index_next_undeleted
(
struct
MuttWindow
*win_index);
70
struct
MenuDefinition
*
index_get_menu_definition
(
void
);
71
struct
SubMenu
*
index_get_submenu
(
void
);
72
73
#endif
/* MUTT_INDEX_FUNCTIONS_H */
index_function_dispatcher
int index_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform an Index function - Implements function_dispatcher_t -.
Definition
functions.c:4065
index_function_t
int(* index_function_t)(struct IndexFunctionData *fdata, const struct KeyEvent *event)
Definition
functions.h:55
index_next_undeleted
bool index_next_undeleted(struct MuttWindow *win_index)
Select the next undeleted Email (if possible).
Definition
functions.c:444
index_get_menu_definition
struct MenuDefinition * index_get_menu_definition(void)
Get the Index Menu Definition.
Definition
functions.c:4118
index_get_submenu
struct SubMenu * index_get_submenu(void)
Get the Index SubMenu.
Definition
functions.c:355
IndexFunctionData
Data passed to Index worker functions.
Definition
functions.h:35
IndexFunctionData::shared
struct IndexSharedData * shared
Shared Index data.
Definition
functions.h:38
IndexFunctionData::priv
struct IndexPrivateData * priv
Private Index data.
Definition
functions.h:39
IndexFunctionData::mod_data
struct IndexModuleData * mod_data
Index module data.
Definition
functions.h:37
IndexFunctionData::n
struct NeoMutt * n
NeoMutt application data.
Definition
functions.h:36
IndexFunction
A NeoMutt function.
Definition
functions.h:62
IndexFunction::op
int op
Op code, e.g. OP_MAIN_LIMIT.
Definition
functions.h:63
IndexFunction::function
index_function_t function
Function to call.
Definition
functions.h:64
IndexFunction::flags
int flags
Prerequisites for the function, e.g. CHECK_IN_MAILBOX.
Definition
functions.h:65
IndexModuleData
Index private Module data.
Definition
module_data.h:32
IndexPrivateData
Private state data for the Index.
Definition
private_data.h:35
IndexSharedData
Data shared between Index, Pager and Sidebar.
Definition
shared_data.h:37
KeyEvent
An event such as a keypress.
Definition
get.h:75
MenuDefinition
Functions for a Dialog or Window.
Definition
menudef.h:44
MuttWindow
Definition
mutt_window.h:129
NeoMutt
Container for Accounts, Notifications.
Definition
neomutt.h:41
SubMenu
Collection of related functions.
Definition
menudef.h:33