NeoMutt  2024-10-02-37-gfa9146
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 121 of file config.c.

122{
124}
static struct ConfigDef AliasVars[]
Config definitions for the alias library.
Definition: config.c:97
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 85 of file config.c.

86{
87 bool rc = false;
88
89#if defined(USE_AUTOCRYPT)
91#endif
92
93 return rc;
94}
static struct ConfigDef AutocryptVars[]
Config definitions for the autocrypt library.
Definition: config.c:64
+ 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 168 of file config.c.

169{
171}
static struct ConfigDef BrowserVars[]
Config definitions for the browser.
Definition: config.c:135
+ 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 95 of file config.c.

96{
98}
static struct ConfigDef ComposeVars[]
Config definitions for compose.
Definition: config.c:64
+ 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 80 of file config.c.

81{
83}
static struct ConfigDef HistoryVars[]
Config definitions for the command history.
Definition: config.c:56
+ 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 944 of file mutt_config.c.

945{
946 bool rc = cs_register_variables(cs, MainVars);
947
948#if defined(HAVE_LIBIDN)
950#endif
951
952 return rc;
953}
static struct ConfigDef MainVarsIdn[]
IDN Config definitions.
Definition: mutt_config.c:928
static struct ConfigDef MainVars[]
General Config definitions for NeoMutt.
Definition: mutt_config.c:411
+ 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 430 of file config.c.

431{
432 bool rc = cs_register_variables(cs, NcryptVars);
433
434#if defined(CRYPT_BACKEND_GPGME)
436#endif
437
438#if defined(CRYPT_BACKEND_CLASSIC_PGP)
440#endif
441
442#if defined(CRYPT_BACKEND_CLASSIC_SMIME)
444#endif
445
446 return rc;
447}
static struct ConfigDef NcryptVarsPgp[]
PGP Config definitions for the encryption library.
Definition: config.c:299
static struct ConfigDef NcryptVarsSmime[]
SMIME Config definitions for the encryption library.
Definition: config.c:369
static struct ConfigDef NcryptVars[]
Config definitions for the encryption library.
Definition: config.c:109
static struct ConfigDef NcryptVarsGpgme[]
GPGME Config definitions for the encryption library.
Definition: config.c:220
+ 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 119 of file config.c.

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

121{
123}
static struct ConfigDef PagerVars[]
Config definitions for the Pager.
Definition: config.c:43
+ 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 75 of file config.c.

76{
78}
static struct ConfigDef PatternVars[]
Config definitions for the pattern library.
Definition: config.c:57
+ 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 112 of file config.c.

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

409{
411}
static struct ConfigDef SendVars[]
Config definitions for the send library.
Definition: config.c:137
+ 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 142 of file config.c.

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