EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
osiClockTime.h
1 /*************************************************************************\
2 * Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * SPDX-License-Identifier: EPICS
5 * EPICS BASE is distributed subject to a Software License Agreement found
6 * in file LICENSE that is included with this distribution.
7 \*************************************************************************/
8 
9 #ifndef INC_osiClockTime_H
10 #define INC_osiClockTime_H
11 
12 #define CLOCKTIME_NOSYNC 0
13 #define CLOCKTIME_SYNC 1
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 void ClockTime_Init(int synchronize);
20 void ClockTime_Shutdown(void *dummy);
21 int ClockTime_Report(int level);
22 
23 #if defined(vxWorks) || defined(__rtems__)
24 typedef void (* CLOCKTIME_SYNCHOOK)(int synchronized);
25 
26 extern CLOCKTIME_SYNCHOOK ClockTime_syncHook;
27 #endif
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif