NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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
60int autocrypt_function_dispatcher(struct MuttWindow *win, int op);
61
62#endif /* MUTT_AUTOCRYPT_FUNCTIONS_H */
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:203
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:79