prf::net::dhcps::cfg namespace

DHCP server configuration schema and validation helpers.

Namespaces

namespace validators

Classes

struct DhcpServerConfigSectionDefinition
struct DhcpServerSectionDefaults
struct DhcpServerStaticConfig

Typedefs

using DhcpServerConfigSection = prf::config::TypedConfigSection<DhcpServerConfigSectionDefinition>

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

Function documentation

bool prf::net::dhcps::cfg::dhcp_server_config_is_valid(const DhcpServerConfigSection& section)

DhcpServerSectionDefaults prf::net::dhcps::cfg::dhcp_server_section_defaults(const std::string_view section_name)

prf::config::SectionSchema prf::net::dhcps::cfg::make_dhcp_server_section_schema(const std::string& section_name)