NeoMutt  2024-02-01-23-g345d7b
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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 -.
 
bool config_init_autocrypt (struct ConfigSet *cs)
 Register autocrypt config variables - Implements module_init_config_t -.
 
bool config_init_browser (struct ConfigSet *cs)
 Register browser config variables - Implements module_init_config_t -.
 
bool config_init_compose (struct ConfigSet *cs)
 Register compose config variables - Implements module_init_config_t -.
 
bool config_init_conn (struct ConfigSet *cs)
 Register conn config variables - Implements module_init_config_t -.
 
bool config_init_hcache (struct ConfigSet *cs)
 Register hcache config variables - Implements module_init_config_t -.
 
bool config_init_helpbar (struct ConfigSet *cs)
 Register helpbar config variables - Implements module_init_config_t -.
 
bool config_init_history (struct ConfigSet *cs)
 Register history config variables - Implements module_init_config_t -.
 
bool config_init_imap (struct ConfigSet *cs)
 Register imap config variables - Implements module_init_config_t -.
 
bool config_init_index (struct ConfigSet *cs)
 Register index config variables - Implements module_init_config_t -.
 
bool config_init_maildir (struct ConfigSet *cs)
 Register maildir config variables - Implements module_init_config_t -.
 
bool config_init_mbox (struct ConfigSet *cs)
 Register mbox config variables - Implements module_init_config_t -.
 
bool config_init_menu (struct ConfigSet *cs)
 Register menu config variables - Implements module_init_config_t -.
 
bool config_init_mh (struct ConfigSet *cs)
 Register mh config variables - Implements module_init_config_t -.
 
static bool config_init_main (struct ConfigSet *cs)
 Register main config variables - Implements module_init_config_t -.
 
bool config_init_ncrypt (struct ConfigSet *cs)
 Register ncrypt config variables - Implements module_init_config_t -.
 
bool config_init_nntp (struct ConfigSet *cs)
 Register nntp config variables - Implements module_init_config_t -.
 
bool config_init_notmuch (struct ConfigSet *cs)
 Register notmuch config variables - Implements module_init_config_t -.
 
bool config_init_pager (struct ConfigSet *cs)
 Register pager config variables - Implements module_init_config_t -.
 
bool config_init_pattern (struct ConfigSet *cs)
 Register pattern config variables - Implements module_init_config_t -.
 
bool config_init_pop (struct ConfigSet *cs)
 Register pop config variables - Implements module_init_config_t -.
 
bool config_init_send (struct ConfigSet *cs)
 Register send config variables - Implements module_init_config_t -.
 
bool config_init_sidebar (struct ConfigSet *cs)
 Register sidebar config variables - Implements module_init_config_t -.
 

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 76 of file config.c.

77{
79}
static struct ConfigDef AliasVars[]
Config definitions for the alias library.
Definition: config.c:52
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition: set.c:281
+ 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 63 of file config.c.

64{
65 bool rc = false;
66
67#if defined(USE_AUTOCRYPT)
69#endif
70
71 return rc;
72}
static struct ConfigDef AutocryptVars[]
Config definitions for the autocrypt library.
Definition: config.c:42
+ 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 90 of file config.c.

91{
93}
static struct ConfigDef BrowserVars[]
Config definitions for the browser.
Definition: config.c:57
+ 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 69 of file config.c.

70{
72}
static struct ConfigDef ComposeVars[]
Config definitions for compose.
Definition: config.c:42
+ 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 178 of file config.c.

179{
180 bool rc = cs_register_variables(cs, ConnVars);
181
182#if defined(USE_SSL)
184#endif
185
186#if defined(USE_SSL_GNUTLS)
188#endif
189
190#if defined(USE_SSL_OPENSSL)
192#endif
193
194#if defined(HAVE_SSL_PARTIAL_CHAIN)
196#endif
197
198#if defined(HAVE_GETADDRINFO)
200#endif
201
202 return rc;
203}
static struct ConfigDef ConnVarsSsl[]
General SSL Config definitions for the conn library.
Definition: config.c:66
static struct ConfigDef ConnVars[]
Config definitions for the connection library.
Definition: config.c:39
static struct ConfigDef ConnVarsOpenssl[]
OpenSSL Config definitions for the connection library.
Definition: config.c:130
static struct ConfigDef ConnVarsPartial[]
SSL partial chains Config definitions for the connection library.
Definition: config.c:151
static struct ConfigDef ConnVarsGetaddr[]
GetAddrInfo Config definitions for the connection library.
Definition: config.c:165
static struct ConfigDef ConnVarsGnutls[]
GnuTLS Config definitions for the connection library.
Definition: config.c:113
+ 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 183 of file config.c.

184{
185 bool rc = false;
186
187#if defined(USE_HCACHE)
189#endif
190
191#if defined(USE_HCACHE_COMPRESSION)
193#endif
194
195#if defined(HAVE_QDBM) || defined(HAVE_TC) || defined(HAVE_KC)
197#endif
198
199#if defined(HAVE_GDBM) || defined(HAVE_BDB)
201#endif
202
203 return rc;
204}
static struct ConfigDef HcacheVarsPage[]
Deprecated Config definitions for the Header Cache.
Definition: config.c:172
static struct ConfigDef HcacheVars[]
Config definitions for the Header Cache.
Definition: config.c:126
static struct ConfigDef HcacheVarsComp[]
Config definitions for the Header Cache Compression.
Definition: config.c:142
static struct ConfigDef HcacheVarsComp2[]
Deprecated Config definitions for the Header Cache Compression.
Definition: config.c:160
+ 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 49 of file config.c.

50{
52}
static struct ConfigDef HelpbarVars[]
Config definitions for the Helpbar.
Definition: config.c:37
+ 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 61 of file config.c.

62{
64}
static struct ConfigDef HistoryVars[]
Config definitions for the command history.
Definition: config.c:37
+ 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 160 of file config.c.

161{
162 bool rc = cs_register_variables(cs, ImapVars);
163
164#if defined(USE_ZLIB)
166#endif
167
168 return rc;
169}
static struct ConfigDef ImapVars[]
Config definitions for the IMAP library.
Definition: config.c:71
static struct ConfigDef ImapVarsZlib[]
Config definitions for IMAP compression.
Definition: config.c:147
+ 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 61 of file config.c.

62{
64}
static struct ConfigDef IndexVars[]
Config definitions for the Index.
Definition: config.c:37
+ 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 105 of file config.c.

106{
107 bool rc = cs_register_variables(cs, MaildirVars);
108
109#if defined(USE_HCACHE)
111#endif
112
113 return rc;
114}
static struct ConfigDef MaildirVars[]
Config definitions for the Maildir library.
Definition: config.c:70
static struct ConfigDef MaildirVarsHcache[]
Config definitions for the Maildir header cache.
Definition: config.c:92
+ 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 49 of file config.c.

50{
52}
static struct ConfigDef MboxVars[]
Config definitions for the Mbox library.
Definition: config.c:37
+ 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 55 of file config.c.

56{
58}
static struct ConfigDef MenuVars[]
Config definitions for the Menu library.
Definition: config.c:37
+ Here is the call graph for this function:

◆ config_init_mh()

bool config_init_mh ( struct ConfigSet cs)

Register mh config variables - Implements module_init_config_t -.

Definition at line 58 of file config.c.

59{
60 return cs_register_variables(cs, MhVars);
61}
static struct ConfigDef MhVars[]
Config definitions for the Mh library.
Definition: config.c:37
+ 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 645 of file mutt_config.c.

646{
647 bool rc = cs_register_variables(cs, MainVars);
648
649#if defined(MIXMASTER)
651#endif
652
653#if defined(HAVE_LIBIDN)
655#endif
656
657 return rc;
658}
static struct ConfigDef MainVarsMixmaster[]
Config definitions for the Mixmaster library.
Definition: mutt_config.c:612
static struct ConfigDef MainVarsIdn[]
IDN Config definitions for the Mixmaster library.
Definition: mutt_config.c:629
static struct ConfigDef MainVars[]
General Config definitions for NeoMutt.
Definition: mutt_config.c:119
+ 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 306 of file config.c.

307{
308 bool rc = cs_register_variables(cs, NcryptVars);
309
310#if defined(CRYPT_BACKEND_GPGME)
312#endif
313
314#if defined(CRYPT_BACKEND_CLASSIC_PGP)
316#endif
317
318#if defined(CRYPT_BACKEND_CLASSIC_SMIME)
320#endif
321
322 return rc;
323}
static struct ConfigDef NcryptVarsPgp[]
PGP Config definitions for the encryption library.
Definition: config.c:175
static struct ConfigDef NcryptVarsSmime[]
SMIME Config definitions for the encryption library.
Definition: config.c:245
static struct ConfigDef NcryptVars[]
Config definitions for the encryption library.
Definition: config.c:53
static struct ConfigDef NcryptVarsGpgme[]
GPGME Config definitions for the encryption library.
Definition: config.c:158
+ 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 98 of file config.c.

99{
101}
static struct ConfigDef NntpVars[]
Config definitions for the NNTP library.
Definition: config.c:38
+ 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 174 of file config.c.

175{
176 bool rc = false;
177
178#if defined(USE_NOTMUCH)
180#endif
181
182 return rc;
183}
static struct ConfigDef NotmuchVars[]
Config definitions for the Notmuch library.
Definition: config.c:106
+ 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 117 of file config.c.

118{
120}
static struct ConfigDef PagerVars[]
Config definitions for the Pager.
Definition: config.c:40
+ 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 55 of file config.c.

56{
58}
static struct ConfigDef PatternVars[]
Config definitions for the pattern library.
Definition: config.c:37
+ 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 110 of file config.c.

111{
112 return cs_register_variables(cs, PopVars);
113}
static struct ConfigDef PopVars[]
Config definitions for the POP library.
Definition: config.c:69
+ 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 380 of file config.c.

381{
383}
static struct ConfigDef SendVars[]
Config definitions for the send library.
Definition: config.c:112
+ 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 110 of file config.c.

111{
113}
static struct ConfigDef SidebarVars[]
Config definitions for the sidebar.
Definition: config.c:59
+ Here is the call graph for this function: