Networking_DhcpServerConfig_Init Function

Header: #include <applibs/networking.h>

Initializes a Networking_DhcpServerConfig struct with the default DHCP Server configuration.

void Networking_DhcpServerConfig_Init(Networking_DhcpServerConfig *dhcpServerConfig);

Parameters

  • dhcpServerConfig A pointer to the Networking_DhcpServerConfig struct that receives the default DHCP server configuration.

Remarks

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

Concepts and samples