NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
pgp_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_NCRYPT_PGP_FUNCTIONS_H
24#define MUTT_NCRYPT_PGP_FUNCTIONS_H
25
26#include <stdbool.h>
27#include "pgplib.h"
28
29struct MuttWindow;
30
34struct PgpData
35{
36 bool done;
37 struct Menu *menu;
38 struct PgpUidArray *key_table;
39 struct PgpKeyInfo *key;
40};
41
52typedef int (*pgp_function_t)(struct PgpData *pd, int op);
53
58{
59 int op;
61};
62
63int pgp_function_dispatcher(struct MuttWindow *win, int op);
64
65#endif /* MUTT_NCRYPT_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:52
Misc PGP helper routines.
Definition: lib.h:79
Data to pass to the Pgp Functions.
Definition: pgp_functions.h:35
struct Menu * menu
Pgp Menu.
Definition: pgp_functions.h:37
bool done
Should we close the Dialog?
Definition: pgp_functions.h:36
struct PgpUidArray * key_table
Array of Keys.
Definition: pgp_functions.h:38
struct PgpKeyInfo * key
Selected Key.
Definition: pgp_functions.h:39
A NeoMutt function.
Definition: pgp_functions.h:58
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
Definition: pgp_functions.h:59
pgp_function_t function
Function to call.
Definition: pgp_functions.h:60
Information about a PGP key.
Definition: pgplib.h:48