BSB Developer Docs
Loading...
Searching...
No Matches
SettingProviderSetting Struct Reference

Setting descriptor. More...

#include <setting_provider.h>

Data Fields

const char * name
 Unique key in JSON storage, or NULL for flat struct/union type.
 
const void * interface
 Type-specific interface (cast to appropriate XxInterface)
 
const void * context
 User context, or NULL.
 
size_t field_offset
 Offset in parent struct (use offsetof), 0 for top-level.
 
SettingProviderSettingType type
 Data type selector.
 

Detailed Description

Setting descriptor.

Defines a single setting's metadata. The interface pointer must match the type (e.g., SettingProviderIntInterface for SettingProviderSettingTypeInt).


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