NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
config.c
Go to the documentation of this file.
1 
29 #include "config.h"
30 #include <stddef.h>
31 #include <stdbool.h>
32 #include "config/lib.h"
33 
34 static struct ConfigDef HelpbarVars[] = {
35  // clang-format off
36  { "help", DT_BOOL, true, 0, NULL,
37  "Display a help line with common key bindings"
38  },
39  { NULL },
40  // clang-format on
41 };
42 
47 {
48  return cs_register_variables(cs, HelpbarVars, 0);
49 }
Container for lots of config items.
Definition: set.h:259
bool config_init_helpbar(struct ConfigSet *cs)
Register helpbar config variables - Implements module_init_config_t -.
Definition: config.c:46
Definition: set.h:63
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
Definition: set.c:276
#define DT_BOOL
boolean option
Definition: types.h:30