NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
module.c File Reference

Definition of the Envelope Module. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "module_data.h"
+ Include dependency graph for module.c:

Go to the source code of this file.

Functions

static bool envelope_init (struct NeoMutt *n)
 Initialise a Module - Implements Module::init()
 
static bool envelope_cleanup (struct NeoMutt *n)
 Clean up a Module - Implements Module::cleanup()
 

Variables

const struct Module ModuleEnvelope
 Module for the Envelope library.
 

Detailed Description

Definition of the Envelope Module.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file module.c.

Function Documentation

◆ envelope_init()

static bool envelope_init ( struct NeoMutt * n)
static

Initialise a Module - Implements Module::init()

Definition at line 39 of file module.c.

40{
41 // struct EnvelopeModuleData *md = MUTT_MEM_CALLOC(1, struct EnvelopeModuleData);
42 // neomutt_set_module_data(n, MODULE_ID_ENVELOPE, md);
43
44 return true;
45}

◆ envelope_cleanup()

static bool envelope_cleanup ( struct NeoMutt * n)
static

Clean up a Module - Implements Module::cleanup()

Definition at line 50 of file module.c.

51{
52 // struct EnvelopeModuleData *md = neomutt_get_module_data(n, MODULE_ID_ENVELOPE);
53 // ASSERT(md);
54
55 // FREE(&md);
56 return true;
57}

Variable Documentation

◆ ModuleEnvelope

const struct Module ModuleEnvelope
Initial value:
= {
"envelope",
NULL,
NULL,
NULL,
NULL,
NULL,
}
static bool envelope_cleanup(struct NeoMutt *n)
Clean up a Module - Implements Module::cleanup()
Definition module.c:50
static bool envelope_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
Definition module.c:39
@ MODULE_ID_ENVELOPE
ModuleEnvelope, Envelope-editing Window
Definition module_api.h:65

Module for the Envelope library.

Definition at line 62 of file module.c.

62 {
64 "envelope",
66 NULL, // config_define_types
67 NULL, // config_define_variables
68 NULL, // commands_register
69 NULL, // gui_init
70 NULL, // gui_cleanup
72};