|
a/upmpd/upmpdutils.hxx |
|
b/upmpd/upmpdutils.hxx |
|
... |
|
... |
32 |
extern void trimstring(string &s, const char *ws = " \t");
|
32 |
extern void trimstring(string &s, const char *ws = " \t");
|
33 |
extern string path_tildexpand(const string &s);
|
33 |
extern string path_tildexpand(const string &s);
|
34 |
extern void stringToTokens(const string &s, vector<string> &tokens,
|
34 |
extern void stringToTokens(const string &s, vector<string> &tokens,
|
35 |
const string &delims = " \t", bool skipinit=true);
|
35 |
const string &delims = " \t", bool skipinit=true);
|
36 |
|
36 |
|
37 |
|
|
|
38 |
// Escape XML special chars.
|
|
|
39 |
extern std::string xmlquote(const std::string& in);
|
|
|
40 |
|
37 |
|
41 |
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
|
38 |
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
|
42 |
extern int percentodbvalue(int value);
|
39 |
extern int percentodbvalue(int value);
|
43 |
extern int dbvaluetopercent(int dbvalue);
|
40 |
extern int dbvaluetopercent(int dbvalue);
|
44 |
|
41 |
|