blob: 7e80c4a07e6945cf888c4d795b11a91d529d1663 [file] [log] [blame]
Imre Kisb2724812021-11-12 17:02:24 +01001/* 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
12extern "C" {
13#endif
14
15void mock_rpc_interface_init(void);
16
17void expect_mock_rpc_interface_receive(struct rpc_interface *iface,
18 const struct call_req *req, rpc_status_t result);
19
20rpc_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_ */