Lines Matching +full:line +full:- +full:name
2 * Copyright (c) 2018-2023 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
20 int settings_line_write(const char *name, const char *value, size_t val_len,
23 /* Get len of record without alignment to write-block-size */
24 int settings_line_len_calc(const char *name, size_t val_len);
26 int settings_line_dup_check_cb(const char *name, void *val_read_cb_ctx,
29 int settings_line_load_cb(const char *name, void *val_read_cb_ctx,
32 typedef int (*line_load_cb)(const char *name, void *val_read_cb_ctx,
41 const char *name; member
48 /* in storage line contex */
51 off_t seek; /* offset of id-value pair within the file */
52 size_t len; /* len of line without len value */
59 * Read RAW settings line entry data from the storage.
61 * @param seek offset form the line beginning.
62 * @param[out] out buffer for name
64 * @param[out] len_read length of read name
65 * @param[in] cb_arg settings line storage context expected by the
69 * -ERCODE on storage errors
75 * @param val_off offset of the value-string.
76 * @param off from val_off (so within the value-string)
82 * Read the settings line entry name from the storage.
84 * @param[out] out buffer for name
86 * @param[out] len_read length of read name
87 * @param[in] cb_arg settings line storage context expected by the
90 * @retval 0 on read proper name,
91 * 1 on when read improper name,
92 * -ERCODE on storage errors