NeoMutt  2021-10-29-220-g2b1eec
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_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_compose()

bool config_init_compose ( struct ConfigSet cs)

Register compose config variables - Implements module_init_config_t -.

Definition at line 64 of file config.c.

65 {
66  return cs_register_variables(cs, ComposeVars, 0);
67 }
static struct ConfigDef ComposeVars[]
Definition: config.c:37
+ 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 153 of file config.c.

154 {
155  bool rc = cs_register_variables(cs, ConnVars, 0);
156 
157 #if defined(USE_SSL)
158  rc |= cs_register_variables(cs, ConnVarsSsl, 0);
159 #endif
160 
161 #if defined(USE_SSL_GNUTLS)
163 #endif
164 
165 #if defined(USE_SSL_OPENSSL)
167 #endif
168 
169 #if defined(HAVE_SSL_PARTIAL_CHAIN)
171 #endif
172 
173 #if defined(HAVE_GETADDRINFO)
175 #endif
176 
177  return rc;
178 }
static struct ConfigDef ConnVarsSsl[]
Definition: config.c:53
static struct ConfigDef ConnVars[]
Definition: config.c:34
static struct ConfigDef ConnVarsOpenssl[]
Definition: config.c:111
static struct ConfigDef ConnVarsPartial[]
Definition: config.c:129
static struct ConfigDef ConnVarsGetaddr[]
Definition: config.c:140
static struct ConfigDef ConnVarsGnutls[]
Definition: config.c:97
+ 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 170 of file config.c.

171 {
172  bool rc = false;
173 
174 #if defined(USE_HCACHE)
175  rc |= cs_register_variables(cs, HcacheVars, 0);
176 #endif
177 
178 #if defined(USE_HCACHE_COMPRESSION)
180 #endif
181 
182 #if defined(HAVE_QDBM) || defined(HAVE_TC) || defined(HAVE_KC)
184 #endif
185 
186 #if defined(HAVE_GDBM) || defined(HAVE_BDB)
188 #endif
189 
190  return rc;
191 }
static struct ConfigDef HcacheVarsPage[]
Definition: config.c:159
static struct ConfigDef HcacheVars[]
Definition: config.c:122
static struct ConfigDef HcacheVarsComp[]
Definition: config.c:135
static struct ConfigDef HcacheVarsComp2[]
Definition: config.c:150
+ 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 {
48  return cs_register_variables(cs, HelpbarVars, 0);
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 {
57  return cs_register_variables(cs, HistoryVars, 0);
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)
152  rc |= cs_register_variables(cs, ImapVarsZlib, 0);
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 711 of file mutt_config.c.

712 {
713  bool rc = cs_register_variables(cs, MainVars, 0);
714 
715 #if defined(MIXMASTER)
717 #endif
718 
719 #if defined(HAVE_LIBIDN)
720  rc |= cs_register_variables(cs, MainVarsIdn, 0);
721 #endif
722 
723  return rc;
724 }
static struct ConfigDef MainVarsMixmaster[]
Definition: mutt_config.c:681
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)
301  rc |= cs_register_variables(cs, NcryptVarsPgp, 0);
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 100 of file config.c.

101 {
102  return cs_register_variables(cs, NntpVars, 0);
103 }
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)
165  rc |= cs_register_variables(cs, NotmuchVars, 0);
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 {
54  return cs_register_variables(cs, PatternVars, 0);
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 338 of file config.c.

339 {
340  bool rc = cs_register_variables(cs, SendVars, 0);
341 
342 #if defined(USE_NNTP)
343  rc |= cs_register_variables(cs, SendVarsNntp, 0);
344 #endif
345 
346 #if defined(USE_SMTP)
347  rc |= cs_register_variables(cs, SendVarsSmtp, 0);
348 #endif
349 
350  return rc;
351 }
static struct ConfigDef SendVarsSmtp[]
Definition: config.c:313
static struct ConfigDef SendVars[]
Definition: config.c:83
static struct ConfigDef SendVarsNntp[]
Definition: config.c:295
+ 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: