/* * Copyright (c) 2022 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include #include typedef void (*bt_conn_foreach_cb) (struct bt_conn *conn, void *data); /* List of fakes used by this unit tester */ #define CONN_FFF_FAKES_LIST(FAKE) \ FAKE(bt_conn_foreach) \ FAKE(bt_conn_get_dst) \ DECLARE_FAKE_VOID_FUNC(bt_conn_foreach, enum bt_conn_type, bt_conn_foreach_cb, void *); DECLARE_FAKE_VALUE_FUNC(const bt_addr_le_t *, bt_conn_get_dst, const struct bt_conn *);