|
a/src/upmpdutils.hxx |
|
b/src/upmpdutils.hxx |
|
... |
|
... |
31 |
*/
|
31 |
*/
|
32 |
extern bool file_to_string(const std::string &filename, std::string &data,
|
32 |
extern bool file_to_string(const std::string &filename, std::string &data,
|
33 |
std::string *reason = 0);
|
33 |
std::string *reason = 0);
|
34 |
|
34 |
|
35 |
extern void path_catslash(std::string &s);
|
35 |
extern void path_catslash(std::string &s);
|
|
|
36 |
extern bool path_exists(const std::string& path);
|
|
|
37 |
extern bool path_isabsolute(const std::string &path);
|
36 |
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);
|
37 |
extern void trimstring(std::string &s, const char *ws = " \t");
|
39 |
extern void trimstring(std::string &s, const char *ws = " \t");
|
38 |
extern std::string path_tildexpand(const std::string &s);
|
40 |
extern std::string path_tildexpand(const std::string &s);
|
39 |
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,
|
40 |
const std::string &delims = " \t", bool skipinit=true);
|
42 |
const std::string &delims = " \t", bool skipinit=true);
|