mbgtools-lx  4.2.8
pcpsmktm.h
Go to the documentation of this file.
1 
2 /**************************************************************************
3  *
4  * $Id: pcpsmktm.h 1.2 2017/07/05 08:18:54 martin REL_M $
5  *
6  * Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
7  *
8  * Description:
9  * Definitions and prototypes for pcpsmktm.c.
10  *
11  * -----------------------------------------------------------------------
12  * $Log: pcpsmktm.h $
13  * Revision 1.2 2017/07/05 08:18:54 martin
14  * Cleaned up to conform to standard header file format.
15  * Updated function prototypes.
16  * Revision 1.1 2001/02/02 15:31:07 MARTIN
17  *
18  **************************************************************************/
19 
20 #ifndef _PCPSMKTM_H
21 #define _PCPSMKTM_H
22 
23 
24 /* Other headers to be included */
25 
26 #include <pcpsdefs.h>
27 
28 #include <time.h>
29 
30 
31 #ifdef _PCPSMKTM
32  #define _ext
33  #define _DO_INIT
34 #else
35  #define _ext extern
36 #endif
37 
38 
39 /* Start of header body */
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 
46 
47 /* ----- function prototypes begin ----- */
48 
49 /* This section was generated automatically */
50 /* by MAKEHDR, do not remove the comments. */
51 
64  time_t pcps_mktime( const PCPS_TIME *tp ) ;
65 
66 
67 /* ----- function prototypes end ----- */
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 /* End of header body */
74 
75 #undef _ext
76 #undef _DO_INIT
77 
78 #endif /* _PCPSMKTM_H */
time_t pcps_mktime(const PCPS_TIME *tp)
Compute a linear time_t value from PCPS_TIME.
Definition: pcpsmktm.c:49
Local calendar date and time, plus sync status.
Definition: pcpsdefs.h:1128