60 return (op != OP_NULL);
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".
Color and attribute parsing.
const struct Mapping ColorFields[]
Mapping of colour names to their IDs.
CommandResult
Error codes for command_t parse functions.
@ MUTT_CMD_SUCCESS
Success: Command worked.
@ MUTT_CMD_ERROR
Error: Can't help the user.
@ MUTT_CMD_WARNING
Warning: Help given to the user.
@ MUTT_CMD_FINISH
Finish: Stop processing this file.
Convenience wrapper for the config headers.
const struct Command * commands_get(struct CommandArray *ca, const char *name)
Get a Command by its name.
Convenience wrapper for the core headers.
enum CommandResult parse_finish(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'finish' command - Implements Command::parse() -.
enum CommandResult parse_ifdef(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'ifdef' and 'ifndef' commands - Implements Command::parse() -.
Convenience wrapper for the gui headers.
static bool is_color_object(const char *name)
Is the argument a neomutt colour?
static bool is_function(const char *name)
Is the argument a neomutt function?
int mutt_map_get_value(const char *name, const struct Mapping *map)
Lookup the constant for a string.
Convenience wrapper for the library headers.
const char * mutt_str_getenv(const char *name)
Get an environment variable.
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.
enum CommandResult parse_rc_line(struct Buffer *line, struct ParseContext *pc, struct ParseError *pe)
Parse a line of user config.
bool store_is_valid_backend(const char *str)
Is the string a valid Store backend.
String manipulation buffer.
const char * name
Name of the Command.
enum CommandId id
ID of the Command.
Container for Accounts, Notifications.
struct CommandArray commands
NeoMutt commands.
struct ConfigSubset * sub
Inherited config items.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
struct Buffer * message
Error message.
struct HashElem * cs_subset_lookup(const struct ConfigSubset *sub, const char *name)
Find an inherited config item.
bool feature_enabled(const char *name)
Test if a compile-time feature is enabled.
Display version and copyright about NeoMutt.