int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
CommandResult
Error codes for command_t parse functions.
@ MUTT_CMD_SUCCESS
Success: Command worked.
@ MUTT_CMD_WARNING
Warning: Help given to the user.
Convenience wrapper for the core headers.
Email private Module data.
enum CommandResult parse_unignore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unignore' command - Implements Command::parse() -.
enum CommandResult parse_ignore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'ignore' command - Implements Command::parse() -.
void remove_from_stailq(struct ListHead *head, const char *str)
Remove an item, matching a string, from a List.
void add_to_stailq(struct ListHead *head, const char *str)
Add a string to a list.
@ MODULE_ID_EMAIL
ModuleEmail, Email code
Convenience wrapper for the library headers.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
String manipulation buffer.
const char * name
Name of the Command.
Email private Module data.
struct ListHead unignore
Header patterns to unignore.
struct ListHead ignore
Header patterns to ignore.
Container for Accounts, Notifications.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
struct Buffer * message
Error message.