Lines Matching +full:key +full:- +full:int

4  * SPDX-License-Identifier: Apache-2.0
14 /* Max settings key length (with all components) */
17 /* Base64-encoded string buffer size of in_size bytes */
18 #define BT_SETTINGS_SIZE(in_size) ((((((in_size) - 1) / 3) * 4) + 4) + 1)
25 int bt_settings_store(const char *key, uint8_t id, const bt_addr_le_t *addr, const void *value,
27 int bt_settings_delete(const char *key, uint8_t id, const bt_addr_le_t *addr);
29 void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len);
30 void bt_testing_settings_delete_hook(const char *key);
34 const bt_addr_le_t *addr, const char *key);
35 int bt_settings_decode_key(const char *key, bt_addr_le_t *addr);
39 int bt_settings_init(void);
41 int bt_settings_store_sc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len);
42 int bt_settings_delete_sc(uint8_t id, const bt_addr_le_t *addr);
44 int bt_settings_store_cf(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len);
45 int bt_settings_delete_cf(uint8_t id, const bt_addr_le_t *addr);
47 int bt_settings_store_ccc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len);
48 int bt_settings_delete_ccc(uint8_t id, const bt_addr_le_t *addr);
50 int bt_settings_store_hash(const void *value, size_t val_len);
51 int bt_settings_delete_hash(void);
53 int bt_settings_store_name(const void *value, size_t val_len);
54 int bt_settings_delete_name(void);
56 int bt_settings_store_appearance(const void *value, size_t val_len);
57 int bt_settings_delete_appearance(void);
59 int bt_settings_store_id(void);
60 int bt_settings_delete_id(void);
62 int bt_settings_store_irk(void);
63 int bt_settings_delete_irk(void);
65 int bt_settings_store_link_key(const bt_addr_le_t *addr, const void *value, size_t val_len);
66 int bt_settings_delete_link_key(const bt_addr_le_t *addr);
68 int bt_settings_store_keys(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len);
69 int bt_settings_delete_keys(uint8_t id, const bt_addr_le_t *addr);