NeoMutt  2024-11-14-34-g5aaf0d
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#include "crypt_gpgme.h"
28
29struct CryptKeyInfo;
30struct MuttWindow;
31
36{
37 bool done;
38 struct Menu *menu;
39 struct CryptKeyInfoArray *key_table;
40 struct CryptKeyInfo *key;
42};
43
54typedef int (*gpgme_function_t)(struct GpgmeData *gd, int op);
55
60{
61 int op;
63};
64
65bool crypt_keys_are_valid(struct CryptKeyInfo *keys);
66int gpgme_function_dispatcher(struct MuttWindow *win, int op);
67
68#endif /* MUTT_NCRYPT_GPGME_FUNCTIONS_H */
Wrapper for PGP/SMIME calls to GPGME.
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:45
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.
Definition: lib.h:79