|
a/src/pathut.h |
|
b/src/pathut.h |
|
... |
|
... |
116 |
extern std::string path_pathtofileurl(const std::string& path);
|
116 |
extern std::string path_pathtofileurl(const std::string& path);
|
117 |
|
117 |
|
118 |
#ifdef _WIN32
|
118 |
#ifdef _WIN32
|
119 |
/// Convert \ separators to /
|
119 |
/// Convert \ separators to /
|
120 |
void path_slashize(std::string& s);
|
120 |
void path_slashize(std::string& s);
|
|
|
121 |
void path_backslashize(std::string& s);
|
121 |
#endif
|
122 |
#endif
|
122 |
|
123 |
|
123 |
/// Lock/pid file class. This is quite close to the pidfile_xxx
|
124 |
/// Lock/pid file class. This is quite close to the pidfile_xxx
|
124 |
/// utilities in FreeBSD with a bit more encapsulation. I'd have used
|
125 |
/// utilities in FreeBSD with a bit more encapsulation. I'd have used
|
125 |
/// the freebsd code if it was available elsewhere
|
126 |
/// the freebsd code if it was available elsewhere
|