|
a/upmpd/upmpdutils.hxx |
|
b/upmpd/upmpdutils.hxx |
|
... |
|
... |
24 |
* Read file into string.
|
24 |
* Read file into string.
|
25 |
* @return true for ok, false else
|
25 |
* @return true for ok, false else
|
26 |
*/
|
26 |
*/
|
27 |
extern bool file_to_string(const std::string &filename, std::string &data,
|
27 |
extern bool file_to_string(const std::string &filename, std::string &data,
|
28 |
std::string *reason = 0);
|
28 |
std::string *reason = 0);
|
|
|
29 |
|
|
|
30 |
extern void path_catslash(std::string &s);
|
|
|
31 |
extern std::string path_cat(const std::string &s1, const std::string &s2);
|
|
|
32 |
extern void trimstring(string &s, const char *ws = " \t");
|
|
|
33 |
extern string path_tildexpand(const string &s);
|
|
|
34 |
|
29 |
|
35 |
|
30 |
// Escape XML special chars.
|
36 |
// Escape XML special chars.
|
31 |
extern std::string xmlquote(const std::string& in);
|
37 |
extern std::string xmlquote(const std::string& in);
|
32 |
|
38 |
|
33 |
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
|
39 |
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
|