#include <msn/util.h>
#include <errno.h>
#include <cctype>
Namespaces | |
| namespace | MSN |
Functions | |
| std::pair< std::string, int > | splitServerAddress (const std::string &address, int default_port) |
| Split a string containing a hostname and port number into its respective parts. | |
| std::string | decodeURL (const std::string &s) |
| URL-decode a string. | |
| std::string | encodeURL (const std::string &s) |
| URL-encode a string. | |
| std::vector< std::string > | splitString (const std::string &s, const std::string &sep, bool suppressBlanks) |
| Split string at each occurence of separator. | |
| int | nocase_cmp (const std::string &s1, const std::string &s2) |
| Compare two strings in a case insensitive fashion. | |
| unsigned int | decimalFromString (const std::string &s) throw (std::logic_error) |
| Convert a string, s, that contains decimal digits into an unsigned int. | |
|
|
Convert a string, s, that contains decimal digits into an unsigned int.
|
|
|
URL-decode a string.
|
|
|
URL-encode a string.
|
|
||||||||||||
|
Compare two strings in a case insensitive fashion.
|
|
||||||||||||
|
Split a string containing a hostname and port number into its respective parts.
|
|
||||||||||||||||
|
Split string at each occurence of separator.
|
1.4.1