1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 #include "buf_view.h" 10 11 DEFINE_FAKE_VALUE_FUNC(bool, bt_buf_has_view, const struct net_buf *); 12 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_buf_make_view, struct net_buf *, struct net_buf *, 13 size_t, struct bt_buf_view_meta *); 14 DEFINE_FAKE_VOID_FUNC(bt_buf_destroy_view, struct net_buf *, struct bt_buf_view_meta *); 15