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

Definition of the Parse 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 parse_init (struct NeoMutt *n)
 Initialise a Module - Implements Module::init()
 
static bool parse_cleanup (struct NeoMutt *n)
 Clean up a Module - Implements Module::cleanup()
 

Variables

const struct Module ModuleParse
 Module for the Parse library.
 

Detailed Description

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

◆ parse_init()

static bool parse_init ( struct NeoMutt * n)
static

Initialise a Module - Implements Module::init()

Definition at line 39 of file module.c.

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}

◆ parse_cleanup()

static bool parse_cleanup ( struct NeoMutt * n)
static

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

Definition at line 50 of file module.c.

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

Variable Documentation

◆ ModuleParse

const struct Module ModuleParse
Initial value:
= {
"parse",
NULL,
NULL,
NULL,
NULL,
NULL,
}
@ MODULE_ID_PARSE
ModuleParse, Text parsing functions
Definition module_api.h:84
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

Module for the Parse library.

Definition at line 62 of file module.c.

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