MySQL 8.0.31
Source Code Documentation
hostname_validator.cc File Reference
#include "hostname_validator.h"
#include <regex>
#include "mysql/harness/net_ts/internet.h"

Namespaces

namespace  mysql_harness
 

Functions

bool HARNESS_EXPORT mysql_harness::is_valid_ip_address (const std::string &address)
 
bool HARNESS_EXPORT mysql_harness::is_valid_hostname (const std::string &address)
 check if address is a hostname. More...
 
bool HARNESS_EXPORT mysql_harness::is_valid_domainname (const std::string &address)
 check if address is a domainname. More...