settings: disallow modifying the content of a subtree name
There may be value in being able to rename a subtree, but there is no identified need to be able modify the text of an assigned subtree name. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
06ce1e4c32
commit
0d480e78f8
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ typedef ssize_t (*settings_read_cb)(void *cb_arg, void *data, size_t len);
|
|||
*/
|
||||
struct settings_handler {
|
||||
|
||||
char *name;
|
||||
const char *name;
|
||||
/**< Name of subtree. */
|
||||
|
||||
int (*h_get)(const char *key, char *val, int val_len_max);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue