1 /*
2  * Copyright (c) 2022 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/bluetooth/bluetooth.h>
8 #include <zephyr/fff.h>
9 #include <zephyr/kernel.h>
10 
11 #include <host/keys.h>
12 
13 typedef void (*bt_keys_foreach_type_cb)(struct bt_keys *keys, void *data);
14 
15 /* List of fakes used by this unit tester */
16 #define KEYS_FFF_FAKES_LIST(FAKE)                                                                  \
17 	FAKE(bt_keys_find_irk)                                                                     \
18 	FAKE(bt_keys_foreach_type)
19 
20 DECLARE_FAKE_VALUE_FUNC(struct bt_keys *, bt_keys_find_irk, uint8_t, const bt_addr_le_t *);
21 DECLARE_FAKE_VOID_FUNC(bt_keys_foreach_type, enum bt_keys_type, bt_keys_foreach_type_cb, void *);
22