blob: 834384e691e99acf2a00f68f82673fe735c4fc7c [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 */
Balint Dobszaya7a1a5b2023-07-05 15:48:21 +020020int locate_service_under_test(void);
Julian Halld4071382021-07-07 16:45:53 +010021
22/**
23 * Reliquish the RPC session when the test run is complete.
24 */
Balint Dobszaya7a1a5b2023-07-05 15:48:21 +020025int relinquish_service_under_test(void);
Julian Halld4071382021-07-07 16:45:53 +010026
27
28#ifdef __cplusplus
29} /* extern "C" */
30#endif
31
32#endif /* SERVICE_UNDER_TEST_H */