pub unsafe extern "C" fn uriRemoveBaseUriA(
dest: *mut UriUriA,
absoluteSource: *const UriUriA,
absoluteBase: *const UriUriA,
domainRootMode: UriBool,
) -> c_intExpand description
Tries to make a relative %URI (a reference) from an absolute %URI and a given base %URI. The resulting %URI is going to be relative if the absolute %URI and base %UI share both scheme and authority. If that is not the case, the result will still be an absolute URI (with scheme part if necessary). Uses default libc-based memory manager. NOTE: On success you have to call uriFreeUriMembersA on \p dest manually later.
@param dest OUT: Result %URI @param absoluteSource IN: Absolute %URI to make relative @param absoluteBase IN: Base %URI @param domainRootMode IN: Create %URI with path relative to domain root @return Error code or 0 on success
@see uriRemoveBaseUriMmA @see uriAddBaseUriA @see uriAddBaseUriExA @see uriAddBaseUriExMmA @since 0.5.2