Kea 2.5.6 File Reference
#include <config.h>
#include <util/encode/encode.h>
#include <util/strutil.h>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/constants.hpp>
#include <boost/algorithm/string/split.hpp>
#include <numeric>
#include <iostream>
#include <sstream>
#include <sys/types.h>
#include <regex.h>
#include <string.h>
+ Include dependency graph for

Go to the source code of this file.


class  isc::util::str::StringSanitizerImpl


namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
namespace  isc::util
namespace  isc::util::str


void isc::util::str::decodeColonSeparatedHexString (const std::string &hex_string, std::vector< uint8_t > &binary)
 Converts a string of hexadecimal digits with colons into a vector.
void isc::util::str::decodeFormattedHexString (const std::string &hex_string, std::vector< uint8_t > &binary)
 Converts a formatted string of hexadecimal digits into a vector.
void isc::util::str::decodeSeparatedHexString (const std::string &hex_string, const std::string &sep, std::vector< uint8_t > &binary)
 Converts a string of separated hexadecimal digits into a vector.
std::string isc::util::str::dumpAsHex (const uint8_t *data, size_t length)
 Dumps a buffer of bytes as a string of hexadecimal digits.
std::string isc::util::str::format (const std::string &format, const std::vector< std::string > &args)
 Apply Formatting.
std::string isc::util::str::getToken (std::istringstream &iss)
 Returns one token from the given stringstream.
void isc::util::str::normalizeSlash (std::string &name)
 Normalize Backslash.
std::vector< uint8_t > isc::util::str::quotedStringToBinary (const std::string &quoted_string)
 Converts a string in quotes into vector.
vector< string > isc::util::str::tokens (const std::string &text, const std::string &delim=std::string(" \t\n"), bool escape=false)
 Split String into Tokens.
string isc::util::str::trim (const std::string &instring)
 Trim Leading and Trailing Spaces.