NeoMutt  2019-12-07
Teaching an old dog new tricks
DOXYGEN
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 153 of file set.h.

Field Documentation

◆ name

const char* ConfigDef::name

User-visible name.

Definition at line 155 of file set.h.

◆ type

unsigned int ConfigDef::type

Variable type, e.g. DT_STRING.

Definition at line 156 of file set.h.

◆ var

void* ConfigDef::var

Pointer to the global variable.

Definition at line 157 of file set.h.

◆ initial

intptr_t ConfigDef::initial

Initial value.

Definition at line 158 of file set.h.

◆ data

intptr_t ConfigDef::data

Extra variable data.

Definition at line 159 of file set.h.

◆ validator

cs_validator ConfigDef::validator

Validator callback function.

Definition at line 160 of file set.h.


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