NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
module.c
Go to the documentation of this file.
1
22
28
29#include "config.h"
30#include <stdbool.h>
31#include <stddef.h>
32#include "config/lib.h"
33#include "core/lib.h"
34
35extern const struct ConfigSetType CstExpando;
36
40static bool expando_config_define_types(struct NeoMutt *n, struct ConfigSet *cs)
41{
42 return cs_register_type(cs, &CstExpando);
43}
44
48const struct Module ModuleExpando = {
50 "expando",
51 NULL, // init
53 NULL, // config_define_variables
54 NULL, // commands_register
55 NULL, // gui_init
56 NULL, // gui_cleanup
57 NULL, // cleanup
58};
Convenience wrapper for the config headers.
bool cs_register_type(struct ConfigSet *cs, const struct ConfigSetType *cst)
Register a type of config item.
Definition set.c:220
Convenience wrapper for the core headers.
const struct ConfigSetType CstExpando
Config type representing an Expando.
static bool expando_config_define_types(struct NeoMutt *n, struct ConfigSet *cs)
Set up Config Types - Implements Module::config_define_types()
Definition module.c:40
const struct Module ModuleExpando
Module for the Expando library.
Definition module.c:48
@ MODULE_ID_EXPANDO
ModuleExpando, Parse Expando string
Definition module_api.h:66
Container for lots of config items.
Definition set.h:250
Container for Accounts, Notifications.
Definition neomutt.h:41