NeoMutt  2025-12-11-800-ga0ee0f
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Hook Struct Reference

A list of user hooks. More...

#include "hook.h"

+ Collaboration diagram for Hook:

Public Member Functions

 TAILQ_ENTRY (Hook) entries
 Linked list.
 

Data Fields

enum CommandId id
 Hook CommandId, e.g. CMD_FOLDER_HOOK.
 
struct Regex regex
 Regular expression.
 
char * command
 Filename, command or pattern to execute.
 
char * source_file
 Used for relative-directory source.
 
struct PatternList * pattern
 Used for fcc,save,send-hook.
 
struct Expandoexpando
 Used for format hooks.
 

Detailed Description

A list of user hooks.

Definition at line 32 of file hook.h.

Member Function Documentation

◆ TAILQ_ENTRY()

Hook::TAILQ_ENTRY ( Hook )

Linked list.

Field Documentation

◆ id

enum CommandId Hook::id

Hook CommandId, e.g. CMD_FOLDER_HOOK.

Definition at line 34 of file hook.h.

◆ regex

struct Regex Hook::regex

Regular expression.

Definition at line 35 of file hook.h.

◆ command

char* Hook::command

Filename, command or pattern to execute.

Definition at line 36 of file hook.h.

◆ source_file

char* Hook::source_file

Used for relative-directory source.

Definition at line 37 of file hook.h.

◆ pattern

struct PatternList* Hook::pattern

Used for fcc,save,send-hook.

Definition at line 38 of file hook.h.

◆ expando

struct Expando* Hook::expando

Used for format hooks.

Definition at line 39 of file hook.h.


The documentation for this struct was generated from the following file: