Switch to unified view

a/src/upmpdutils.hxx b/src/upmpdutils.hxx
...
...
38
extern std::string path_cat(const std::string &s1, const std::string &s2);
38
extern std::string path_cat(const std::string &s1, const std::string &s2);
39
extern void trimstring(std::string &s, const char *ws = " \t");
39
extern void trimstring(std::string &s, const char *ws = " \t");
40
extern std::string path_tildexpand(const std::string &s);
40
extern std::string path_tildexpand(const std::string &s);
41
extern void stringToTokens(const std::string &s, std::vector<std::string> &tokens,
41
extern void stringToTokens(const std::string &s, std::vector<std::string> &tokens,
42
               const std::string &delims = " \t", bool skipinit=true);
42
               const std::string &delims = " \t", bool skipinit=true);
43
template <class T> bool stringToStrings(const std::string& s, T &tokens, 
44
                  const std::string& addseps = "");
43
extern bool path_makepath(const std::string& path, int mode);
45
extern bool path_makepath(const std::string& path, int mode);
44
46
45
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
47
// Convert between db value to percent values (Get/Set Volume and VolumeDb)
46
extern int percentodbvalue(int value);
48
extern int percentodbvalue(int value);
47
extern int dbvaluetopercent(int dbvalue);
49
extern int dbvaluetopercent(int dbvalue);