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

Definition of the Store Module. More...

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

Go to the source code of this file.

Functions

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

Variables

const struct Module ModuleStore
 Module for the Store library.
 

Detailed Description

Definition of the Store 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

◆ store_init()

static bool store_init ( struct NeoMutt * n)
static

Initialise a Module - Implements Module::init()

Definition at line 40 of file module.c.

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}

◆ store_cleanup()

static bool store_cleanup ( struct NeoMutt * n)
static

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

Definition at line 51 of file module.c.

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

Variable Documentation

◆ ModuleStore

const struct Module ModuleStore
Initial value:
= {
"store",
NULL,
NULL,
NULL,
NULL,
NULL,
}
@ MODULE_ID_STORE
ModuleStore, Store
Definition module_api.h:92
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

Module for the Store library.

Definition at line 63 of file module.c.

63 {
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};