50 if (!adata || !adata->
menu)
64 char tmp[128] = { 0 };
111 { -1, -1, NULL, NULL },
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
unsigned long cum_attachs_size(struct ConfigSubset *sub, struct ComposeAttachData *adata)
Cumulative Attachments Size.
const struct ExpandoRenderCallback ComposeRenderCallbacks[]
Callbacks for Compose Expandos.
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
@ ED_COMPOSE
Compose ED_COM_ ExpandoDataCompose.
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
char * ShortHostname
Short version of the hostname.
static long compose_attach_count_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Compose: Number of attachments - Implements get_number_t -.
static long compose_attach_size_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Compose: Size in bytes - Implements get_number_t -.
static void compose_attach_size(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Size in bytes - Implements get_string_t -.
static void global_hostname(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Hostname - Implements get_string_t -.
static void global_version(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Compose: Version - Implements get_string_t -.
Data shared between Index, Pager and Sidebar.
Convenience wrapper for the library headers.
const char * mutt_make_version(void)
Generate the NeoMutt version string.
void mutt_str_pretty_size(char *buf, size_t buflen, size_t num)
Display an abbreviated size, like 3.4K.
Some miscellaneous functions.
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
Data to fill the Compose Attach Window.
struct Menu * menu
Menu displaying the attachments.
struct ConfigSubset * sub
Config set to use.
int flags
Flags, e.g. MUTT_COMPOSE_NOFREEHEADER.
struct ComposeAttachData * adata
Attachments.
@ ED_GLO_VERSION
NeoMutt version.
@ ED_GLO_HOSTNAME
Local hostname.