common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / nsframework / framework_unified / client / NS__CWORD77__ServiceIf / src / ns__CWORD77__data_pool_internal.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
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
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 ////////////////////////////////////////////////////////////////////////////////
18 /// @file  ns__CWORD77__data_pool_internal.h
19 /// @brief
20 ///
21 ////////////////////////////////////////////////////////////////////////////////
22 //@{
23
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_
26
27 #include <native_service/ns__CWORD77__types.h>
28
29 ////////////////////////////////////////////////////////////////////////////////////////////
30 ///   SetRespDataIn_CWORD77_DataPool
31 /// API to set data associated with response into _CWORD77_ Data Pool
32 ///
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
39 ///
40 /// \return VOID - None
41 ///
42 ////////////////////////////////////////////////////////////////////////////////////////////
43 VOID SetRespDataIn_CWORD77_DataPool(const _CWORD77_DataPoolKey &f_DataPoolKey, UI_32 f_uiSize, const PVOID f_pData);
44
45 ////////////////////////////////////////////////////////////////////////////////////////////
46 ///   GetReqDataIn_CWORD77_DataPool
47 /// API to get data associated with request from _CWORD77_ Data Pool
48 ///
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
55 ///
56 /// \return EFrameworkunifiedStatus - Succes or Error
57 ///
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)
62
63 #endif  // NS_NS__CWORD77__SERVICEIF_SRC_NS__CWORD77__DATA_POOL_INTERNAL_H_  // NOLINT  (readability/nolint)
64 //@}