NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
pgp_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_PGP_FUNCTIONS_H
24#define MUTT_PGP_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
33struct PgpData
34{
35 bool done;
36 struct Menu *menu;
37 struct PgpUid **key_table;
38 struct PgpKeyInfo *key;
39};
40
51typedef int (*pgp_function_t)(struct PgpData *pd, int op);
52
57{
58 int op;
60};
61
62extern struct PgpFunction PgpFunctions[];
63
64int pgp_function_dispatcher(struct MuttWindow *win, int op);
65
66#endif /* MUTT_PGP_FUNCTIONS_H */
int pgp_function_dispatcher(struct MuttWindow *win, int op)
Perform a Pgp function - Implements function_dispatcher_t -.
int(* pgp_function_t)(struct PgpData *pd, int op)
Definition: pgp_functions.h:51
struct PgpFunction PgpFunctions[]
All the NeoMutt functions that the Pgp supports.
Definition: lib.h:69
Data to pass to the Pgp Functions.
Definition: pgp_functions.h:34
struct PgpUid ** key_table
Array of Keys.
Definition: pgp_functions.h:37
struct Menu * menu
Pgp Menu.
Definition: pgp_functions.h:36
bool done
Should we close the Dialog?
Definition: pgp_functions.h:35
struct PgpKeyInfo * key
Selected Key.
Definition: pgp_functions.h:38
A NeoMutt function.
Definition: pgp_functions.h:57
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition: pgp_functions.h:58
pgp_function_t function
Function to call.
Definition: pgp_functions.h:59
Information about a PGP key.
Definition: pgplib.h:47
PGP User ID.
Definition: pgplib.h:35