44 const struct Email *e = data;
57 const struct Email *e = data;
60 char tmp[128] = { 0 };
66 if ((p = strpbrk(tmp,
"%@")))
81 const struct Email *e = data;
85 char tmp[128] = { 0 };
99 if ((p = strpbrk(tmp,
" %@")))
115 { -1, -1, NULL, NULL },
const char * mutt_addr_for_display(const struct Address *a)
Convert an Address for display purposes.
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
@ ED_ENVELOPE
Envelope ED_ENV_ ExpandoDataEnvelope.
Structs that make up an email.
const char * mutt_get_name(const struct Address *a)
Pick the best name to display from an address.
@ ED_ENV_REAL_NAME
Envelope.to (first)
@ ED_ENV_USER_NAME
Envelope.to (first)
@ ED_ENV_FIRST_NAME
Envelope.from, Envelope.to, Envelope.cc.
static void greeting_login_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: Login name - Implements get_string_t -.
static void greeting_real_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: Real name - Implements get_string_t -.
static void greeting_first_name(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Greeting: First name - Implements get_string_t -.
Convenience wrapper for the library headers.
size_t mutt_str_copy(char *dest, const char *src, size_t dsize)
Copy a string into a buffer (guaranteeing NUL-termination)
#define TAILQ_FIRST(head)
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
const struct ExpandoRenderCallback GreetingRenderCallbacks[]
Callbacks for Greeting Expandos.
String manipulation buffer.
The envelope/body of an email.
struct Envelope * env
Envelope information.
struct AddressList to
Email's 'To' list.
struct AddressList cc
Email's 'Cc' list.