Switch to unified view

a/src/utils/pathut.h b/src/utils/pathut.h
...
...
53
extern string url_encode(const string& url, 
53
extern string url_encode(const string& url, 
54
                  string::size_type offs = 0);
54
                  string::size_type offs = 0);
55
/// Transcode to utf-8 if possible or url encoding, for display.
55
/// Transcode to utf-8 if possible or url encoding, for display.
56
extern bool printableUrl(const string &fcharset, 
56
extern bool printableUrl(const string &fcharset, 
57
             const string &in, string &out);
57
             const string &in, string &out);
58
// Convert to file path if url is like file://
59
extern string fileurltolocalpath(string url);
58
60
59
/// Return the host+path part of an url. This is not a general
61
/// Return the host+path part of an url. This is not a general
60
/// routine, it does the right thing only in the recoll context
62
/// routine, it does the right thing only in the recoll context
61
extern string url_gpath(const string& url);
63
extern string url_gpath(const string& url);
62
64