|
static bool | is_function (const char *name) |
| Is the argument a neomutt function?
|
|
int | parse_grouplist (struct GroupList *gl, struct Buffer *buf, struct Buffer *s, struct Buffer *err) |
| Parse a group context.
|
|
enum CommandResult | parse_rc_line_cwd (const char *line, char *cwd, struct Buffer *err) |
| Parse and run a muttrc line in a relative directory.
|
|
char * | mutt_get_sourced_cwd (void) |
| Get the current file path that is being parsed.
|
|
int | source_rc (const char *rcfile_path, struct Buffer *err) |
| Read an initialization file.
|
|
static enum CommandResult | parse_cd (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'cd' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_echo (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'echo' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_finish (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'finish' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_group (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'group' and 'ungroup' commands - Implements Command::parse() -.
|
|
static enum CommandResult | parse_ifdef (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'ifdef' and 'ifndef' commands - Implements Command::parse() -.
|
|
static enum CommandResult | parse_ignore (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'ignore' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_lists (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'lists' command - Implements Command::parse() -.
|
|
static enum CommandResult | mailbox_add (const char *folder, const char *mailbox, const char *label, enum TriBool poll, enum TriBool notify, struct Buffer *err) |
| Add a new Mailbox.
|
|
bool | mailbox_add_simple (const char *mailbox, struct Buffer *err) |
| Add a new Mailbox.
|
|
enum CommandResult | parse_mailboxes (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'mailboxes' command - Implements Command::parse() -.
|
|
enum CommandResult | parse_my_hdr (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'my_hdr' command - Implements Command::parse() -.
|
|
enum CommandResult | set_dump (ConfigDumpFlags flags, struct Buffer *err) |
| Dump list of config variables into a file/pager.
|
|
static int | envlist_sort (const void *a, const void *b, void *sdata) |
| Compare two environment strings - Implements sort_t -.
|
|
static enum CommandResult | parse_setenv (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'setenv' and 'unsetenv' commands - Implements Command::parse() -.
|
|
static enum CommandResult | parse_source (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'source' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_nospam (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'nospam' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_spam (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'spam' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_stailq (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse a list command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_subscribe (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'subscribe' command - Implements Command::parse() -.
|
|
enum CommandResult | parse_subscribe_to (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'subscribe-to' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_tag_formats (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'tag-formats' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_tag_transforms (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'tag-transforms' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_unignore (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unignore' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_unlists (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unlists' command - Implements Command::parse() -.
|
|
static void | do_unmailboxes (struct Mailbox *m) |
| Remove a Mailbox from the Sidebar/notifications.
|
|
static void | do_unmailboxes_star (void) |
| Remove all Mailboxes from the Sidebar/notifications.
|
|
enum CommandResult | parse_unmailboxes (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unmailboxes' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_unmy_hdr (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unmy_hdr' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_unstailq (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse an unlist command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_unsubscribe (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unsubscribe' command - Implements Command::parse() -.
|
|
enum CommandResult | parse_unsubscribe_from (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'unsubscribe-from' command - Implements Command::parse() -.
|
|
static enum CommandResult | parse_version (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
| Parse the 'version' command - Implements Command::parse() -.
|
|
void | source_stack_cleanup (void) |
| Free memory from the stack used for the source command.
|
|
void | commands_init (void) |
| Initialize commands array and register default commands.
|
|
Functions to parse commands in a config file.
- Authors
- Michael R. Elkins
- g10 Code GmbH
- Richard Russon
- Aditya De Saha
- Matthew Hughes
- R Primus
- Pietro Cerutti
- Marco Sirabella
- Dennis Schön
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file commands.c.