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
39
static
bool
postpone_init
(
struct
NeoMutt
*n)
40
{
41
// struct PostponeModuleData *md = MUTT_MEM_CALLOC(1, struct PostponeModuleData);
42
// neomutt_set_module_data(n, MODULE_ID_POSTPONE, md);
43
44
return
true
;
45
}
46
50
static
bool
postpone_cleanup
(
struct
NeoMutt
*n)
51
{
52
// struct PostponeModuleData *md = neomutt_get_module_data(n, MODULE_ID_POSTPONE);
53
// ASSERT(md);
54
55
// FREE(&md);
56
return
true
;
57
}
58
62
const
struct
Module
ModulePostpone
= {
63
MODULE_ID_POSTPONE
,
64
"postpone"
,
65
postpone_init
,
66
NULL,
// config_define_types
67
NULL,
// config_define_variables
68
NULL,
// commands_register
69
NULL,
// gui_init
70
NULL,
// gui_cleanup
71
postpone_cleanup
,
72
};
lib.h
Convenience wrapper for the core headers.
ModulePostpone
const struct Module ModulePostpone
Module for the Postpone library.
Definition
module.c:62
MODULE_ID_POSTPONE
@ MODULE_ID_POSTPONE
ModulePostpone, Postponed Emails
Definition
module_api.h:87
lib.h
Convenience wrapper for the library headers.
postpone_init
static bool postpone_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Definition
module.c:39
postpone_cleanup
static bool postpone_cleanup(struct NeoMutt *n)
Clean up a Module - Implements Module::cleanup()
Definition
module.c:50
module_data.h
Postpone private Module data.
Module
Definition
module_api.h:102
NeoMutt
Container for Accounts, Notifications.
Definition
neomutt.h:41