mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
URL escape: Improve API documentation.
This commit is contained in:
parent
a122b94efd
commit
0c7649d030
10
utils/url.h
10
utils/url.h
@ -31,10 +31,12 @@
|
|||||||
/**
|
/**
|
||||||
* Escape a string suitable for inclusion in an URL.
|
* Escape a string suitable for inclusion in an URL.
|
||||||
*
|
*
|
||||||
* \param unescaped the unescaped string
|
* \param[in] unescaped the unescaped string
|
||||||
* \param sptoplus true iff spaces should be converted to +
|
* \param[in] sptoplus true iff spaces should be converted to +
|
||||||
* \param escexceptions NULL or a string of characters excluded to be escaped
|
* \param[in] escexceptions NULL or a string of characters to be excluded
|
||||||
* \param result pointer to pointer to buffer to hold escaped string
|
* from escaping.
|
||||||
|
* \param[out] result Returns pointer to buffer to escaped string.
|
||||||
|
* Returned string is '\0' terminated.
|
||||||
* \return NSERROR_OK on success
|
* \return NSERROR_OK on success
|
||||||
*/
|
*/
|
||||||
nserror url_escape(const char *unescaped, bool sptoplus,
|
nserror url_escape(const char *unescaped, bool sptoplus,
|
||||||
|
Loading…
Reference in New Issue
Block a user