blob: b2f2ea8a8be182fd7a2a601050d770ce34dce96b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*! @file emb-time.h */
#ifndef EMB_TIME_H
#define EMB_TIME_H
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct EmbTime_
{
unsigned int year;
unsigned int month;
unsigned int day;
unsigned int hour;
unsigned int minute;
unsigned int second;
} EmbTime;
extern EMB_PUBLIC void EMB_CALL embTime_initNow(EmbTime* t);
extern EMB_PUBLIC EmbTime EMB_CALL embTime_time(EmbTime* t);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include "api-stop.h"
#endif /* EMB_TIME_H */
/* kate: bom off; indent-mode cstyle; indent-width 4; replace-trailing-space-save on; */
|