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 /*************************************************************************
19 @detail Common processing function header file concerning clock
20 *****************************************************************************/
21 #ifndef POSITIONING_SERVER_INCLUDE_SENSOR_CLOCKUTILITY_H_
22 #define POSITIONING_SERVER_INCLUDE_SENSOR_CLOCKUTILITY_H_
24 #include <vehicle_service/positioning_base_library.h>
25 #include "Clock_API.h"
32 Function prototype declaration
33 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
35 RET_API ClockUtilityConvertDateToSecond(const LPSYSTEMTIME lp_st, u_int32* uli_sec);
36 RET_API ClockUtilityConvertSecondToDate(const u_int32* uli_sec, LPSYSTEMTIME lp_st);
38 /* Converting TimeData Types to SYSTEMTIME Types Functions */
39 CLOCK_RETURN ClockApiConvertTimeDataToSYSTEMTIME(const TimeData* base_time,
40 SYSTEMTIME* result_time);
46 #endif // POSITIONING_SERVER_INCLUDE_SENSOR_CLOCKUTILITY_H_