mbgtools-lx
4.2.8
mbgmktm.h
Go to the documentation of this file.
1
2
/**************************************************************************
3
*
4
* $Id: mbgmktm.h 1.2 2017/07/05 10:02:42 martin REL_M $
5
*
6
* Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
7
*
8
* Description:
9
* Definitions and prototypes for mbgmktm.c.
10
*
11
* -----------------------------------------------------------------------
12
* $Log: mbgmktm.h $
13
* Revision 1.2 2017/07/05 10:02:42 martin
14
* Include time.h.
15
* Updated function prototypes.
16
* Revision 1.1 2006/08/22 08:57:15 martin
17
* Former function totalsec() moved here from pcpsmktm.c.
18
*
19
**************************************************************************/
20
21
#ifndef _MBGMKTM_H
22
#define _MBGMKTM_H
23
24
25
/* Other headers to be included */
26
27
#include <time.h>
28
29
30
#ifdef _MBGMKTM
31
#define _ext
32
#else
33
#define _ext extern
34
#endif
35
36
37
/* Start of header body */
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
/* ----- function prototypes begin ----- */
44
45
/* This section was generated automatically */
46
/* by MAKEHDR, do not remove the comments. */
47
66
time_t
mbg_mktime
(
int
year,
int
month,
int
day,
int
hour,
int
min,
int
sec ) ;
67
68
69
/* ----- function prototypes end ----- */
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
/* End of header body */
76
77
#undef _ext
78
79
#endif
/* _MBGMKTM_H */
mbg_mktime
time_t mbg_mktime(int year, int month, int day, int hour, int min, int sec)
Compute a linear time_t value from broken down date and time.
Definition:
mbgmktm.c:61
mbglib
common
mbgmktm.h
Generated by
1.8.13