NeoMutt  2019-12-07-60-g0cfa53
Teaching an old dog new tricks
ConfigDef Struct Reference

Config item definition. More...

#include "set.h"

+ Collaboration diagram for ConfigDef:

Data Fields

const char * name
 User-visible name. More...
unsigned int type
 Variable type, e.g. DT_STRING. More...
void * var
 Pointer to the global variable. More...
intptr_t initial
 Initial value. More...
intptr_t data
 Extra variable data. More...
cs_validator validator
 Validator callback function. More...

Detailed Description

Config item definition.

Every config variable that NeoMutt supports is backed by a ConfigDef.

Definition at line 134 of file set.h.

Field Documentation

◆ name

const char* ConfigDef::name

User-visible name.

Definition at line 136 of file set.h.

◆ type

unsigned int ConfigDef::type

Variable type, e.g. DT_STRING.

Definition at line 137 of file set.h.

◆ var

void* ConfigDef::var

Pointer to the global variable.

Definition at line 138 of file set.h.

◆ initial

intptr_t ConfigDef::initial

Initial value.

Definition at line 139 of file set.h.

◆ data

intptr_t ConfigDef::data

Extra variable data.

Definition at line 140 of file set.h.

◆ validator

cs_validator ConfigDef::validator

Validator callback function.

Definition at line 141 of file set.h.

The documentation for this struct was generated from the following file: