Re-organized sub-directory by category
[staging/basesystem.git] / service / vehicle / positioning / client / include / CanInput_API_private.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 name        : CanInput_API_private.h
19  * System name        : PastModel002
20  * Sub System name    : CanInput_API library
21  ******************************************************************************/
22 #ifndef POSITIONING_CLIENT_INCLUDE_CANINPUT_API_PRIVATE_H_
23 #define POSITIONING_CLIENT_INCLUDE_CANINPUT_API_PRIVATE_H_
24
25 /************************************************************************
26  *            Include                                                   *
27  ***********************************************************************/
28
29 /************************************************************************
30 *            Definition                                                 *
31 ************************************************************************/
32 /*----------------------------------------------------------------------*
33  *    Message Definition                                                *
34  *----------------------------------------------------------------------*/
35 /* Message body size (byte) */
36 #define CANINPUT_MSGBUF_DSIZE    8    /* Maximum message body size                */
37
38 /************************************************************************
39 *            type Definition                                            *
40 ************************************************************************/
41
42 /************************************************************************
43 *            struct Definition                                          *
44 ************************************************************************/
45 /*****************************************************************************
46  * TAG         : CANINPUT_MSG_INFO
47  * ABSTRACT     : CanInput_API message structure
48  * NOTE         : Message structure
49  *****************************************************************************/
50 typedef struct {
51     T_APIMSG_MSGBUF_HEADER    hdr;                            /* Message header */
52     uint8_t                   data[CANINPUT_MSGBUF_DSIZE];    /* Message data (Localtime) */
53 } CANINPUT_MSG_INFO;
54
55 /************************************************************************
56  *            Function prototypes                                       *
57  ************************************************************************/
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61
62 /*[CanInput_API Private API]*/
63
64 #ifdef __cplusplus
65 }
66 #endif
67
68 #endif  // POSITIONING_CLIENT_INCLUDE_CANINPUT_API_PRIVATE_H_