2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 ////////////////////////////////////////////////////////////////////////////////
18 /// @file ns__CWORD77__data_pool_internal.h
21 ////////////////////////////////////////////////////////////////////////////////
24 #ifndef NS_NS__CWORD77__SERVICEIF_SRC_NS__CWORD77__DATA_POOL_INTERNAL_H_ // NOLINT (readability/nolint)
25 #define NS_NS__CWORD77__SERVICEIF_SRC_NS__CWORD77__DATA_POOL_INTERNAL_H_
27 #include <native_service/ns__CWORD77__types.h>
29 ////////////////////////////////////////////////////////////////////////////////////////////
30 /// SetRespDataIn_CWORD77_DataPool
31 /// API to set data associated with response into _CWORD77_ Data Pool
33 /// \param [in] f_DataPoolKey
34 /// _CWORD77_DataPoolKey - Data pool key
35 /// \param [in] f_uiSize
36 /// UI_32 - size of the data
37 /// \param [in] f_pData
38 /// PVOID - void pointer to data
40 /// \return VOID - None
42 ////////////////////////////////////////////////////////////////////////////////////////////
43 VOID SetRespDataIn_CWORD77_DataPool(const _CWORD77_DataPoolKey &f_DataPoolKey, UI_32 f_uiSize, const PVOID f_pData);
45 ////////////////////////////////////////////////////////////////////////////////////////////
46 /// GetReqDataIn_CWORD77_DataPool
47 /// API to get data associated with request from _CWORD77_ Data Pool
49 /// \param [in] f_DataPoolKey
50 /// _CWORD77_DataPoolKey - Data pool key
51 /// \param [in] f_uiSize
52 /// UI_32 - size of the data
53 /// \param [in] f_pData
54 /// PVOID - void pointer to data
56 /// \return EFrameworkunifiedStatus - Succes or Error
58 ////////////////////////////////////////////////////////////////////////////////////////////
59 EFrameworkunifiedStatus GetReqDataFrom_CWORD77_DataPool(const _CWORD77_DataPoolKey &f_DataPoolKey, // NOLINT (readability/nolint)
60 UI_32 &f_uiSize, // NOLINT (readability/nolint)
61 PVOID &f_pData); // NOLINT (readability/nolint)
63 #endif // NS_NS__CWORD77__SERVICEIF_SRC_NS__CWORD77__DATA_POOL_INTERNAL_H_ // NOLINT (readability/nolint)