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

String interface with optional validation. More...

#include <setting_provider.h>

Data Fields

bool(* is_valid_callback )(const SettingProviderSetting *setting, const char *value)
 Returns true if value is valid, NULL skips validation.
 
const char * default_value
 Default string value when setting is not present in storage.
 
size_t max_size
 Buffer size for loading (including null terminator)
 

Detailed Description

String interface with optional validation.


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