Config used by libhooks.
More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.h"
Go to the source code of this file.
Config used by libhooks.
- Authors
-
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
Definition in file config.c.
◆ 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 },
}
Config definitions for the Hooks library.
Definition at line 29 of file config.c.
29 {
30
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
42};