| Uri.h | | Uri.h | |
| | | | |
| skipping to change at line 307 | | skipping to change at line 307 | |
| * | | * | |
| * @see uriUnescapeInPlaceExA | | * @see uriUnescapeInPlaceExA | |
| * @see uriEscapeA | | * @see uriEscapeA | |
| * @since 0.3.0 | | * @since 0.3.0 | |
| */ | | */ | |
| const URI_CHAR * URI_FUNC(UnescapeInPlace)(URI_CHAR * inout); | | const URI_CHAR * URI_FUNC(UnescapeInPlace)(URI_CHAR * inout); | |
| | | | |
| /** | | /** | |
| * Performs reference resolution as described in | | * Performs reference resolution as described in | |
| * <a href="http://tools.ietf.org/html/rfc3986#section-5.2.2">section 5.2.2
of RFC 3986</a>. | | * <a href="http://tools.ietf.org/html/rfc3986#section-5.2.2">section 5.2.2
of RFC 3986</a>. | |
|
| | | * NOTE: On success you have to call uriFreeUriMembersA on \p absoluteDest
manually later. | |
| * | | * | |
| * @param absoluteDest <b>OUT</b>: Result %URI | | * @param absoluteDest <b>OUT</b>: Result %URI | |
| * @param relativeSource <b>IN</b>: Reference to resolve | | * @param relativeSource <b>IN</b>: Reference to resolve | |
| * @param absoluteBase <b>IN</b>: Base %URI to apply | | * @param absoluteBase <b>IN</b>: Base %URI to apply | |
| * @return Error code or 0 on success | | * @return Error code or 0 on success | |
| * | | * | |
| * @see uriRemoveBaseUriA | | * @see uriRemoveBaseUriA | |
| * @since 0.4.0 | | * @since 0.4.0 | |
| */ | | */ | |
| int URI_FUNC(AddBaseUri)(URI_TYPE(Uri) * absoluteDest, | | int URI_FUNC(AddBaseUri)(URI_TYPE(Uri) * absoluteDest, | |
| const URI_TYPE(Uri) * relativeSource, | | const URI_TYPE(Uri) * relativeSource, | |
| const URI_TYPE(Uri) * absoluteBase); | | const URI_TYPE(Uri) * absoluteBase); | |
| | | | |
| /** | | /** | |
| * Tries to make a relative %URI (a reference) from an | | * Tries to make a relative %URI (a reference) from an | |
| * absolute %URI and a given base %URI. This can only work if | | * absolute %URI and a given base %URI. This can only work if | |
| * the absolute %URI shares scheme and authority with | | * the absolute %URI shares scheme and authority with | |
| * the base %URI. If it does not the result will still be | | * the base %URI. If it does not the result will still be | |
| * an absolute URI (with scheme part if necessary). | | * an absolute URI (with scheme part if necessary). | |
|
| | | * NOTE: On success you have to call uriFreeUriMembersA on | |
| | | * \p dest manually later. | |
| * | | * | |
| * @param dest <b>OUT</b>: Result %URI | | * @param dest <b>OUT</b>: Result %URI | |
| * @param absoluteSource <b>IN</b>: Absolute %URI to make relative | | * @param absoluteSource <b>IN</b>: Absolute %URI to make relative | |
| * @param absoluteBase <b>IN</b>: Base %URI | | * @param absoluteBase <b>IN</b>: Base %URI | |
| * @param domainRootMode <b>IN</b>: Create %URI with path relative to dom
ain root | | * @param domainRootMode <b>IN</b>: Create %URI with path relative to dom
ain root | |
| * @return Error code or 0 on success | | * @return Error code or 0 on success | |
| * | | * | |
| * @see uriAddBaseUriA | | * @see uriAddBaseUriA | |
| * @since 0.5.2 | | * @since 0.5.2 | |
| */ | | */ | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|