cfg namespace
DHCP server configuration schema and validation helpers.
Namespaces
- namespace validators
Classes
- struct DhcpServerConfigSectionDefinition
- struct DhcpServerSectionDefaults
- struct DhcpServerStaticConfig
Typedefs
Functions
- auto dhcp_server_config_is_valid(const DhcpServerConfigSection& section) -> bool
- auto dhcp_server_section_defaults(const std::string_view section_name) -> DhcpServerSectionDefaults
-
auto make_dhcp_server_section_schema(const std::string& section_name) -> prf::
config:: SectionSchema - auto parse_dhcp_server_config(const DhcpServerConfigSection& section) -> std::optional<DhcpServerStaticConfig>
Typedef documentation
using prf:: net:: dhcps:: cfg:: DhcpServerConfigSection = prf:: config:: TypedConfigSection<DhcpServerConfigSectionDefinition>
#include <net/dhcps/dhcp_server_config.hpp>
Function documentation
bool prf:: net:: dhcps:: cfg:: dhcp_server_config_is_valid(const DhcpServerConfigSection& section)
#include <net/dhcps/dhcp_server_config.hpp>
DhcpServerSectionDefaults prf:: net:: dhcps:: cfg:: dhcp_server_section_defaults(const std::string_view section_name)
#include <net/dhcps/dhcp_server_config.hpp>
prf:: config:: SectionSchema prf:: net:: dhcps:: cfg:: make_dhcp_server_section_schema(const std::string& section_name)
#include <net/dhcps/dhcp_server_config.hpp>
std::optional<DhcpServerStaticConfig> prf:: net:: dhcps:: cfg:: parse_dhcp_server_config(const DhcpServerConfigSection& section)
#include <net/dhcps/dhcp_server_config.hpp>