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

Definition of the Mbox Module. More...

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

Go to the source code of this file.

Functions

static bool mbox_config_define_variables (struct NeoMutt *n, struct ConfigSet *cs)
 Define the Config Variables - Implements Module::config_define_variables()
 

Variables

struct ConfigDef MboxVars []
 Config definitions for the Mbox library.
 
const struct Module ModuleMbox
 Module for the Mbox library.
 

Detailed Description

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

◆ mbox_config_define_variables()

static bool mbox_config_define_variables ( struct NeoMutt * n,
struct ConfigSet * cs )
static

Define the Config Variables - Implements Module::config_define_variables()

Definition at line 40 of file module.c.

41{
43}
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition set.c:290
struct ConfigDef MboxVars[]
Config definitions for the Mbox library.
Definition config.c:37
+ Here is the call graph for this function:

Variable Documentation

◆ MboxVars

struct ConfigDef MboxVars[]
extern

Config definitions for the Mbox library.

Definition at line 37 of file config.c.

37 {
38 // clang-format off
39 { "check_mbox_size", DT_BOOL, false, 0, NULL,
40 "(mbox,mmdf) Use mailbox size as an indicator of new mail"
41 },
42 { NULL },
43 // clang-format on
44};
@ DT_BOOL
boolean option
Definition types.h:32

◆ ModuleMbox

const struct Module ModuleMbox
Initial value:
= {
"mbox",
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static bool mbox_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
Definition module.c:40
@ MODULE_ID_MBOX
ModuleMbox, Mbox
Definition module_api.h:76

Module for the Mbox library.

Definition at line 48 of file module.c.

48 {
50 "mbox",
51 NULL, // init
52 NULL, // config_define_types
54 NULL, // commands_register
55 NULL, // gui_init
56 NULL, // gui_cleanup
57 NULL, // cleanup
58};