7 #ifndef ISC_UTIL_DHCP_SPACE_H
8 #define ISC_UTIL_DHCP_SPACE_H 1
12 #include <boost/algorithm/string/replace.hpp>
27 template <DhcpSpace D>
35 template <DhcpSpace D>
37 std::string result(format_string);
38 boost::replace_all(result,
"{}", cStringDhcpSpace<D>());
char const * cStringDhcpSpace()
Provides the C string representation of the DHCP space.
std::string formatDhcpSpace(char const *const format_string)
Replaces all occurrences of {} with 4 or 6 based on the templated DHCP space.
Defines the logger used by the top-level component of kea-lfc.