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 parse_init(struct NeoMutt *n)
40{
41 // struct ParseModuleData *md = MUTT_MEM_CALLOC(1, struct ParseModuleData);
42 // neomutt_set_module_data(n, MODULE_ID_PARSE, md);
43
44 return true;
45}
46
50static bool parse_cleanup(struct NeoMutt *n)
51{
52 // struct ParseModuleData *md = neomutt_get_module_data(n, MODULE_ID_PARSE);
53 // ASSERT(md);
54
55 // FREE(&md);
56 return true;
57}
58
62const struct Module ModuleParse = {
64 "parse",
66 NULL, // config_define_types
67 NULL, // config_define_variables
68 NULL, // commands_register
69 NULL, // gui_init
70 NULL, // gui_cleanup
72};
Convenience wrapper for the core headers.
const struct Module ModuleParse
Module for the Parse library.
Definition module.c:62
@ MODULE_ID_PARSE
ModuleParse, Text parsing functions
Definition module_api.h:84
Convenience wrapper for the library headers.
static bool parse_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Definition module.c:39
static bool parse_cleanup(struct NeoMutt *n)
Clean up a Module - Implements Module::cleanup()
Definition module.c:50
Parse private Module data.
Container for Accounts, Notifications.
Definition neomutt.h:41