Prototype for a Mixmaster Function.
More...
Prototype for a Mixmaster Function.
- Parameters
-
priv | Mixmaster private data |
op | Operation to perform, e.g. OP_MIXMASTER_NEXT |
- Return values
-
◆ op_exit()
◆ op_mix_append()
append a remailer to the chain - Implements mixmaster_function_t -
Definition at line 94 of file functions.c.
95{
98
100}
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_ERROR
Valid function - error occurred.
struct MuttWindow * win_chain
Chain Window.
struct MuttWindow * win_hosts
Hosts Window.
bool win_chain_append(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, after the current item.
struct Remailer * win_hosts_get_selection(struct MuttWindow *win)
Get the current selection.
◆ op_mix_chain_next()
select the next element of the chain - Implements mixmaster_function_t -
Definition at line 105 of file functions.c.
106{
109
111}
bool win_chain_next(struct MuttWindow *win)
Select the next entry in the Chain list.
◆ op_mix_chain_prev()
select the previous element of the chain - Implements mixmaster_function_t -
Definition at line 116 of file functions.c.
117{
120
122}
bool win_chain_prev(struct MuttWindow *win)
Select the previous entry in the Chain list.
◆ op_mix_delete()
delete a remailer from the chain - Implements mixmaster_function_t -
Definition at line 127 of file functions.c.
128{
131
133}
bool win_chain_delete(struct MuttWindow *win)
Delete the current item from the Chain.
◆ op_mix_insert()
insert a remailer into the chain - Implements mixmaster_function_t -
Definition at line 138 of file functions.c.
139{
142
144}
bool win_chain_insert(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, before the current item.
◆ op_mix_use()
accept the chain constructed - Implements mixmaster_function_t -
Definition at line 149 of file functions.c.
150{
151
154
157
159}
@ FR_DONE
Exit the Dialog.
static int op_mix_insert(struct MixmasterPrivateData *priv, int op)
insert a remailer into the chain - Implements mixmaster_function_t -
bool win_chain_validate(struct MuttWindow *win)
Validate the Chain.
int win_chain_get_length(struct MuttWindow *win)
Get the number of Remailers in the Chain.