Function to parse a command. More...
Collaboration diagram for parse():Functions | |
| enum CommandResult | parse_alternates (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'alternates' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unalternates (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unalternates' command - Implements Command::parse() -. | |
| enum CommandResult | parse_alias (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'alias' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unalias (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unalias' command - Implements Command::parse() -. | |
| enum CommandResult | parse_attachments (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'attachments' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unattachments (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unattachments' command - Implements Command::parse() -. | |
| enum CommandResult | parse_mime_lookup (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'mime-lookup' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unmime_lookup (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unmime-lookup' command - Implements Command::parse() -. | |
| enum CommandResult | parse_uncolor_command (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse an 'uncolor' command - Implements Command::parse() -. | |
| enum CommandResult | parse_uncolor (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'uncolor' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unmono (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unmono' command - Implements Command::parse() -. | |
| enum CommandResult | parse_color (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'color' command - Implements Command::parse() -. | |
| enum CommandResult | parse_mono (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'mono' 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() -. | |
| 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_mailboxes (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'mailboxes' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unmailboxes (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unmailboxes' command - Implements Command::parse() -. | |
| enum CommandResult | parse_cd (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'cd' command - Implements Command::parse() -. | |
| enum CommandResult | parse_echo (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'echo' command - Implements Command::parse() -. | |
| enum CommandResult | parse_version (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'version' command - Implements Command::parse() -. | |
| enum CommandResult | parse_setenv (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'setenv' and 'unsetenv' commands - Implements Command::parse() -. | |
| enum CommandResult | parse_source (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'source' command - Implements Command::parse() -. | |
| enum CommandResult | parse_stailq (const struct Command *cmd, struct Buffer *line, struct ListHead *list, const struct ParseContext *pc, struct ParseError *pe) |
| Parse a list command - Implements Command::parse() -. | |
| enum CommandResult | parse_unstailq (const struct Command *cmd, struct Buffer *line, struct ListHead *list, const struct ParseContext *pc, struct ParseError *pe) |
| Parse an unlist command - Implements Command::parse() -. | |
| enum CommandResult | parse_list (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse a list command - Implements Command::parse() -. | |
| enum CommandResult | parse_unlist (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse an unlist command - Implements Command::parse() -. | |
| enum CommandResult | parse_tag_formats (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'tag-formats' command - Implements Command::parse() -. | |
| enum CommandResult | parse_tag_transforms (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'tag-transforms' command - Implements Command::parse() -. | |
| enum CommandResult | parse_group (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'group' and 'ungroup' commands - Implements Command::parse() -. | |
| enum CommandResult | parse_lists (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'lists' command - Implements Command::parse() -. | |
| enum CommandResult | parse_subscribe (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'subscribe' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unlists (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unlists' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unsubscribe (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unsubscribe' 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() -. | |
| 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_score (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'score' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unscore (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unscore' command - Implements Command::parse() -. | |
| enum CommandResult | parse_nospam (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'nospam' command - Implements Command::parse() -. | |
| enum CommandResult | parse_spam (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'spam' command - Implements Command::parse() -. | |
| enum CommandResult | parse_hooks (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'hooks' command - Implements Command::parse() -. | |
| enum CommandResult | parse_charset_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse charset Hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_global_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse global Hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_pattern_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse pattern-based Hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_mailbox_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse mailbox pattern hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_regex_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse regex-based hook command - Implements Command::parse() -. | |
| enum CommandResult | parse_folder_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse folder hook command - Implements Command::parse() -. | |
| enum CommandResult | parse_crypt_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse crypt hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_mbox_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse mbox hook command - Implements Command::parse() -. | |
| enum CommandResult | parse_compress_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse compress hook commands - Implements Command::parse() -. | |
| enum CommandResult | parse_index_hook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the index format hook command - Implements Command::parse() -. | |
| enum CommandResult | parse_unhook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the unhook command - Implements Command::parse() -. | |
| enum CommandResult | parse_subscribe_to (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'subscribe-to' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unsubscribe_from (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unsubscribe-from' command - Implements Command::parse() -. | |
| enum CommandResult | parse_subjectrx_list (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'subject-regex' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unsubjectrx_list (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unsubject-regex' command - Implements Command::parse() -. | |
| enum CommandResult | parse_dump (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse 'bind' and 'macro' commands - Implements Command::parse() -. | |
| enum CommandResult | parse_push (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'push' command - Implements Command::parse() -. | |
| enum CommandResult | parse_bind (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'bind' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unbind (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unbind' and 'unmacro' commands - Implements Command::parse() -. | |
| enum CommandResult | parse_macro (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'macro' command - Implements Command::parse() -. | |
| enum CommandResult | parse_exec (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'exec' command - Implements Command::parse() -. | |
| enum CommandResult | parse_lua (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'lua' command - Implements Command::parse() -. | |
| enum CommandResult | parse_lua_source (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'lua-source' command - Implements Command::parse() -. | |
| enum CommandResult | parse_set (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'set' family of commands - Implements Command::parse() -. | |
| enum CommandResult | parse_my_header (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'my-header' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unmy_header (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unmy-header' command - Implements Command::parse() -. | |
| enum CommandResult | parse_sidebar_pin (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'sidebar-pin' command - Implements Command::parse() -. | |
| enum CommandResult | parse_sidebar_unpin (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'sidebar-unpin' command - Implements Command::parse() -. | |
Function to parse a command.
| cmd | Command being parsed |
| line | Buffer containing string to be parsed |
| pc | Parse Context |
| pe | Parse Errors |
| CommandResult | Result e.g. MUTT_CMD_SUCCESS |
| enum CommandResult parse_alternates | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'alternates' command - Implements Command::parse() -.
Parse:
alternates [ -group <name> ... ] <regex> [ <regex> ... ] Definition at line 67 of file alternates.c.
Here is the call graph for this function:| enum CommandResult parse_unalternates | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unalternates' command - Implements Command::parse() -.
Parse:
unalternates { * | <regex> ... } Definition at line 118 of file alternates.c.
Here is the call graph for this function:| enum CommandResult parse_alias | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'alias' command - Implements Command::parse() -.
e.g. "alias jim James Smith <js@example.com> # Pointy-haired boss"
Parse:
alias [ -group <name> ... ] <key> <address> [, <address> ...] [ # [ <comments> ] [ tags:... ]] Definition at line 138 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unalias | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unalias' command - Implements Command::parse() -.
Parse:
unalias { * | <key> ... } Definition at line 268 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_attachments | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'attachments' command - Implements Command::parse() -.
Parse:
attachments { + | - }<disposition> <mime-type> [ <mime-type> ...]attachments ? Definition at line 472 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unattachments | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unattachments' command - Implements Command::parse() -.
Parse:
unattachments { + | - } disposition mime-type [ mime-type ...]unattachments * Definition at line 550 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_mime_lookup | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'mime-lookup' command - Implements Command::parse() -.
Parse:
mime-lookup { + | - }<disposition> <mime-type> [ <mime-type> ...]mime-lookup ? Definition at line 652 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unmime_lookup | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unmime-lookup' command - Implements Command::parse() -.
Parse:
unmime-lookup { + | - } disposition mime-type [ mime-type ...]unmime-lookup * Definition at line 668 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_uncolor_command | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse an 'uncolor' command - Implements Command::parse() -.
Usage:
Definition at line 199 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_uncolor | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'uncolor' command - Implements Command::parse() -.
Parse:
uncolor <object> { * | <pattern> ... } Definition at line 445 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unmono | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unmono' command - Implements Command::parse() -.
Parse:
unmono <object> { * | <pattern> ... } Definition at line 483 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_color | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'color' command - Implements Command::parse() -.
Parse:
color object [ attribute ...] foreground backgroundcolor index [ attribute ...] foreground background [ pattern ]color { header | body } [ attribute ...] foreground background regex Definition at line 505 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_mono | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'mono' command - Implements Command::parse() -.
Parse:
mono <object> <attribute> [ <pattern> | <regex> ] Definition at line 538 of file commands.c.
Here is the call graph for this function:| 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() -.
The 'ifdef' command allows conditional elements in the config file. If a given variable, function, command or compile-time symbol exists, then read the rest of the line of config commands. e.g. ifdef sidebar source ~/.neomutt/sidebar.rc
Parse:
-ifndef <symbol> '<config-command> [ <args> ... ]'` Definition at line 89 of file ifdef.c.
Here is the call graph for this function:| 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() -.
| MUTT_CMD_FINISH | Stop processing the current file |
| MUTT_CMD_WARNING | Failed |
If the 'finish' command is found, we should stop reading the current file.
Parse:
finish Definition at line 150 of file ifdef.c.
Here is the call graph for this function:| enum CommandResult parse_mailboxes | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'mailboxes' command - Implements Command::parse() -.
Parse:
mailboxes [[ -label <label> ] | -nolabel ] [[ -notify | -nonotify ] [ -poll | -nopoll ] <mailbox> ] [ ... ]named-mailboxes <description> <mailbox> [ <description> <mailbox> ... ] Definition at line 349 of file mailboxes.c.
Here is the call graph for this function:| enum CommandResult parse_unmailboxes | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unmailboxes' command - Implements Command::parse() -.
Parse:
unmailboxes { * | <mailbox> ... } Definition at line 440 of file mailboxes.c.
Here is the call graph for this function:| enum CommandResult parse_cd | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'cd' command - Implements Command::parse() -.
Parse:
cd [ <directory> ] Definition at line 59 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_echo | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'echo' command - Implements Command::parse() -.
Parse:
echo <message> Definition at line 96 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_version | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'version' command - Implements Command::parse() -.
Parse:
version Definition at line 125 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_setenv | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'setenv' and 'unsetenv' commands - Implements Command::parse() -.
Parse:
setenv { <variable>? | <variable>=<value> }unsetenv <variable>Note: Also accepts the old syntax: setenv <variable> <value>
Definition at line 67 of file setenv.c.
Here is the call graph for this function:| enum CommandResult parse_source | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'source' command - Implements Command::parse() -.
Parse:
source <filename> [ <filename> ... ] Definition at line 229 of file source.c.
Here is the call graph for this function:| enum CommandResult parse_stailq | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| struct ListHead * | list, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse a list command - Implements Command::parse() -.
| cmd | Command being parsed |
| line | Buffer containing string to be parsed |
| list | List for the results |
| pc | Parse Context |
| pe | Parse Errors |
| CommandResult | Result e.g. MUTT_CMD_SUCCESS |
Definition at line 52 of file stailq.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_unstailq | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| struct ListHead * | list, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse an unlist command - Implements Command::parse() -.
| cmd | Command being parsed |
| line | Buffer containing string to be parsed |
| list | List for the results |
| pc | Parse Context |
| pe | Parse Errors |
| CommandResult | Result e.g. MUTT_CMD_SUCCESS |
Definition at line 85 of file stailq.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_list | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse a list command - Implements Command::parse() -.
Parse:
alternative-order <mime-type>[/<mime-subtype> ] [ <mime-type>[/<mime-subtype> ] ... ]auto-view <mime-type>[/<mime-subtype> ] [ <mime-type>[/<mime-subtype> ] ... ]header-order <header> [ <header> ... ]mailto-allow { * | <header-field> ... } Definition at line 51 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unlist | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse an unlist command - Implements Command::parse() -.
Parse:
unalternative-order { * | [ <mime-type>[/<mime-subtype> ] ... ] }unauto-view { * | [ <mime-type>[/<mime-subtype> ] ... ] }unheader-order { * | <header> ... }unmailto-allow { * | <header-field> ... } Definition at line 87 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_tag_formats | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'tag-formats' command - Implements Command::parse() -.
Parse config like: tag-formats pgp GP
Parse:
tag-formats <tag> <format-string> [ <tag> <format-string> ... ] } Definition at line 124 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_tag_transforms | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'tag-transforms' command - Implements Command::parse() -.
Parse config like: tag-transforms pgp P
Parse:
tag-transforms <tag> <transformed-string> [ <tag> <transformed-string> ... ]} Definition at line 175 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_group | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'group' and 'ungroup' commands - Implements Command::parse() -.
Parse:
group [ -group <name> ... ] { -rx <regex> ... | -addr <address> ... }ungroup [ -group <name> ... ] { * | -rx <regex> ... | -addr <address> ... } Definition at line 90 of file group.c.
Here is the call graph for this function:| enum CommandResult parse_lists | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'lists' command - Implements Command::parse() -.
Parse:
lists [ -group <name> ... ] <regex> [ <regex> ... ] Definition at line 188 of file group.c.
Here is the call graph for this function:| enum CommandResult parse_subscribe | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'subscribe' command - Implements Command::parse() -.
Parse:
subscribe [ -group <name> ... ] <regex> [ <regex> ... ] Definition at line 236 of file group.c.
Here is the call graph for this function:| enum CommandResult parse_unlists | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unlists' command - Implements Command::parse() -.
Parse:
unlists { * | <regex> ... } Definition at line 288 of file group.c.
Here is the call graph for this function:| enum CommandResult parse_unsubscribe | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unsubscribe' command - Implements Command::parse() -.
Parse:
unsubscribe { * | <regex> ... } Definition at line 332 of file group.c.
Here is the call graph for this function:| 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() -.
Parse:
ignore <string> [ <string> ...] Definition at line 50 of file ignore.c.
Here is the call graph for this function:| 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() -.
Parse:
unignore { * | <string> ... } Definition at line 83 of file ignore.c.
Here is the call graph for this function:| enum CommandResult parse_score | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'score' command - Implements Command::parse() -.
Parse:
score <pattern> <value> Definition at line 57 of file score.c.
Here is the call graph for this function:| enum CommandResult parse_unscore | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unscore' command - Implements Command::parse() -.
Parse:
unscore { * | <pattern> ... } Definition at line 146 of file score.c.
Here is the call graph for this function:| enum CommandResult parse_nospam | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'nospam' command - Implements Command::parse() -.
Parse:
nospam { * | <regex> } Definition at line 51 of file spam.c.
Here is the call graph for this function:| enum CommandResult parse_spam | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'spam' command - Implements Command::parse() -.
Parse:
spam <regex> [ <format> ] Definition at line 113 of file spam.c.
Here is the call graph for this function:| enum CommandResult parse_hooks | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'hooks' command - Implements Command::parse() -.
Parse:
hooks Definition at line 225 of file dump.c.
Here is the call graph for this function:| enum CommandResult parse_charset_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse charset Hook commands - Implements Command::parse() -.
Parse:
charset-hook <alias> <charset>iconv-hook <charset> <local-charset> Definition at line 64 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_global_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse global Hook commands - Implements Command::parse() -.
Parse:
shutdown-hook <command>startup-hook <command>timeout-hook <command> Definition at line 118 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_pattern_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse pattern-based Hook commands - Implements Command::parse() -.
Parse:
message-hook <pattern> <command>reply-hook <pattern> <command>send-hook <pattern> <command>send2-hook <pattern> <command> Definition at line 183 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_mailbox_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse mailbox pattern hook commands - Implements Command::parse() -.
Parse:
fcc-hook <pattern> <mailbox>fcc-save-hook <pattern> <mailbox>save-hook <pattern> <mailbox> Definition at line 353 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_regex_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse regex-based hook command - Implements Command::parse() -.
Parse:
account-hook <regex> <command> Definition at line 432 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_folder_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse folder hook command - Implements Command::parse() -.
Parse:
folder-hook [ -noregex ] <regex> <command> Definition at line 528 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_crypt_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse crypt hook commands - Implements Command::parse() -.
Parse:
crypt-hook <regex> <keyid>pgp-hook is a deprecated synonym for crypt-hook Definition at line 668 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_mbox_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse mbox hook command - Implements Command::parse() -.
Parse:
mbox-hook [ -noregex ] <regex> <mailbox> Definition at line 764 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_compress_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse compress hook commands - Implements Command::parse() -.
Parse:
append-hook <regex> <shell-command>close-hook <regex> <shell-command>open-hook <regex> <shell-command> Definition at line 914 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_index_hook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the index format hook command - Implements Command::parse() -.
Parse:
index-format-hook <name> [!]<pattern> <format-string> Definition at line 1066 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_unhook | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the unhook command - Implements Command::parse() -.
Parse:
unhook { * | <hook-type> } Definition at line 1189 of file parse.c.
Here is the call graph for this function:| enum CommandResult parse_subscribe_to | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'subscribe-to' command - Implements Command::parse() -.
The 'subscribe-to' command allows to subscribe to an IMAP-Mailbox. Patterns are not supported.
Parse:
subscribe-to <imap-folder-uri> Definition at line 93 of file imap.c.
Here is the call graph for this function:| enum CommandResult parse_unsubscribe_from | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unsubscribe-from' command - Implements Command::parse() -.
The 'unsubscribe-from' command allows to unsubscribe from an IMAP-Mailbox. Patterns are not supported.
Parse:
unsubscribe-from <imap-folder-uri> Definition at line 143 of file imap.c.
Here is the call graph for this function:| enum CommandResult parse_subjectrx_list | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'subject-regex' command - Implements Command::parse() -.
Parse:
subject-regex <regex> <replacement> Definition at line 192 of file subjectrx.c.
Here is the call graph for this function:| enum CommandResult parse_unsubjectrx_list | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unsubject-regex' command - Implements Command::parse() -.
Parse:
unsubject-regex { * | <regex> } Definition at line 224 of file subjectrx.c.
Here is the call graph for this function:| enum CommandResult parse_dump | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse 'bind' and 'macro' commands - Implements Command::parse() -.
Definition at line 63 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_push | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'push' command - Implements Command::parse() -.
Parse:
push <string> Definition at line 204 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_bind | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'bind' command - Implements Command::parse() -.
bind menu-name <key_sequence> function-name
Parse:
bind <map>[,<map> ... ] <key> <function> Definition at line 241 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_unbind | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unbind' and 'unmacro' commands - Implements Command::parse() -.
Parse:
unbind { * | <map>[,<map> ... ] } [ <key> ]unmacro { * | <map>[,<map> ... ] } [ <key> ] Definition at line 644 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_macro | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'macro' command - Implements Command::parse() -.
Parse:
macro <map>[,<map> ... ] <key> <sequence> [ <description> ] Definition at line 671 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_exec | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'exec' command - Implements Command::parse() -.
Parse:
exec <function> [ <function> ... ] Definition at line 778 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_lua | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'lua' command - Implements Command::parse() -.
Parse:
lua <lua-command> Definition at line 57 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_lua_source | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'lua-source' command - Implements Command::parse() -.
Parse:
lua-source <filename> Definition at line 97 of file commands.c.
Here is the call graph for this function:| enum CommandResult parse_set | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'set' family of commands - Implements Command::parse() -.
Parse:
reset <variable> [ <variable> ... ]set [ no | inv | & ] <variable> [?] | <variable> [=|+=|-=] <value> [...]toggle <variable> [ <variable> ... ]unset <variable> [ <variable> ... ] Definition at line 488 of file set.c.
Here is the call graph for this function:| enum CommandResult parse_my_header | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'my-header' command - Implements Command::parse() -.
Parse:
my-header <string> Definition at line 52 of file my_header.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_unmy_header | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'unmy-header' command - Implements Command::parse() -.
Parse:
unmy-header { * | <field> ... } Definition at line 106 of file my_header.c.
Here is the call graph for this function:| enum CommandResult parse_sidebar_pin | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'sidebar-pin' command - Implements Command::parse() -.
Parse:
sidebar-pin <mailbox> [ <mailbox> ... ] Definition at line 44 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function:| enum CommandResult parse_sidebar_unpin | ( | const struct Command * | cmd, |
| struct Buffer * | line, | ||
| const struct ParseContext * | pc, | ||
| struct ParseError * | pe ) |
Parse the 'sidebar-unpin' command - Implements Command::parse() -.
Parse:
sidebar-unpin { * | <mailbox> ... } Definition at line 74 of file commands.c.
Here is the call graph for this function:
Here is the caller graph for this function: