NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_AUTOCRYPT_FUNCTIONS_H
24#define MUTT_AUTOCRYPT_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
34{
35 bool done;
36 struct Menu *menu;
37};
38
49typedef int (*autocrypt_function_t)(struct AutocryptData *pd, int op);
50
55{
56 int op;
58};
59
61
62int autocrypt_function_dispatcher(struct MuttWindow *win, int op);
63
64#endif /* MUTT_AUTOCRYPT_FUNCTIONS_H */
struct AutocryptFunction AutocryptFunctions[]
All the NeoMutt functions that the Autocrypt supports.
Definition: functions.c:155
int(* autocrypt_function_t)(struct AutocryptData *pd, int op)
Definition: functions.h:49
int autocrypt_function_dispatcher(struct MuttWindow *win, int op)
Perform a Autocrypt function - Implements function_dispatcher_t -.
Definition: functions.c:169
Data to pass to the Autocrypt Functions.
Definition: functions.h:34
bool done
Should we close the Dialog?
Definition: functions.h:35
struct Menu * menu
Autocrypt Menu.
Definition: functions.h:36
A NeoMutt function.
Definition: functions.h:55
autocrypt_function_t function
Function to call.
Definition: functions.h:57
int op
Op code, e.g. OP_AUTOCRYPT_CREATE_ACCT.
Definition: functions.h:56
Definition: lib.h:69