1 /* 2 * Copyright (c) 2023 Legrand North America, LLC. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_TESTS_SUBSYS_TESTSUITE_FFF_FAKE_CONTEXTS_FAKES_CALLED_API_H_ 8 #define ZEPHYR_TESTS_SUBSYS_TESTSUITE_FFF_FAKE_CONTEXTS_FAKES_CALLED_API_H_ 9 10 #include <zephyr/fff.h> 11 #include <zephyr/called_API.h> 12 13 #define ZEPHYR_CALLED_API_FFF_FAKES_LIST(FAKE) \ 14 FAKE(called_API_open) \ 15 FAKE(called_API_close) \ 16 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 DECLARE_FAKE_VALUE_FUNC(int, called_API_open, const struct called_API_info **); 23 DECLARE_FAKE_VALUE_FUNC(int, called_API_close, const struct called_API_info *); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* ZEPHYR_TESTS_SUBSYS_TESTSUITE_FFF_FAKE_CONTEXTS_FAKES_CALLED_API_H_ */ 30