KNX IoT
KNX IoT Point API stack implementation
|
rfc3339 timing conversions. More...
#include "oc_config.h"
#include <stddef.h>
Go to the source code of this file.
Functions | |
size_t | oc_clock_encode_time_rfc3339 (oc_clock_time_t time, char *out_buf, size_t out_buf_len) |
encode time as rfc3339 time More... | |
oc_clock_time_t | oc_clock_parse_time_rfc3339 (const char *in_buf, size_t in_buf_len) |
parse rfc3339 time into oc_clock format More... | |
size_t | oc_clock_time_rfc3339 (char *out_buf, size_t out_buf_len) |
retrieve time as rfc3339 time (e.g. More... | |
rfc3339 timing conversions.
Definition in file oc_clock_util.h.
size_t oc_clock_encode_time_rfc3339 | ( | oc_clock_time_t | time, |
char * | out_buf, | ||
size_t | out_buf_len | ||
) |
encode time as rfc3339 time
time | the time from the oc_clock |
out_buf | allocated buffer to store time in rfc3339 format |
out_buf_len | the allocated buffer size |
oc_clock_time_t oc_clock_parse_time_rfc3339 | ( | const char * | in_buf, |
size_t | in_buf_len | ||
) |
parse rfc3339 time into oc_clock format
in_buf | buffer with rfc3339 time |
in_buf_len | the length of the buffer |
size_t oc_clock_time_rfc3339 | ( | char * | out_buf, |
size_t | out_buf_len | ||
) |
retrieve time as rfc3339 time (e.g.
string)
out_buf | allocated buffer |
out_buf_len | buffer length of the allocated buffer |