Imre Kis | b272481 | 2021-11-12 17:02:24 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
| 2 | /* |
| 3 | * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | #ifndef MOCK_RPC_INTERFACE_H_ |
| 7 | #define MOCK_RPC_INTERFACE_H_ |
| 8 | |
| 9 | #include "../endpoint/rpc_interface.h" |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
| 15 | void mock_rpc_interface_init(void); |
| 16 | |
| 17 | void expect_mock_rpc_interface_receive(struct rpc_interface *iface, |
| 18 | const struct call_req *req, rpc_status_t result); |
| 19 | |
| 20 | rpc_status_t mock_rpc_interface_receive(struct rpc_interface *iface, |
| 21 | struct call_req *req); |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | } |
| 25 | #endif |
| 26 | |
| 27 | #endif /* MOCK_RPC_INTERFACE_H_ */ |