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_AUTOCRYPT_FUNCTIONS_H
24
#define MUTT_AUTOCRYPT_FUNCTIONS_H
25
26
struct
AutocryptData
;
27
struct
KeyEvent
;
28
struct
MuttWindow
;
29
43
typedef
int (*
autocrypt_function_t
)(
struct
AutocryptData
*pd,
const
struct
KeyEvent
*event);
44
48
struct
AutocryptFunction
49
{
50
int
op
;
51
autocrypt_function_t
function
;
52
};
53
54
int
autocrypt_function_dispatcher
(
struct
MuttWindow
*win,
const
struct
KeyEvent
*event);
55
56
#endif
/* MUTT_AUTOCRYPT_FUNCTIONS_H */
autocrypt_function_t
int(* autocrypt_function_t)(struct AutocryptData *pd, const struct KeyEvent *event)
Definition
functions.h:43
autocrypt_function_dispatcher
int autocrypt_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Autocrypt function - Implements function_dispatcher_t -.
Definition
functions.c:241
AutocryptData
Data to pass to the Autocrypt Functions.
Definition
autocrypt_data.h:35
AutocryptFunction
A NeoMutt function.
Definition
functions.h:49
AutocryptFunction::function
autocrypt_function_t function
Function to call.
Definition
functions.h:51
AutocryptFunction::op
int op
Op code, e.g. OP_AUTOCRYPT_CREATE_ACCT.
Definition
functions.h:50
KeyEvent
An event such as a keypress.
Definition
get.h:75
MuttWindow
Definition
mutt_window.h:129