NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
ConfigDef Struct Reference

#include "set.h"

Data Fields

const char * name
 User-visible name.
 
uint32_t type
 Variable type, e.g. DT_STRING.
 
intptr_t initial
 Initial value.
 
intptr_t data
 Extra variable data.
 
int(* validator )(const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 
const char * docs
 One-liner description.
 
intptr_t var
 Storage for the variable.
 

Detailed Description

Definition at line 63 of file set.h.

Field Documentation

◆ name

const char* ConfigDef::name

User-visible name.

Definition at line 65 of file set.h.

◆ type

uint32_t ConfigDef::type

Variable type, e.g. DT_STRING.

Definition at line 66 of file set.h.

◆ initial

intptr_t ConfigDef::initial

Initial value.

Definition at line 67 of file set.h.

◆ data

intptr_t ConfigDef::data

Extra variable data.

Definition at line 68 of file set.h.

◆ validator

int(* ConfigDef::validator) (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)

Definition at line 82 of file set.h.

◆ docs

const char* ConfigDef::docs

One-liner description.

Definition at line 84 of file set.h.

◆ var

intptr_t ConfigDef::var

Storage for the variable.

Definition at line 85 of file set.h.


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