LexLeo
0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
osal_time_types.h
Go to the documentation of this file.
1
2
3
#ifndef LEXLEO_OSAL_TIME_TYPES_H
4
#define LEXLEO_OSAL_TIME_TYPES_H
5
6
#include "
policy/lexleo_cstd_types.h
"
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
typedef
struct
{
13
int64_t
epoch_seconds
;
14
}
osal_time_t
;
15
16
typedef
enum
osal_time_status_t
{
17
OSAL_TIME_STATUS_OK
= 0,
18
OSAL_TIME_STATUS_INVALID
,
19
OSAL_TIME_STATUS_ERROR
20
}
osal_time_status_t
;
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif
//LEXLEO_OSAL_TIME_TYPES_H
lexleo_cstd_types.h
osal_time_status_t
osal_time_status_t
Definition
osal_time_types.h:16
OSAL_TIME_STATUS_OK
@ OSAL_TIME_STATUS_OK
Definition
osal_time_types.h:17
OSAL_TIME_STATUS_INVALID
@ OSAL_TIME_STATUS_INVALID
Definition
osal_time_types.h:18
OSAL_TIME_STATUS_ERROR
@ OSAL_TIME_STATUS_ERROR
Definition
osal_time_types.h:19
osal_time_t
Definition
osal_time_types.h:12
osal_time_t::epoch_seconds
int64_t epoch_seconds
Definition
osal_time_types.h:13
src
foundation
osal
osal_time
include
osal
time
osal_time_types.h
Generated by
1.9.8