NeoMutt  2024-11-14-34-g5aaf0d
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#include "smime.h"
28
29struct MuttWindow;
30
35{
36 bool done;
37 struct Menu *menu;
38 struct SmimeKeyArray *ska;
39 struct SmimeKey *key;
40};
41
52typedef int (*smime_function_t)(struct SmimeData *sd, int op);
53
58{
59 int op;
61};
62
63int smime_function_dispatcher(struct MuttWindow *win, int op);
64
65#endif /* MUTT_NCRYPT_SMIME_FUNCTIONS_H */
int smime_function_dispatcher(struct MuttWindow *win, int op)
Perform a Smime function - Implements function_dispatcher_t -.
SMIME helper routines.
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 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:44