NeoMutt
2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c
Go to the documentation of this file.
1
14
20
21
#include "config.h"
22
#include <stdbool.h>
23
#include <stddef.h>
24
#include "
config/lib.h
"
25
29
struct
ConfigDef
HooksVars
[] = {
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
};
lib.h
Convenience wrapper for the config headers.
IP
#define IP
Definition
set.h:54
HooksVars
struct ConfigDef HooksVars[]
Config definitions for the Hooks library.
Definition
config.c:29
ConfigDef
Definition
set.h:64
DT_BOOL
@ DT_BOOL
boolean option
Definition
types.h:32
DT_STRING
@ DT_STRING
a string
Definition
types.h:44