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 "store/lib.h"
35#include "module_data.h" // IWYU pragma: keep
36
40static bool store_init(struct NeoMutt *n)
41{
42 // struct StoreModuleData *md = MUTT_MEM_CALLOC(1, struct StoreModuleData);
43 // neomutt_set_module_data(n, MODULE_ID_STORE, md);
44
45 return true;
46}
47
51static bool store_cleanup(struct NeoMutt *n)
52{
53 // struct StoreModuleData *md = neomutt_get_module_data(n, MODULE_ID_STORE);
54 // ASSERT(md);
55
56 // FREE(&md);
57 return true;
58}
59
63const struct Module ModuleStore = {
65 "store",
67 NULL, // config_define_types
68 NULL, // config_define_variables
69 NULL, // commands_register
70 NULL, // gui_init
71 NULL, // gui_cleanup
73};
Convenience wrapper for the core headers.
const struct Module ModuleStore
Module for the Store library.
Definition module.c:63
@ MODULE_ID_STORE
ModuleStore, Store
Definition module_api.h:92
Convenience wrapper for the library headers.
Key value store.
static bool store_cleanup(struct NeoMutt *n)
Clean up a Module - Implements Module::cleanup()
Definition module.c:51
static bool store_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Definition module.c:40
Store private Module data.
Container for Accounts, Notifications.
Definition neomutt.h:41