NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
gpgme_functions.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_NCRYPT_GPGME_FUNCTIONS_H
24#define MUTT_NCRYPT_GPGME_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct CryptKeyInfo;
29struct KeyEvent;
30struct MuttWindow;
31
36{
37 bool done;
38 struct Menu *menu;
39 struct CryptKeyInfoArray *key_table;
40 struct CryptKeyInfo *key;
42};
43
57typedef int (*gpgme_function_t)(struct GpgmeData *gd, const struct KeyEvent *event);
58
67
68bool crypt_keys_are_valid(struct CryptKeyInfo *keys);
69int gpgme_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
70
71#endif /* MUTT_NCRYPT_GPGME_FUNCTIONS_H */
int(* gpgme_function_t)(struct GpgmeData *gd, const struct KeyEvent *event)
bool crypt_keys_are_valid(struct CryptKeyInfo *keys)
Are all these keys valid?
int gpgme_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Gpgme function - Implements function_dispatcher_t -.
A stored PGP key.
Definition crypt_gpgme.h:44
Data to pass to the Gpgme Functions.
struct CryptKeyInfoArray * key_table
Array of Keys.
bool * forced_valid
User insists on out-of-date key.
struct CryptKeyInfo * key
Selected Key.
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.
An event such as a keypress.
Definition get.h:50
Definition lib.h:80