31#include "docs/makedoc_defs.h"
50 {
"accept", OP_MIX_USE },
51 {
"append", OP_MIX_APPEND },
52 {
"chain-next", OP_MIX_CHAIN_NEXT },
53 {
"chain-prev", OP_MIX_CHAIN_PREV },
54 {
"delete", OP_MIX_DELETE },
56 {
"insert", OP_MIX_INSERT },
67 { OP_GENERIC_SELECT_ENTRY,
"<space>" },
68 { OP_MIX_APPEND,
"a" },
69 { OP_MIX_CHAIN_NEXT,
"<right>" },
70 { OP_MIX_CHAIN_NEXT,
"l" },
71 { OP_MIX_CHAIN_PREV,
"<left>" },
72 { OP_MIX_CHAIN_PREV,
"h" },
73 { OP_MIX_DELETE,
"d" },
74 { OP_MIX_INSERT,
"i" },
75 { OP_MIX_USE,
"<keypadenter>" },
185 if (!win || !win->
wdata)
Convenience wrapper for the core headers.
const char * dispatcher_get_retval_name(int rv)
Get the name of a return value.
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_DONE
Exit the Dialog.
@ FR_UNKNOWN
Unknown function.
@ FR_ERROR
Valid function - error occurred.
@ FR_NO_ACTION
Valid function - no action performed.
static int op_exit(struct AliasMenuData *mdata, int op)
exit this menu - Implements alias_function_t -
int mix_function_dispatcher(struct MuttWindow *win, int op)
Perform a Mixmaster function - Implements function_dispatcher_t -.
#define mutt_debug(LEVEL,...)
static int op_mix_insert(struct MixmasterPrivateData *priv, int op)
insert a remailer into the chain - Implements mixmaster_function_t -
static int op_mix_delete(struct MixmasterPrivateData *priv, int op)
delete a remailer from the chain - Implements mixmaster_function_t -
static int op_mix_chain_prev(struct MixmasterPrivateData *priv, int op)
select the previous element of the chain - Implements mixmaster_function_t -
static int op_mix_chain_next(struct MixmasterPrivateData *priv, int op)
select the next element of the chain - Implements mixmaster_function_t -
static int op_mix_use(struct MixmasterPrivateData *priv, int op)
accept the chain constructed - Implements mixmaster_function_t -
static int op_mix_append(struct MixmasterPrivateData *priv, int op)
append a remailer to the chain - Implements mixmaster_function_t -
Convenience wrapper for the gui headers.
@ LL_DEBUG1
Log at debug level 1.
const struct MenuFuncOp OpMixmaster[]
Functions for the Mixmaster Menu.
const struct MenuOpSeq MixmasterDefaultBindings[]
Key bindings for the Mixmaster Menu.
static const struct MixmasterFunction MixmasterFunctions[]
All the NeoMutt functions that the Mixmaster supports.
Convenience wrapper for the library headers.
const char * opcodes_get_name(int op)
Get the name of an opcode.
mixmaster_function_t function
Function to call.
int op
Op code, e.g. OP_MIX_USE.
Private state data for the Mixmaster.
struct MuttWindow * win_chain
Chain Window.
struct MuttWindow * win_hosts
Hosts Window.
void * wdata
Private data.
bool win_chain_prev(struct MuttWindow *win)
Select the previous entry in the Chain list.
bool win_chain_insert(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, before the current item.
bool win_chain_delete(struct MuttWindow *win)
Delete the current item from the Chain.
bool win_chain_next(struct MuttWindow *win)
Select the next entry in the Chain list.
bool win_chain_validate(struct MuttWindow *win)
Validate the Chain.
bool win_chain_append(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, after the current item.
int win_chain_get_length(struct MuttWindow *win)
Get the number of Remailers in the Chain.
struct Remailer * win_hosts_get_selection(struct MuttWindow *win)
Get the current selection.