mbgtools-lx  4.2.8
ctrydttm.h
Go to the documentation of this file.
1 
2 /**************************************************************************
3  *
4  * $Id: ctrydttm.h 1.7 2018/12/11 16:01:48 martin EXP $
5  *
6  * Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
7  *
8  * Description:
9  * Definitions and prototypes for ctrydttm.c.
10  *
11  * -----------------------------------------------------------------------
12  * $Log: ctrydttm.h $
13  * Revision 1.7 2018/12/11 16:01:48 martin
14  * Updated function prototypes.
15  * Revision 1.6 2018/01/02 16:15:06Z martin
16  * Updated function prototypes.
17  * Revision 1.5 2015/08/31 10:00:46Z martin
18  * Fixed DOS build.
19  * Revision 1.4 2015/08/27 16:28:25Z martin
20  * Updated function prototypes.
21  * Revision 1.3 2000/09/14 15:13:45 MARTIN
22  * Updated function prototypes.
23  * Revision 1.2 2000/07/21 11:50:43 MARTIN
24  * Initial revision
25  *
26  **************************************************************************/
27 
28 #ifndef _CTRYDTTM_H
29 #define _CTRYDTTM_H
30 
31 
32 /* Other headers to be included */
33 
34 #include <ctry.h>
35 
36 #include <stdlib.h>
37 
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #ifdef _CTRYDTTM
44  #define _ext
45 #else
46  #define _ext extern
47 #endif
48 
49 
50 /* Start of header body */
51 
52 
53 
54 
55 
56 
57 /* ----- function prototypes begin ----- */
58 
59 /* This section was generated automatically */
60 /* by MAKEHDR, do not remove the comments. */
61 
62  int snprint_02u( char *s, size_t max_len, unsigned int uc ) ;
63  int snprint_04u( char *s, size_t max_len, unsigned int us ) ;
64  int snprint_ctry_wday( char *s, size_t max_len, int wday, LANGUAGE language ) ;
65  int snprint_ctry_dt_short( char *s, size_t max_len, int mday, int month ) ;
66  int snprint_ctry_dt( char *s, size_t max_len, int mday, int month, int year ) ;
67  int snprint_ctry_tm_short( char *s, size_t max_len, uchar hour, uchar minute ) ;
68  int snprint_ctry_tm( char *s, size_t max_len, uchar hour, uchar minute, uchar second ) ;
69  int snprint_ctry_tm_long( char *s, size_t max_len, uchar hour, uchar minute, uchar second, long frac, ushort frac_digits ) ;
70 
71 /* ----- function prototypes end ----- */
72 
73 /* End of header body */
74 
75 
76 #undef _ext
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
82 
83 #endif /* _CTRYDTTM_H */
84 
LANGUAGE language
Definition: mbgstatus.c:125
uint8_t LANGUAGE
Definition: ctry.h:97
unsigned short ushort
Definition: words.h:282
int snprint_02u(char *s, size_t max_len, unsigned int uc)
Definition: ctrydttm.c:68
unsigned char uchar
Definition: words.h:277
int snprint_04u(char *s, size_t max_len, unsigned int us)
Definition: ctrydttm.c:77
int snprint_ctry_dt(char *s, size_t max_len, int mday, int month, int year)
Definition: ctrydttm.c:131
static int frac_digits
Definition: mbgsvcd.c:91
int snprint_ctry_wday(char *s, size_t max_len, int wday, LANGUAGE language)
Definition: ctrydttm.c:86
int snprint_ctry_tm_long(char *s, size_t max_len, uchar hour, uchar minute, uchar second, long frac, ushort frac_digits)
Definition: ctrydttm.c:182
int snprint_ctry_tm_short(char *s, size_t max_len, uchar hour, uchar minute)
Definition: ctrydttm.c:156
int snprint_ctry_dt_short(char *s, size_t max_len, int mday, int month)
Definition: ctrydttm.c:99
int snprint_ctry_tm(char *s, size_t max_len, uchar hour, uchar minute, uchar second)
Definition: ctrydttm.c:169