NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
gpgme_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_GPGME_FUNCTIONS_H
24#define MUTT_GPGME_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
34{
35 bool done;
36 struct Menu *menu;
38 struct CryptKeyInfo *key;
40};
41
52typedef int (*gpgme_function_t)(struct GpgmeData *gd, int op);
53
58{
59 int op;
61};
62
63extern struct GpgmeFunction GpgmeFunctions[];
64
65int gpgme_function_dispatcher(struct MuttWindow *win, int op);
66
67#endif /* MUTT_GPGME_FUNCTIONS_H */
struct GpgmeFunction GpgmeFunctions[]
All the NeoMutt functions that the Gpgme supports.
int(* gpgme_function_t)(struct GpgmeData *gd, int op)
int gpgme_function_dispatcher(struct MuttWindow *win, int op)
Perform a Gpgme function - Implements function_dispatcher_t -.
A stored PGP key.
Definition: crypt_gpgme.h:44
Data to pass to the Gpgme Functions.
bool * forced_valid
User insists on out-of-date key.
struct CryptKeyInfo * key
Selected Key.
struct CryptKeyInfo ** key_table
Array of Keys.
bool done
Should we close the Dialog?
struct Menu * menu
Gpgme Menu.
A NeoMutt function.
gpgme_function_t function
Function to call.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition: lib.h:69