NeoMutt  2025-01-09-117-gace867
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
ConfigSetType Struct Reference

#include "set.h"

Data Fields

int type
 Data type, e.g. DT_STRING.
 
const char * name
 Name of the type, e.g. "String".
 
int(* string_set )(void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err)
 
int(* string_get )(void *var, const struct ConfigDef *cdef, struct Buffer *result)
 
int(* native_set )(void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
 
intptr_t(* native_get )(void *var, const struct ConfigDef *cdef, struct Buffer *err)
 
int(* string_plus_equals )(void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err)
 
int(* string_minus_equals )(void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err)
 
bool(* has_been_set )(void *var, const struct ConfigDef *cdef)
 
int(* reset )(void *var, const struct ConfigDef *cdef, struct Buffer *err)
 
void(* destroy )(void *var, const struct ConfigDef *cdef)
 

Detailed Description

Definition at line 92 of file set.h.

Field Documentation

◆ type

int ConfigSetType::type

Data type, e.g. DT_STRING.

Definition at line 94 of file set.h.

◆ name

const char* ConfigSetType::name

Name of the type, e.g. "String".

Definition at line 95 of file set.h.

◆ string_set

int(* ConfigSetType::string_set) (void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err)

Definition at line 112 of file set.h.

◆ string_get

int(* ConfigSetType::string_get) (void *var, const struct ConfigDef *cdef, struct Buffer *result)

Definition at line 129 of file set.h.

◆ native_set

int(* ConfigSetType::native_set) (void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)

Definition at line 145 of file set.h.

◆ native_get

intptr_t(* ConfigSetType::native_get) (void *var, const struct ConfigDef *cdef, struct Buffer *err)

Definition at line 161 of file set.h.

◆ string_plus_equals

int(* ConfigSetType::string_plus_equals) (void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err)

Definition at line 177 of file set.h.

◆ string_minus_equals

int(* ConfigSetType::string_minus_equals) (void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err)

Definition at line 193 of file set.h.

◆ has_been_set

bool(* ConfigSetType::has_been_set) (void *var, const struct ConfigDef *cdef)

Definition at line 208 of file set.h.

◆ reset

int(* ConfigSetType::reset) (void *var, const struct ConfigDef *cdef, struct Buffer *err)

Definition at line 223 of file set.h.

◆ destroy

void(* ConfigSetType::destroy) (void *var, const struct ConfigDef *cdef)

Definition at line 236 of file set.h.


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