NeoMutt
2025-12-11-911-gd8d604
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_SIDEBAR_FUNCTIONS_H
24
#define MUTT_SIDEBAR_FUNCTIONS_H
25
26
#include "
key/lib.h
"
27
31
struct
SidebarFunctionData
32
{
33
struct
NeoMutt
*
n
;
34
struct
SidebarModuleData
*
mod_data
;
35
struct
SidebarWindowData
*
wdata
;
36
};
37
51
typedef
int (*
sidebar_function_t
)(
struct
SidebarFunctionData
*fdata,
const
struct
KeyEvent
*event);
52
56
struct
SidebarFunction
57
{
58
int
op
;
59
sidebar_function_t
function
;
60
};
61
62
#endif
/* MUTT_SIDEBAR_FUNCTIONS_H */
lib.h
Manage keymappings.
sidebar_function_t
int(* sidebar_function_t)(struct SidebarFunctionData *fdata, const struct KeyEvent *event)
Definition
functions.h:51
KeyEvent
An event such as a keypress.
Definition
get.h:75
NeoMutt
Container for Accounts, Notifications.
Definition
neomutt.h:41
SidebarFunctionData
Data passed to Sidebar worker functions.
Definition
functions.h:32
SidebarFunctionData::wdata
struct SidebarWindowData * wdata
Sidebar window data.
Definition
functions.h:35
SidebarFunctionData::n
struct NeoMutt * n
NeoMutt application data.
Definition
functions.h:33
SidebarFunctionData::mod_data
struct SidebarModuleData * mod_data
Sidebar module data.
Definition
functions.h:34
SidebarFunction
A NeoMutt function.
Definition
functions.h:57
SidebarFunction::op
int op
Op code, e.g. OP_SIDEBAR_NEXT.
Definition
functions.h:58
SidebarFunction::function
sidebar_function_t function
Function to call.
Definition
functions.h:59
SidebarModuleData
Sidebar private Module data.
Definition
module_data.h:32
SidebarWindowData
Sidebar private Window data -.
Definition
private.h:89