NeoMutt  2022-04-29-178-g3b62e6
Teaching an old dog new tricks
DOXYGEN
Config Module API

Prototype for a Config Definition Function. More...

Functions

bool config_init_alias (struct ConfigSet *cs)
 Register alias config variables - Implements module_init_config_t -. More...
 
bool config_init_autocrypt (struct ConfigSet *cs)
 Register autocrypt config variables - Implements module_init_config_t -. More...
 
bool config_init_browser (struct ConfigSet *cs)
 Register browser config variables - Implements module_init_config_t -. More...
 
bool config_init_compose (struct ConfigSet *cs)
 Register compose config variables - Implements module_init_config_t -. More...
 
bool config_init_conn (struct ConfigSet *cs)
 Register conn config variables - Implements module_init_config_t -. More...
 
bool config_init_hcache (struct ConfigSet *cs)
 Register hcache config variables - Implements module_init_config_t -. More...
 
bool config_init_helpbar (struct ConfigSet *cs)
 Register helpbar config variables - Implements module_init_config_t -. More...
 
bool config_init_history (struct ConfigSet *cs)
 Register history config variables - Implements module_init_config_t -. More...
 
bool config_init_imap (struct ConfigSet *cs)
 Register imap config variables - Implements module_init_config_t -. More...
 
bool config_init_index (struct ConfigSet *cs)
 Register index config variables - Implements module_init_config_t -. More...
 
bool config_init_maildir (struct ConfigSet *cs)
 Register maildir config variables - Implements module_init_config_t -. More...
 
bool config_init_mbox (struct ConfigSet *cs)
 Register mbox config variables - Implements module_init_config_t -. More...
 
bool config_init_menu (struct ConfigSet *cs)
 Register menu config variables - Implements module_init_config_t -. More...
 
static bool config_init_main (struct ConfigSet *cs)
 Register main config variables - Implements module_init_config_t -. More...
 
bool config_init_ncrypt (struct ConfigSet *cs)
 Register ncrypt config variables - Implements module_init_config_t -. More...
 
bool config_init_nntp (struct ConfigSet *cs)
 Register nntp config variables - Implements module_init_config_t -. More...
 
bool config_init_notmuch (struct ConfigSet *cs)
 Register notmuch config variables - Implements module_init_config_t -. More...
 
bool config_init_pager (struct ConfigSet *cs)
 Register pager config variables - Implements module_init_config_t -. More...
 
bool config_init_pattern (struct ConfigSet *cs)
 Register pattern config variables - Implements module_init_config_t -. More...
 
bool config_init_pop (struct ConfigSet *cs)
 Register pop config variables - Implements module_init_config_t -. More...
 
bool config_init_send (struct ConfigSet *cs)
 Register send config variables - Implements module_init_config_t -. More...
 
bool config_init_sidebar (struct ConfigSet *cs)
 Register sidebar config variables - Implements module_init_config_t -. More...
 

Detailed Description

Prototype for a Config Definition Function.

Parameters
csConfig items
Return values
trueAll the config variables were registered

Function Documentation

◆ config_init_alias()

bool config_init_alias ( struct ConfigSet cs)

Register alias config variables - Implements module_init_config_t -.

Definition at line 71 of file config.c.

72{
73 return cs_register_variables(cs, AliasVars, 0);
74}
static struct ConfigDef AliasVars[]
Definition: config.c:47
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
Definition: set.c:276
+ Here is the call graph for this function:

◆ config_init_autocrypt()

bool config_init_autocrypt ( struct ConfigSet cs)

Register autocrypt config variables - Implements module_init_config_t -.

Definition at line 60 of file config.c.

61{
62 bool rc = false;
63
64#if defined(USE_AUTOCRYPT)
66#endif
67
68 return rc;
69}
static struct ConfigDef AutocryptVars[]
Definition: config.c:39
+ Here is the call graph for this function:

◆ config_init_browser()

bool config_init_browser ( struct ConfigSet cs)

Register browser config variables - Implements module_init_config_t -.

Definition at line 66 of file config.c.

67{
69}
static struct ConfigDef BrowserVars[]
Definition: config.c:36
+ Here is the call graph for this function:

◆ config_init_compose()

bool config_init_compose ( struct ConfigSet cs)

Register compose config variables - Implements module_init_config_t -.

Definition at line 65 of file config.c.

66{
68}
static struct ConfigDef ComposeVars[]
Definition: config.c:38
+ Here is the call graph for this function:

◆ config_init_conn()

bool config_init_conn ( struct ConfigSet cs)

Register conn config variables - Implements module_init_config_t -.

Definition at line 156 of file config.c.

157{
158 bool rc = cs_register_variables(cs, ConnVars, 0);
159
160#if defined(USE_SSL)
162#endif
163
164#if defined(USE_SSL_GNUTLS)
166#endif
167
168#if defined(USE_SSL_OPENSSL)
170#endif
171
172#if defined(HAVE_SSL_PARTIAL_CHAIN)
174#endif
175
176#if defined(HAVE_GETADDRINFO)
178#endif
179
180 return rc;
181}
static struct ConfigDef ConnVarsSsl[]
Definition: config.c:56
static struct ConfigDef ConnVars[]
Definition: config.c:34
static struct ConfigDef ConnVarsOpenssl[]
Definition: config.c:114
static struct ConfigDef ConnVarsPartial[]
Definition: config.c:132
static struct ConfigDef ConnVarsGetaddr[]
Definition: config.c:143
static struct ConfigDef ConnVarsGnutls[]
Definition: config.c:100
+ Here is the call graph for this function:

◆ config_init_hcache()

bool config_init_hcache ( struct ConfigSet cs)

Register hcache config variables - Implements module_init_config_t -.

Definition at line 169 of file config.c.

170{
171 bool rc = false;
172
173#if defined(USE_HCACHE)
174 rc |= cs_register_variables(cs, HcacheVars, 0);
175#endif
176
177#if defined(USE_HCACHE_COMPRESSION)
179#endif
180
181#if defined(HAVE_QDBM) || defined(HAVE_TC) || defined(HAVE_KC)
183#endif
184
185#if defined(HAVE_GDBM) || defined(HAVE_BDB)
187#endif
188
189 return rc;
190}
static struct ConfigDef HcacheVarsPage[]
Definition: config.c:158
static struct ConfigDef HcacheVars[]
Definition: config.c:121
static struct ConfigDef HcacheVarsComp[]
Definition: config.c:134
static struct ConfigDef HcacheVarsComp2[]
Definition: config.c:149
+ Here is the call graph for this function:

◆ config_init_helpbar()

bool config_init_helpbar ( struct ConfigSet cs)

Register helpbar config variables - Implements module_init_config_t -.

Definition at line 46 of file config.c.

47{
49}
static struct ConfigDef HelpbarVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_history()

bool config_init_history ( struct ConfigSet cs)

Register history config variables - Implements module_init_config_t -.

Definition at line 55 of file config.c.

56{
58}
static struct ConfigDef HistoryVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_imap()

bool config_init_imap ( struct ConfigSet cs)

Register imap config variables - Implements module_init_config_t -.

Definition at line 147 of file config.c.

148{
149 bool rc = cs_register_variables(cs, ImapVars, 0);
150
151#if defined(USE_ZLIB)
153#endif
154
155 return rc;
156}
static struct ConfigDef ImapVars[]
Definition: config.c:65
static struct ConfigDef ImapVarsZlib[]
Definition: config.c:134
+ Here is the call graph for this function:

◆ config_init_index()

bool config_init_index ( struct ConfigSet cs)

Register index config variables - Implements module_init_config_t -.

Definition at line 58 of file config.c.

59{
60 return cs_register_variables(cs, IndexVars, 0);
61}
static struct ConfigDef IndexVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_maildir()

bool config_init_maildir ( struct ConfigSet cs)

Register maildir config variables - Implements module_init_config_t -.

Definition at line 75 of file config.c.

76{
77 bool rc = cs_register_variables(cs, MaildirVars, 0);
78
79#if defined(USE_HCACHE)
81#endif
82
83 return rc;
84}
static struct ConfigDef MaildirVars[]
Definition: config.c:34
static struct ConfigDef MaildirVarsHcache[]
Definition: config.c:62
+ Here is the call graph for this function:

◆ config_init_mbox()

bool config_init_mbox ( struct ConfigSet cs)

Register mbox config variables - Implements module_init_config_t -.

Definition at line 46 of file config.c.

47{
48 return cs_register_variables(cs, MboxVars, 0);
49}
static struct ConfigDef MboxVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_menu()

bool config_init_menu ( struct ConfigSet cs)

Register menu config variables - Implements module_init_config_t -.

Definition at line 52 of file config.c.

53{
54 return cs_register_variables(cs, MenuVars, 0);
55}
static struct ConfigDef MenuVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_main()

static bool config_init_main ( struct ConfigSet cs)
static

Register main config variables - Implements module_init_config_t -.

Definition at line 699 of file mutt_config.c.

700{
701 bool rc = cs_register_variables(cs, MainVars, 0);
702
703#if defined(MIXMASTER)
705#endif
706
707#if defined(HAVE_LIBIDN)
708 rc |= cs_register_variables(cs, MainVarsIdn, 0);
709#endif
710
711 return rc;
712}
static struct ConfigDef MainVarsMixmaster[]
Definition: mutt_config.c:669
static struct ConfigDef MainVars[]
Definition: mutt_config.c:144
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ config_init_ncrypt()

bool config_init_ncrypt ( struct ConfigSet cs)

Register ncrypt config variables - Implements module_init_config_t -.

Definition at line 292 of file config.c.

293{
294 bool rc = cs_register_variables(cs, NcryptVars, 0);
295
296#if defined(CRYPT_BACKEND_GPGME)
298#endif
299
300#if defined(CRYPT_BACKEND_CLASSIC_PGP)
302#endif
303
304#if defined(CRYPT_BACKEND_CLASSIC_SMIME)
306#endif
307
308 return rc;
309}
static struct ConfigDef NcryptVarsPgp[]
Definition: config.c:164
static struct ConfigDef NcryptVarsSmime[]
Definition: config.c:231
static struct ConfigDef NcryptVars[]
Definition: config.c:48
static struct ConfigDef NcryptVarsGpgme[]
Definition: config.c:150
+ Here is the call graph for this function:

◆ config_init_nntp()

bool config_init_nntp ( struct ConfigSet cs)

Register nntp config variables - Implements module_init_config_t -.

Definition at line 94 of file config.c.

95{
96 return cs_register_variables(cs, NntpVars, 0);
97}
static struct ConfigDef NntpVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_notmuch()

bool config_init_notmuch ( struct ConfigSet cs)

Register notmuch config variables - Implements module_init_config_t -.

Definition at line 160 of file config.c.

161{
162 bool rc = false;
163
164#if defined(USE_NOTMUCH)
166#endif
167
168 return rc;
169}
static struct ConfigDef NotmuchVars[]
Definition: config.c:97
+ Here is the call graph for this function:

◆ config_init_pager()

bool config_init_pager ( struct ConfigSet cs)

Register pager config variables - Implements module_init_config_t -.

Definition at line 79 of file config.c.

80{
81 return cs_register_variables(cs, PagerVars, 0);
82}
static struct ConfigDef PagerVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_pattern()

bool config_init_pattern ( struct ConfigSet cs)

Register pattern config variables - Implements module_init_config_t -.

Definition at line 52 of file config.c.

53{
55}
static struct ConfigDef PatternVars[]
Definition: config.c:34
+ Here is the call graph for this function:

◆ config_init_pop()

bool config_init_pop ( struct ConfigSet cs)

Register pop config variables - Implements module_init_config_t -.

Definition at line 106 of file config.c.

107{
108 return cs_register_variables(cs, PopVars, 0);
109}
static struct ConfigDef PopVars[]
Definition: config.c:65
+ Here is the call graph for this function:

◆ config_init_send()

bool config_init_send ( struct ConfigSet cs)

Register send config variables - Implements module_init_config_t -.

Definition at line 359 of file config.c.

360{
361 bool rc = cs_register_variables(cs, SendVars, 0);
362
363#if defined(USE_NNTP)
365#endif
366
367#if defined(USE_SMTP)
369#endif
370
371 return rc;
372}
static struct ConfigDef SendVarsSmtp[]
Definition: config.c:334
static struct ConfigDef SendVars[]
Definition: config.c:104
static struct ConfigDef SendVarsNntp[]
Definition: config.c:316
+ Here is the call graph for this function:

◆ config_init_sidebar()

bool config_init_sidebar ( struct ConfigSet cs)

Register sidebar config variables - Implements module_init_config_t -.

Definition at line 105 of file config.c.

106{
107 return cs_register_variables(cs, SidebarVars, 0);
108}
static struct ConfigDef SidebarVars[]
Definition: config.c:54
+ Here is the call graph for this function: