Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
#include "openapi_common.h"
Go to the source code of this file.
Macros | |
#define | OPEN_DATE_TIME_BUF_LEN 20 /* includes trailing '\0' */ |
#define | OPEN_TIMEZONE_BUF_LEN 15 /* includes trailing '\0' */ |
Enumerations | |
enum | OPEN_TIME_CLOCK_SRC_t { OPEN_CLOCK_SRC_NONE = 0, OPEN_CLOCK_SRC_SNTP = 1 } |
Functions | |
open_error_t | openapiClockGet (openapiClientHandle_t *client_handle, open_buffdesc *bufd, OPEN_TIME_CLOCK_SRC_t *clockSrc) |
Get the date and time from the system clock. More... | |
open_error_t | openapiClockSet (openapiClientHandle_t *client_handle, open_buffdesc *bufd) |
Set the system clock date and time. More... | |
open_error_t | openapiTimeZoneGet (openapiClientHandle_t *client_handle, open_buffdesc *bufd) |
Get the time zone from the system clock. More... | |
open_error_t | openapiTimeZoneSet (openapiClientHandle_t *client_handle, open_buffdesc *bufd) |
Set the system clock time zone. More... | |