NeoMutt  2025-12-11-694-ga89709
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 "mutt/lib.h"
33#include "core/lib.h"
34#include "module_data.h"
35
39static bool bcache_init(struct NeoMutt *n)
40{
41 // struct BcacheModuleData *md = MUTT_MEM_CALLOC(1, struct BcacheModuleData);
42 // neomutt_set_module_data(n, MODULE_ID_BCACHE, md);
43
44 return true;
45}
46
50static bool bcache_cleanup(struct NeoMutt *n)
51{
52 // struct BcacheModuleData *md = neomutt_get_module_data(n, MODULE_ID_BCACHE);
53 // ASSERT(md);
54
55 // FREE(&md);
56 return true;
57}
58
62const struct Module ModuleBcache = {
64 "bcache",
66 NULL, // config_define_types
67 NULL, // config_define_variables
68 NULL, // commands_register
69 NULL, // gui_init
70 NULL, // gui_cleanup
72};
static bool bcache_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Definition module.c:39
static bool bcache_cleanup(struct NeoMutt *n)
Clean up a Module - Implements Module::cleanup()
Definition module.c:50
const struct Module ModuleBcache
Module for the Bcache library.
Definition module.c:62
Bcache private Module data.
Convenience wrapper for the core headers.
@ MODULE_ID_BCACHE
ModuleBcache, Body (Message) Cache
Definition module_api.h:51
Convenience wrapper for the library headers.
Container for Accounts, Notifications.
Definition neomutt.h:41