60 if ((*pkey)->trust !=
't')
63 switch ((*pkey)->trust)
68 s =
_(
"ID is expired/disabled/revoked. Do you really want to use the key?");
71 s =
_(
"ID has undefined validity. Do you really want to use the key?");
74 s =
_(
"ID is not trusted. Do you really want to use the key?");
78 char buf[1024] = { 0 };
79 snprintf(buf,
sizeof(buf),
"%s", s);
113 if (!dlg || !dlg->
wdata)
#define ARRAY_GET(head, idx)
Return the element at index.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
const char * dispatcher_get_retval_name(int rv)
Get the name of a return value.
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_UNKNOWN
Unknown function.
@ FR_ERROR
Valid function - error occurred.
@ FR_NO_ACTION
Valid function - no action performed.
int smime_function_dispatcher(struct MuttWindow *win, int op)
Perform a Smime function - Implements function_dispatcher_t -.
#define mutt_debug(LEVEL,...)
static int op_exit(struct SmimeData *sd, int op)
Exit this menu - Implements smime_function_t -.
static int op_generic_select_entry(struct SmimeData *sd, int op)
Select the current entry - Implements smime_function_t -.
Convenience wrapper for the gui headers.
@ LL_DEBUG1
Log at debug level 1.
Convenience wrapper for the library headers.
void mutt_clear_error(void)
Clear the message line (bottom line of screen)
const char * opcodes_get_name(int op)
Get the name of an opcode.
@ MUTT_NO
User answered 'No', or assume 'No'.
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
enum QuadOption query_yesorno(const char *prompt, enum QuadOption def)
Ask the user a Yes/No question.
static const struct SmimeFunction SmimeFunctions[]
All the NeoMutt functions that the Smime supports.
void * wdata
Private data.
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.
smime_function_t function
Function to call.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.