Switch to unified view

a/libupnpp/upnpp_p.hxx b/libupnpp/upnpp_p.hxx
...
...
22
/* Private shared defs for the library. Clients need not and should
22
/* Private shared defs for the library. Clients need not and should
23
   not include this */
23
   not include this */
24
24
25
#include <string>
25
#include <string>
26
26
27
// Concatenate paths. Caller should make sure it makes sense.
27
extern std::string caturl(const std::string& s1, const std::string& s2);
28
extern std::string caturl(const std::string& s1, const std::string& s2);
29
// Return the scheme://host:port[/] part of input, or input if it is weird
30
extern std::string baseurl(const std::string& url);
28
extern void trimstring(std::string &s, const char *ws = " \t\n");
31
extern void trimstring(std::string &s, const char *ws = " \t\n");
29
extern std::string path_getfather(const std::string &s);
32
extern std::string path_getfather(const std::string &s);
30
extern std::string path_getsimple(const std::string &s);
33
extern std::string path_getsimple(const std::string &s);
31
template <class T> bool csvToStrings(const std::string& s, T &tokens);
34
template <class T> bool csvToStrings(const std::string& s, T &tokens);
32
35