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 struct ConfigDef HcacheVars[];
36extern struct ConfigDef HcacheVarsComp[];
37extern struct ConfigDef HcacheVarsComp2[];
38extern struct ConfigDef HcacheVarsPage[];
39
43static bool hcache_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
44{
45 bool rc = true;
46
47#if defined(USE_HCACHE)
49#endif
50
51#if defined(USE_HCACHE_COMPRESSION)
53#endif
54
55#if defined(HAVE_QDBM) && defined(HAVE_TC) && defined(HAVE_KC)
57#endif
58
59#if defined(HAVE_GDBM) && defined(HAVE_BDB)
61#endif
62
63 return rc;
64}
65
69const struct Module ModuleHcache = {
71 "hcache",
72 NULL, // init
73 NULL, // config_define_types
75 NULL, // commands_register
76 NULL, // gui_init
77 NULL, // gui_cleanup
78 NULL, // cleanup
79};
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition set.c:290
Convenience wrapper for the core headers.
const struct Module ModuleHcache
Module for the Hcache library.
Definition module.c:69
struct ConfigDef HcacheVarsPage[]
Deprecated Config definitions for the Header Cache.
Definition config.c:169
struct ConfigDef HcacheVars[]
Config definitions for the Header Cache.
Definition config.c:123
struct ConfigDef HcacheVarsComp[]
Config definitions for the Header Cache Compression.
Definition config.c:139
struct ConfigDef HcacheVarsComp2[]
Deprecated Config definitions for the Header Cache Compression.
Definition config.c:157
static bool hcache_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Definition module.c:43
@ MODULE_ID_HCACHE
ModuleHcache, Email Header Cache
Definition module_api.h:67
Container for lots of config items.
Definition set.h:250
Container for Accounts, Notifications.
Definition neomutt.h:41