Atrinik Client  4.0
Data Fields
setting_struct Struct Reference

#include <settings.h>

Data Fields

char * name
char * desc
uint8_t type
uint8_t internal
void * custom_attrset
union {
   char *   str
   int64_t   i

Detailed Description

A single setting.

Definition at line 207 of file settings.h.

Field Documentation

void* setting_struct::custom_attrset

Custom data; for settings like select, range, etc.

Definition at line 221 of file settings.h.

char* setting_struct::desc

Description of the setting.

Definition at line 212 of file settings.h.

int64_t setting_struct::i

Integer value.

Definition at line 229 of file settings.h.

uint8_t setting_struct::internal

Whether the setting is internal, and should not be shown to the user.

Definition at line 218 of file settings.h.

char* setting_struct::name

Name of the setting.

Definition at line 209 of file settings.h.

char* setting_struct::str

String value.

Definition at line 226 of file settings.h.

uint8_t setting_struct::type

Type of the setting - one of SETTING_TYPE_xxx.

Definition at line 215 of file settings.h.

union { ... } setting_struct::val

Setting value.

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