57 if (cur_key->
trust !=
't')
60 switch (cur_key->
trust)
65 s =
_(
"ID is expired/disabled/revoked. Do you really want to use the key?");
68 s =
_(
"ID has undefined validity. Do you really want to use the key?");
71 s =
_(
"ID is not trusted. Do you really want to use the key?");
75 char buf[1024] = { 0 };
76 snprintf(buf,
sizeof(buf),
"%s", s);
108 if (!win || !win->
wdata)
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 SmimeKey ** table
Array of Keys.
smime_function_t function
Function to call.
int op
Op code, e.g. OP_GENERIC_SELECT_ENTRY.
char trust
i=Invalid r=revoked e=expired u=unverified v=verified t=trusted