NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
parse.h File Reference

Parse user-defined Hooks. More...

#include "core/lib.h"
+ Include dependency graph for parse.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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_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_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_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_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_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_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_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_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_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_unhook (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
 Parse the unhook command - Implements Command::parse() -.
 

Variables

struct HookList Hooks
 All simple hooks, e.g. CMD_FOLDER_HOOK.
 
struct HashTableIdxFmtHooks
 All Index Format hooks.
 
enum CommandId CurrentHookId
 The ID of the Hook currently being executed, e.g. CMD_SAVE_HOOK.
 

Detailed Description

Parse user-defined Hooks.

Authors
  • Richard Russon

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 parse.h.

Variable Documentation

◆ Hooks

struct HookList Hooks
extern

All simple hooks, e.g. CMD_FOLDER_HOOK.

Definition at line 49 of file parse.c.

◆ IdxFmtHooks

struct HashTable* IdxFmtHooks
extern

All Index Format hooks.

Definition at line 52 of file parse.c.

◆ CurrentHookId

enum CommandId CurrentHookId
extern

The ID of the Hook currently being executed, e.g. CMD_SAVE_HOOK.

Definition at line 55 of file parse.c.