NeoMutt  2024-03-23-147-g885fbc
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
smime_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_NCRYPT_SMIME_FUNCTIONS_H
24#define MUTT_NCRYPT_SMIME_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct MuttWindow;
29
34{
35 bool done;
36 struct Menu *menu;
37 struct SmimeKey **table;
38 struct SmimeKey *key;
39};
40
51typedef int (*smime_function_t)(struct SmimeData *sd, int op);
52
57{
58 int op;
60};
61
62int smime_function_dispatcher(struct MuttWindow *win, int op);
63
64#endif /* MUTT_NCRYPT_SMIME_FUNCTIONS_H */
int smime_function_dispatcher(struct MuttWindow *win, int op)
Perform a Smime function - Implements function_dispatcher_t -.
int(* smime_function_t)(struct SmimeData *sd, int op)
Definition: lib.h:79
Data to pass to the Smime Functions.
struct SmimeKey * key
Selected Key.
bool done
Should we close the Dialog?
struct Menu * menu
Smime Menu.
struct SmimeKey ** table
Array of Keys.
A NeoMutt function.
smime_function_t function
Function to call.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
An SIME key.
Definition: smime.h:43