MPD
0.20.18
|
Go to the source code of this file.
Data Structures | |
struct | LocatedUri |
Functions | |
LocatedUri | LocateUri (const char *uri, const Client *client) |
Classify a URI. More... | |
LocatedUri LocateUri | ( | const char * | uri, |
const Client * | client | ||
) |
Classify a URI.
Throws #std::runtime_error on error.
client | the Client that is used to determine whether a local file is allowed; nullptr disables the check and allows all local files |
storage | a Storage instance which may be used to convert absolute URIs to relative ones, using Storage::MapToRelativeUTF8(); that feature is disabled if this parameter is nullptr |