Parse and break an uri apart in its individual components like the uri scheme, user info, port, host and path.
The return value pointer can be null
to ignore certain parts of the uri. If the function returns true
, then
all return value pointers should be freed using g_free
uri |
the uri to decode |
scheme |
return value pointer for the uri's scheme (e.g. http, sftp, ...), or |
user |
return value pointer for the uri user info, or |
host |
return value pointer for the uri host, or |
port |
return value pointer for the uri port, or |
path |
return value pointer for the uri path, or |
|