Default implementation of internal clock.
More...
|
static void | coap_clock_init_impl (void) |
|
static void | coap_ticks_impl (coap_tick_t *t) |
|
static int | coap_time_lt (coap_tick_t a, coap_tick_t b) |
| Returns 1 if and only if a is less than b where less is defined on a signed data type. More...
|
|
static int | coap_time_le (coap_tick_t a, coap_tick_t b) |
| Returns 1 if and only if a is less than or equal b where less is defined on a signed data type. More...
|
|
Default implementation of internal clock.
You should redefine this if you do not have time() and gettimeofday().
static void coap_clock_init_impl |
( |
void |
| ) |
|
|
inlinestatic |
static void coap_ticks_impl |
( |
coap_tick_t * |
t | ) |
|
|
inlinestatic |
static int coap_time_le |
( |
coap_tick_t |
a, |
|
|
coap_tick_t |
b |
|
) |
| |
|
inlinestatic |
Returns 1
if and only if a
is less than or equal b
where less is defined on a signed data type.
Definition at line 153 of file coap_time.h.
static int coap_time_lt |
( |
coap_tick_t |
a, |
|
|
coap_tick_t |
b |
|
) |
| |
|
inlinestatic |
Returns 1
if and only if a
is less than b
where less is defined on a signed data type.
Definition at line 144 of file coap_time.h.