CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
Parse and execute user-defined hooks.
uint32_t HookFlags
Flags for mutt_parse_hook(), e.g. MUTT_FOLDER_HOOK.
int mutt_extract_token(struct Buffer *dest, struct Buffer *tok, TokenFlags flags)
Extract one token from a string.
enum CommandResult mutt_parse_rc_line(const char *line, struct Buffer *err)
Parse a line of user config.
int mutt_var_value_complete(char *buf, size_t buflen, int pos)
Complete a variable/value.
bool mutt_nm_query_complete(char *buf, size_t buflen, int pos, int numtabs)
Complete to the nearest notmuch tag.
enum CommandResult mutt_parse_rc_buffer(struct Buffer *line, struct Buffer *token, struct Buffer *err)
Parse a line of user config.
HookFlags mutt_get_hook_type(const char *name)
Find a hook by name.
int mutt_label_complete(char *buf, size_t buflen, int numtabs)
Complete a label name.
void init_config(struct ConfigSet *cs)
Initialise the config system.
int mutt_query_variables(struct ListHead *queries, bool show_docs)
Implement the -Q command line flag.
bool mutt_nm_tag_complete(char *buf, size_t buflen, int numtabs)
Complete to the nearest notmuch tag.
void mutt_opts_free(void)
Clean up before quitting.
int mutt_init(struct ConfigSet *cs, bool skip_sys_rc, struct ListHead *commands)
Initialise NeoMutt.
int mutt_command_complete(char *buf, size_t buflen, int pos, int numtabs)
Complete a command name.
Many unsorted constants and some structs.
uint16_t TokenFlags
Flags for mutt_extract_token(), e.g. MUTT_TOKEN_EQUAL.
struct CommandArray commands
String manipulation buffer.
Container for lots of config items.