60 const char *s = alias->
name;
169 const char *s = av->
is_tagged ?
"*" :
" ";
198 { -1, -1, NULL, NULL },
216 { -1, -1, NULL, NULL },
size_t mutt_addrlist_write(const struct AddressList *al, struct Buffer *buf, bool display)
Write an Address to a buffer.
void alias_tags_to_buffer(struct TagList *tl, struct Buffer *buf)
Write a comma-separated list of tags to a Buffer.
const struct ExpandoRenderCallback AliasRenderCallbacks[]
Callbacks for Alias Expandos.
const struct ExpandoRenderCallback QueryRenderCallbacks[]
Callbacks for Query Expandos.
@ ED_ALI_FLAGS
Alias.flags.
@ ED_ALI_EMAIL
Alias.addr.mailbox.
@ ED_ALI_NUMBER
AliasView.num.
@ ED_ALI_NAME
Alias.addr.personal.
@ ED_ALI_ALIAS
Alias.name.
@ ED_ALI_ADDRESS
Alias.addr.
@ ED_ALI_COMMENT
Alias.comment.
@ ED_ALI_TAGGED
AliasView.tagged.
Representation of a single alias to an email address.
int buf_add_printf(struct Buffer *buf, const char *fmt,...)
Format a string appending a Buffer.
size_t buf_addstr(struct Buffer *buf, const char *s)
Add a string to a Buffer.
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
@ ED_ALIAS
Alias ED_ALI_ ExpandoDataAlias.
static long alias_view_index_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Index number - Implements get_number_t -.
static long alias_view_tagged_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Tagged char - Implements get_number_t -.
static long alias_view_flags_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
AliasView: Flags - Implements get_number_t -.
static void alias_email(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Email Address - Implements get_string_t -.
static void alias_comment(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Comment - Implements get_string_t -.
static void alias_tags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Tags - Implements get_string_t -.
static void alias_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Personal Name - Implements get_string_t -.
static void alias_address(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Full Address - Implements get_string_t -.
static void alias_alias(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Alias: Alias name - Implements get_string_t -.
static void alias_view_tagged(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
AliasView: Tagged char - Implements get_string_t -.
static void alias_view_flags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
AliasView: Flags - Implements get_string_t -.
Shared code for the Alias and Query Dialogs.
Convenience wrapper for the library headers.
#define TAILQ_FOREACH(var, head, field)
#define TAILQ_NEXT(elm, field)
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
struct Buffer * personal
Real name of address.
struct Buffer * mailbox
Mailbox and host address.
GUI data wrapping an Alias.
struct Alias * alias
Alias.
bool is_deleted
Is it deleted?
bool is_tagged
Is it tagged?
int num
Index number in list.
A shortcut for an email address or addresses.
char * comment
Free-form comment string.
struct AddressList addr
List of Addresses the Alias expands to.
String manipulation buffer.