blob: 85dc81f1305532c1922d1cd25a99a16795edb5a4 [file] [log] [blame]
Julian Halld4071382021-07-07 16:45:53 +01001/*
2 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SERVICE_UNDER_TEST_H
8#define SERVICE_UNDER_TEST_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/**
15 * Locate and open an RPC session for the service under test. Concrete
16 * implementations of this function will locate a specific service and
17 * associate an RPC Caller with the singleton PSA API client used by
18 * the API tests.
19 */
20int locate_service_under_test(void);
21
22/**
23 * Reliquish the RPC session when the test run is complete.
24 */
25void relinquish_service_under_test(void);
26
27
28#ifdef __cplusplus
29} /* extern "C" */
30#endif
31
32#endif /* SERVICE_UNDER_TEST_H */