NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
smime_functions.h
Go to the documentation of this file.
1
23#ifndef MUTT_SMIME_FUNCTIONS_H
24#define MUTT_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
62extern struct SmimeFunction SmimeFunctions[];
63
64int smime_function_dispatcher(struct MuttWindow *win, int op);
65
66#endif /* MUTT_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)
struct SmimeFunction SmimeFunctions[]
All the NeoMutt functions that the Smime supports.
Definition: lib.h:69
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:44