NeoMutt  2025-12-11-276-g10b23b
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
smime_functions.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_NCRYPT_SMIME_FUNCTIONS_H
24#define MUTT_NCRYPT_SMIME_FUNCTIONS_H
25
26#include <stdbool.h>
27
28struct KeyEvent;
29struct MuttWindow;
30
35{
36 bool done;
37 struct Menu *menu;
38 struct SmimeKeyArray *ska;
39 struct SmimeKey *key;
40};
41
55typedef int (*smime_function_t)(struct SmimeData *sd, const struct KeyEvent *event);
56
65
66int smime_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
67
68#endif /* MUTT_NCRYPT_SMIME_FUNCTIONS_H */
int smime_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform a Smime function - Implements function_dispatcher_t -.
int(* smime_function_t)(struct SmimeData *sd, const struct KeyEvent *event)
An event such as a keypress.
Definition get.h:50
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 SmimeKeyArray * ska
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:42