NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
gpgme_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_NCRYPT_GPGME_FUNCTIONS_H
24#define MUTT_NCRYPT_GPGME_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct CryptKeyInfo;
29struct MuttWindow;
30
35{
36 bool done;
37 struct Menu *menu;
39 struct CryptKeyInfo *key;
41};
42
53typedef int (*gpgme_function_t)(struct GpgmeData *gd, int op);
54
59{
60 int op;
62};
63
64bool crypt_keys_are_valid(struct CryptKeyInfo *keys);
65int gpgme_function_dispatcher(struct MuttWindow *win, int op);
66
67#endif /* MUTT_NCRYPT_GPGME_FUNCTIONS_H */
bool crypt_keys_are_valid(struct CryptKeyInfo *keys)
Are all these keys valid?
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:79