![]() |
BSB Developer Docs
|
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. | |
Setting descriptor.
Defines a single setting's metadata. The interface pointer must match the type (e.g., SettingProviderIntInterface for SettingProviderSettingTypeInt).