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
namespace UPnPP {
28
27
// Concatenate paths. Caller should make sure it makes sense.
29
// Concatenate paths. Caller should make sure it makes sense.
28
extern std::string caturl(const std::string& s1, const std::string& s2);
30
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
31
// Return the scheme://host:port[/] part of input, or input if it is weird
30
extern std::string baseurl(const std::string& url);
32
extern std::string baseurl(const std::string& url);
31
extern void trimstring(std::string &s, const char *ws = " \t\n");
33
extern void trimstring(std::string &s, const char *ws = " \t\n");
...
...
38
extern bool stringToBool(const std::string& s, bool *v);
40
extern bool stringToBool(const std::string& s, bool *v);
39
41
40
// Case-insensitive ascii string compare where s1 is already upper-case
42
// Case-insensitive ascii string compare where s1 is already upper-case
41
int stringuppercmp(const std::string &s1, const std::string& s2);
43
int stringuppercmp(const std::string &s1, const std::string& s2);
42
44
45
} // namespace
46
43
#endif /* _UPNPP_H_X_INCLUDED_ */
47
#endif /* _UPNPP_H_X_INCLUDED_ */