blob: 29f99f751258be3f44993ad77ecc4c1404e5e8c7 [file] [log] [blame]
/*
* Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef SERVICE_UNDER_TEST_H
#define SERVICE_UNDER_TEST_H
#include <rpc/common/logging/logging_caller.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Locate and open an RPC session for the service under test. Concrete
* implementations of this function will locate a specific service and
* associate an RPC Caller with the singleton PSA API client used by
* the API tests.
*/
int locate_service_under_test(struct logging_caller *call_logger);
/**
* Reliquish the RPC session when the test run is complete.
*/
void relinquish_service_under_test(void);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SERVICE_UNDER_TEST_H */