1 /* 2 * Copyright (c) 2023, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef RESTAPI_LOCATION_STRATEGY_H 8 #define RESTAPI_LOCATION_STRATEGY_H 9 10 #include "service_locator.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /** 17 * Returns a service_location_strategy for locating a service reached via a 18 * REST API that presents a call endpoint for RPC access to the service. The 19 * FW Test API provides such call endpoints. 20 */ 21 const struct service_location_strategy *restapi_location_strategy(void); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif /* RESTAPI_LOCATION_STRATEGY_H */ 28