Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Data Structures | |
struct | settings_store |
struct | settings_load_arg |
struct | settings_store_itf |
Functions | |
void | settings_src_register (struct settings_store *cs) |
void | settings_dst_register (struct settings_store *cs) |
struct settings_handler_static * | settings_parse_and_lookup (const char *name, const char **next) |
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) |
settings
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 | ||
) |
#include <include/settings/settings.h>
Calls settings handler.
[in] | name | The name of the data found in the backend. |
[in] | len | The size of the data found in the backend. |
[in] | read_cb | Function provided to read the data from the backend. |
[in,out] | read_cb_arg | Arguments for the read function provided by the backend. |
[in,out] | load_arg | Arguments for data loading. |
void settings_dst_register | ( | struct settings_store * | cs | ) |
#include <include/settings/settings.h>
Register a backend handler acting as destination.
cs | Backend handler node containing handler information. |
struct settings_handler_static * settings_parse_and_lookup | ( | const char * | name, |
const char ** | next | ||
) |
#include <include/settings/settings.h>
Parses a key to an array of elements and locate corresponding module handler.
[in] | name | in string format |
[out] | next | remaining of name after matched handler |
void settings_src_register | ( | struct settings_store * | cs | ) |
#include <include/settings/settings.h>
Register a backend handler acting as source.
cs | Backend handler node containing handler information. |