Networking_SntpServerConfig_Init Function

Header: #include <applibs/networking.h>

Initializes a Networking_SntpServerConfig struct with the default SNTP server configuration.

void Networking_SntpServerConfig_Init(Networking_SntpServerConfig *sntpServerConfig);

Parameters

  • sntpServerConfig A pointer to the Networking_SntpServerConfig struct that receives the default SNTP server configuration.

Remarks

When the Networking_SntpServerConfig struct is no longer needed, the Networking_SntpServerConfig_Destroy function must be called on the struct to avoid resource leaks.

Concepts and samples