70 static char capbuf[10];
114 int max_cols,
struct Buffer *buf)
116 const struct Remailer *remailer = data;
118 const char *s = remailer->
addr;
126 int max_cols,
struct Buffer *buf)
128 const struct Remailer *remailer = data;
139 const struct Remailer *remailer = data;
141 return remailer->
num;
148 int max_cols,
struct Buffer *buf)
150 const struct Remailer *remailer = data;
163 struct RemailerArray *ra = menu->
mdata;
188 win_hosts->
focus = win_hosts;
208 if (!win || !win->
wdata)
215 struct RemailerArray *ra = menu->
mdata;
239 { -1, -1, NULL, NULL },
#define ARRAY_SIZE(head)
The number of elements stored.
#define ARRAY_GET(head, idx)
Return the element at index.
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
const struct Expando * cs_subset_expando(const struct ConfigSubset *sub, const char *name)
Get an Expando config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
size_t mutt_strwidth(const char *s)
Measure a string's width in screen cells.
@ ED_MIXMASTER
Mixmaster ED_MIX_ ExpandoDataMixmaster.
int expando_render(const struct Expando *exp, const struct ExpandoRenderData *rdata, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Render an Expando + data into a string.
long mix_n_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Mixmaster: Index number - Implements ExpandoRenderData::get_number -.
void mix_s(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Mixmaster: Short name - Implements ExpandoRenderData::get_string -.
void mix_c(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Mixmaster: Capabilities - Implements ExpandoRenderData::get_string -.
void mix_a(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Mixmaster: Email address - Implements ExpandoRenderData::get_string -.
Convenience wrapper for the gui headers.
Convenience wrapper for the library headers.
#define MIX_CAP_MIDDLEMAN
Must be a middle-man (not at the end of a chain)
#define MIX_CAP_NEWSMAIL
Supports posting to Usenet through a mail-to-news gateway.
@ ED_MIX_ADDRESS
Remailer.addr.
@ ED_MIX_CAPABILITIES
Remailer, mix_format_caps()
@ ED_MIX_SHORT_NAME
Remailer.shortname.
@ ED_MIX_NUMBER
Remailer.num.
#define MIX_CAP_COMPRESS
Accepts compressed messages.
#define MIX_CAP_NEWSPOST
Supports direct posting to Usenet.
#define MUTT_FORMAT_ARROWCURSOR
Reserve space for arrow_cursor.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
struct MuttWindow * focus
Focused Window.
void * wdata
Private data.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
char * addr
Address of host.
char * shortname
Short name of remailer host.
MixCapFlags caps
Capabilities of host.
@ MENU_MIXMASTER
Create/edit a Mixmaster chain.
struct MuttWindow * win_hosts_new(struct RemailerArray *ra)
Create a new Hosts Window.
struct Remailer * win_hosts_get_selection(struct MuttWindow *win)
Get the current selection.
static const char * mix_format_caps(const struct Remailer *r)
Turn flags into a MixMaster capability string.
const struct ExpandoRenderData MixRenderData[]
Callbacks for Mixmaster Expandos.