Converts an escaped ASCII-encoded URI to a local filename in the encoding used for filenames.
uri |
a uri describing a filename (escaped, encoded in ASCII). |
hostname |
Location to store hostname for the URI, or null. If there is no hostname in the URI, null will be stored in this location. |
a newly-allocated string holding the resulting filename, or null on an error. |