81 {
N_(
"Append"), OP_MIX_APPEND },
82 {
N_(
"Insert"), OP_MIX_INSERT },
83 {
N_(
"Delete"), OP_MIX_DELETE },
84 {
N_(
"Abort"), OP_EXIT },
85 {
N_(
"OK"), OP_MIX_USE },
124 if (ev_w->
win != dlg)
141 struct RemailerArray *ra)
#define ARRAY_EMPTY(head)
Check if an array is empty.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
void dialog_push(struct MuttWindow *dlg)
Display a Window to the user.
void dialog_pop(void)
Hide a Window from the user.
@ FR_DONE
Exit the Dialog.
@ FR_UNKNOWN
Unknown function.
@ FR_NO_ACTION
Valid function - no action performed.
static struct MuttWindow * mix_dlg_new(struct MixmasterPrivateData *priv, struct RemailerArray *ra)
Create a new Mixmaster Remailer Dialog.
static const struct Mapping RemailerHelp[]
Help Bar for the Mixmaster dialog.
int km_dokey(enum MenuType mtype, GetChFlags flags)
Determine what a keypress should do.
void km_error_key(enum MenuType mtype)
Handle an unbound key sequence.
int menu_tagging_dispatcher(struct MuttWindow *win, int op)
Perform tagging operations on the Menu - Implements function_dispatcher_t -.
int global_function_dispatcher(struct MuttWindow *win, int op)
Perform a Global function - Implements function_dispatcher_t -.
int menu_function_dispatcher(struct MuttWindow *win, int op)
Perform a Menu function - Implements function_dispatcher_t -.
int mix_function_dispatcher(struct MuttWindow *win, int op)
Perform a Mixmaster function - Implements function_dispatcher_t -.
void dlg_mixmaster(struct ListHead *chainhead)
Create a Mixmaster chain -.
#define mutt_debug(LEVEL,...)
static int remailer_config_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
static int remailer_window_observer(struct NotifyCallback *nc)
Notification that a Window has changed - Implements observer_t -.
Convenience wrapper for the gui headers.
#define GETCH_NO_FLAGS
No flags are set.
void mutt_list_free(struct ListHead *h)
Free a List AND its strings.
@ LL_DEBUG5
Log at debug level 5.
@ LL_DEBUG1
Log at debug level 1.
Convenience wrapper for the library headers.
bool notify_observer_remove(struct Notify *notify, const observer_t callback, const void *global_data)
Remove an observer from an object.
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
void mutt_clear_error(void)
Clear the message line (bottom line of screen)
void window_redraw(struct MuttWindow *win)
Reflow, recalc and repaint a tree of Windows.
bool window_status_on_top(struct MuttWindow *panel, struct ConfigSubset *sub)
Organise windows according to config variable.
void mutt_window_free(struct MuttWindow **ptr)
Free a Window and its children.
void mutt_window_add_child(struct MuttWindow *parent, struct MuttWindow *child)
Add a child to Window.
struct MuttWindow * mutt_window_new(enum WindowType type, enum MuttWindowOrientation orient, enum MuttWindowSize size, int cols, int rows)
Create a new Window.
struct MuttWindow * window_set_focus(struct MuttWindow *win)
Set the Window focus.
@ WT_DLG_MIXMASTER
Mixmaster Dialog, dlg_mixmaster()
@ MUTT_WIN_ORIENT_VERTICAL
Window uses all available vertical space.
@ NT_WINDOW_DELETE
Window is about to be deleted.
#define MUTT_WIN_SIZE_UNLIMITED
Use as much space as possible.
@ MUTT_WIN_SIZE_MAXIMISE
Window wants as much space as possible.
@ NT_WINDOW
MuttWindow has changed, NotifyWindow, EventWindow.
@ NT_CONFIG
Config has changed, NotifyConfig, EventConfig.
const char * opcodes_get_name(int op)
Get the name of an opcode.
struct RemailerArray remailer_get_hosts(void)
Parse the type2.list as given by mixmaster -T.
void remailer_clear_hosts(struct RemailerArray *ra)
Clear a Remailer List.
struct MuttWindow * sbar_new(void)
Add the Simple Bar (status)
void sbar_set_title(struct MuttWindow *win, const char *title)
Set the title for the Simple Bar.
struct Notify * notify
Notifications: NotifyConfig, EventConfig.
const char * name
Name of config item that changed.
An Event that happened to a Window.
struct MuttWindow * win
Window that changed.
Mapping between user-readable string and a constant.
Private state data for the Mixmaster.
struct MuttWindow * win_chain
Chain Window.
struct MuttWindow * win_hosts
Hosts Window.
const struct Mapping * help_data
Data for the Help Bar.
void * wdata
Private data.
struct Notify * notify
Notifications: NotifyWindow, EventWindow.
int help_menu
Menu for key bindings, e.g. MENU_PAGER.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
Data passed to a notification function.
void * event_data
Data from notify_send()
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.
int event_subtype
Send: Event subtype, e.g. NT_ACCOUNT_ADD.
void * global_data
Data from notify_observer_add()
@ MENU_MIXMASTER
Create/edit a Mixmaster chain.
int win_chain_extract(struct MuttWindow *win, struct ListHead *chain)
Extract the Chain list data.
struct MuttWindow * win_chain_new(struct MuttWindow *win_cbar)
Create a new Chain list Window.
void win_chain_init(struct MuttWindow *win, struct ListHead *chain, struct RemailerArray *ra)
Initialise the Chain list Window.
struct MuttWindow * win_hosts_new(struct RemailerArray *ra)
Create a new Hosts Window.