Progress on mingw driver
This commit is contained in:
@@ -69,6 +69,10 @@ int64_t strtoint(const std::string &value, int64_t errval);
|
||||
// String to double. Returns NAN if the number is not parseable.
|
||||
double strtodouble(const std::string &value);
|
||||
|
||||
// Split a string of the form "hostname:port" into a hostname and a port.
|
||||
// On failure, returns empty strings.
|
||||
void split_host_port(const std::string &target, std::string &host, std::string &port);
|
||||
|
||||
// Trim strings: left end, right end, both ends.
|
||||
std::string ltrim(std::string s);
|
||||
std::string rtrim(std::string s);
|
||||
|
||||
Reference in New Issue
Block a user