|
int | settings_subsys_init (void) |
| Initialization of settings and backend.
|
|
int | settings_register_with_cprio (struct settings_handler *cf, int cprio) |
| Register a handler for settings items stored in RAM with commit priority.
|
|
int | settings_register (struct settings_handler *cf) |
| Register a handler for settings items stored in RAM with commit priority set to default.
|
|
int | settings_load (void) |
| Load serialized items from registered persistence sources.
|
|
int | settings_load_subtree (const char *subtree) |
| Load limited set of serialized items from registered persistence sources.
|
|
int | settings_load_subtree_direct (const char *subtree, settings_load_direct_cb cb, void *param) |
| Load limited set of serialized items using given callback.
|
|
int | settings_save (void) |
| Save currently running serialized items.
|
|
int | settings_save_subtree (const char *subtree) |
| Save limited set of currently running serialized items.
|
|
int | settings_save_one (const char *name, const void *value, size_t val_len) |
| Write a single serialized value to persisted storage (if it has changed value).
|
|
int | settings_delete (const char *name) |
| Delete a single serialized in persisted storage.
|
|
int | settings_commit (void) |
| Call commit for all settings handler.
|
|
int | settings_commit_subtree (const char *subtree) |
| Call commit for settings handler that belong to subtree.
|
|
void | settings_src_register (struct settings_store *cs) |
| Register a backend handler acting as source.
|
|
void | settings_dst_register (struct settings_store *cs) |
| Register a backend handler acting as destination.
|
|
struct settings_handler_static * | settings_parse_and_lookup (const char *name, const char **next) |
| Parses a key to an array of elements and locate corresponding module handler.
|
|
int | settings_call_set_handler (const char *name, size_t len, settings_read_cb read_cb, void *read_cb_arg, const struct settings_load_arg *load_arg) |
| Calls settings handler.
|
|
int | settings_name_steq (const char *name, const char *key, const char **next) |
| Compares the start of name with a key.
|
|
int | settings_name_next (const char *name, const char **next) |
| determine the number of characters before the first separator
|
|
int | settings_runtime_set (const char *name, const void *data, size_t len) |
| Set a value with a specific key to a module handler.
|
|
int | settings_runtime_get (const char *name, void *data, size_t len) |
| Get a value corresponding to a key from a module handler.
|
|
int | settings_runtime_commit (const char *name) |
| Apply settings in a module handler.
|
|
int | settings_storage_get (void **storage) |
| Get the storage instance used by zephyr.
|
|