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

Config used by libhooks. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Variables

struct ConfigDef HooksVars []
 Config definitions for the Hooks library.
 

Detailed Description

Config used by libhooks.

Authors
  • Richard Russon

Definition in file config.c.

Variable Documentation

◆ HooksVars

struct ConfigDef HooksVars[]
Initial value:
= {
{ "default_hook", DT_STRING, IP "~f %s !~P | (~P ~C %s)", 0, NULL,
"Pattern to use for hooks that only have a simple regex"
},
{ "force_name", DT_BOOL, false, 0, NULL,
"Save outgoing mail in a folder of their name"
},
{ "save_name", DT_BOOL, false, 0, NULL,
"Save outgoing message to mailbox of recipient's name if it exists"
},
{ NULL },
}
#define IP
Definition set.h:54
@ DT_BOOL
boolean option
Definition types.h:32
@ DT_STRING
a string
Definition types.h:44

Config definitions for the Hooks library.

Definition at line 29 of file config.c.

29 {
30 // clang-format off
31 { "default_hook", DT_STRING, IP "~f %s !~P | (~P ~C %s)", 0, NULL,
32 "Pattern to use for hooks that only have a simple regex"
33 },
34 { "force_name", DT_BOOL, false, 0, NULL,
35 "Save outgoing mail in a folder of their name"
36 },
37 { "save_name", DT_BOOL, false, 0, NULL,
38 "Save outgoing message to mailbox of recipient's name if it exists"
39 },
40 { NULL },
41 // clang-format on
42};