23#ifndef MUTT_HOOKS_HOOK_H
24#define MUTT_HOOKS_HOOK_H
Convenience wrapper for the core headers.
void hook_free(struct Hook **ptr)
Free a Hook.
struct Hook * hook_new(void)
Create a Hook.
Convenience wrapper for the library headers.
#define TAILQ_HEAD(name, type)
struct PatternList * pattern
Used for fcc,save,send-hook.
struct Regex regex
Regular expression.
char * command
Filename, command or pattern to execute.
TAILQ_ENTRY(Hook) entries
Linked list.
struct Expando * expando
Used for format hooks.
enum CommandId id
Hook CommandId, e.g. CMD_FOLDER_HOOK.
char * source_file
Used for relative-directory source.
Cached regular expression.