Kea 2.7.5
char_string.h File Reference
#include <dns/master_lexer.h>
#include <string>
#include <vector>
#include <algorithm>
#include <stdint.h>
+ Include dependency graph for char_string.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::dns
 
namespace  isc::dns::rdata
 
namespace  isc::dns::rdata::generic
 
namespace  isc::dns::rdata::generic::detail
 

Typedefs

typedef std::vector< uint8_t > isc::dns::rdata::generic::detail::CharString
 Type for DNS character string.
 
typedef std::vector< uint8_t > isc::dns::rdata::generic::detail::CharStringData
 Type for DNS character string without the length prefix.
 

Functions

size_t isc::dns::rdata::generic::detail::bufferToCharString (isc::util::InputBuffer &buffer, size_t rdata_len, CharString &target)
 Convert a buffer containing a character-string to CharString.
 
std::string isc::dns::rdata::generic::detail::charStringDataToString (const CharStringData &char_string)
 Convert a CharStringData into a textual DNS character-string.
 
std::string isc::dns::rdata::generic::detail::charStringToString (const CharString &char_string)
 Convert a CharString into a textual DNS character-string.
 
int isc::dns::rdata::generic::detail::compareCharStringDatas (const CharStringData &self, const CharStringData &other)
 Compare two CharStringData objects.
 
int isc::dns::rdata::generic::detail::compareCharStrings (const CharString &self, const CharString &other)
 Compare two CharString objects.
 
void isc::dns::rdata::generic::detail::stringToCharString (const MasterToken::StringRegion &str_region, CharString &result)
 Convert a DNS character-string into corresponding binary data.
 
void isc::dns::rdata::generic::detail::stringToCharStringData (const MasterToken::StringRegion &str_region, CharStringData &result)
 Convert a DNS character-string into corresponding binary data.