diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2018-09-09 08:50:22 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2018-09-09 08:50:22 +0200 |
commit | cc175e2048d967ddb8f3e54587938072150bbc7c (patch) | |
tree | cc3d2dfdcc29a1a46c6f3cd323edee805c90c437 /include/uriparser/Uri.h | |
parent | f10130df30ed342e6064aa60d2a56f5107385d6b (diff) | |
parent | 88c5a2de8655da11adc5999be9b2dccc6632f07b (diff) |
Merge branch 'release/debian/0.8.6-1'debian/0.8.6-1
Diffstat (limited to 'include/uriparser/Uri.h')
-rw-r--r-- | include/uriparser/Uri.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/uriparser/Uri.h b/include/uriparser/Uri.h index a3f7914..f4600fb 100644 --- a/include/uriparser/Uri.h +++ b/include/uriparser/Uri.h @@ -1,4 +1,4 @@ -/* f9ca23a99fc1c8ff610e2bdc0bff3c4bb4d883ccbff5851fe7a1398f9b6aca57 (0.8.5+) +/* 5afca6d8abb5d1a22b4e28c912538e6729692afc98f089d9e538ca01c43ab805 (0.8.6+) * * uriparser - RFC 3986 URI parsing library * @@ -177,7 +177,7 @@ typedef struct URI_TYPE(UriStruct) { */ typedef struct URI_TYPE(ParserStateStruct) { URI_TYPE(Uri) * uri; /**< Plug in the %URI structure to be filled while parsing here */ - int errorCode; /**< Code identifying the occured error */ + int errorCode; /**< Code identifying the error which occurred */ const URI_CHAR * errorPos; /**< Pointer to position in case of a syntax error */ void * reserved; /**< Reserved to the parser */ @@ -258,8 +258,8 @@ void URI_FUNC(FreeUriMembers)(URI_TYPE(Uri) * uri); * @param inFirst <b>IN</b>: Pointer to first character of the input text * @param inAfterLast <b>IN</b>: Pointer after the last character of the input text * @param out <b>OUT</b>: Encoded text destination - * @param spaceToPlus <b>IN</b>: Wether to convert ' ' to '+' or not - * @param normalizeBreaks <b>IN</b>: Wether to convert CR and LF to CR-LF or not. + * @param spaceToPlus <b>IN</b>: Whether to convert ' ' to '+' or not + * @param normalizeBreaks <b>IN</b>: Whether to convert CR and LF to CR-LF or not. * @return Position of terminator in output string * * @see uriEscapeA @@ -282,8 +282,8 @@ URI_CHAR * URI_FUNC(EscapeEx)(const URI_CHAR * inFirst, * * @param in <b>IN</b>: Text source * @param out <b>OUT</b>: Encoded text destination - * @param spaceToPlus <b>IN</b>: Wether to convert ' ' to '+' or not - * @param normalizeBreaks <b>IN</b>: Wether to convert CR and LF to CR-LF or not. + * @param spaceToPlus <b>IN</b>: Whether to convert ' ' to '+' or not + * @param normalizeBreaks <b>IN</b>: Whether to convert CR and LF to CR-LF or not. * @return Position of terminator in output string * * @see uriEscapeExA @@ -381,9 +381,9 @@ int URI_FUNC(AddBaseUriEx)(URI_TYPE(Uri) * absoluteDest, /** * Tries to make a relative %URI (a reference) from an - * absolute %URI and a given base %URI. This can only work if - * the absolute %URI shares scheme and authority with - * the base %URI. If it does not the result will still be + * 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). * NOTE: On success you have to call uriFreeUriMembersA on * \p dest manually later. @@ -612,8 +612,8 @@ int URI_FUNC(ComposeQueryCharsRequired)(const URI_TYPE(QueryList) * queryList, * * @param queryList <b>IN</b>: Query list to measure * @param charsRequired <b>OUT</b>: Length of the string representation in characters <b>excluding</b> terminator - * @param spaceToPlus <b>IN</b>: Wether to convert ' ' to '+' or not - * @param normalizeBreaks <b>IN</b>: Wether to convert CR and LF to CR-LF or not. + * @param spaceToPlus <b>IN</b>: Whether to convert ' ' to '+' or not + * @param normalizeBreaks <b>IN</b>: Whether to convert CR and LF to CR-LF or not. * @return Error code or 0 on success * * @see uriComposeQueryCharsRequiredA @@ -656,8 +656,8 @@ int URI_FUNC(ComposeQuery)(URI_CHAR * dest, * @param queryList <b>IN</b>: Query list to convert * @param maxChars <b>IN</b>: Maximum number of characters to copy <b>including</b> terminator * @param charsWritten <b>OUT</b>: Number of characters written, can be lower than maxChars even if the query list is too long! - * @param spaceToPlus <b>IN</b>: Wether to convert ' ' to '+' or not - * @param normalizeBreaks <b>IN</b>: Wether to convert CR and LF to CR-LF or not. + * @param spaceToPlus <b>IN</b>: Whether to convert ' ' to '+' or not + * @param normalizeBreaks <b>IN</b>: Whether to convert CR and LF to CR-LF or not. * @return Error code or 0 on success * * @see uriComposeQueryA @@ -700,8 +700,8 @@ int URI_FUNC(ComposeQueryMalloc)(URI_CHAR ** dest, * * @param dest <b>OUT</b>: Output destination * @param queryList <b>IN</b>: Query list to convert - * @param spaceToPlus <b>IN</b>: Wether to convert ' ' to '+' or not - * @param normalizeBreaks <b>IN</b>: Wether to convert CR and LF to CR-LF or not. + * @param spaceToPlus <b>IN</b>: Whether to convert ' ' to '+' or not + * @param normalizeBreaks <b>IN</b>: Whether to convert CR and LF to CR-LF or not. * @return Error code or 0 on success * * @see uriComposeQueryMallocA |