www.LinuxHowtos.org
NE_STRPARAM
Section: neon API reference (3)Updated: 23 November 2024
Index Return to Main Contents
NAME
ne_strparam - HTTP extended parameter value encodingSYNOPSIS
#include <ne_string.h>
- char *ne_strparam(const char *charset, const char *lang, const char *value);
DESCRIPTION
In accordance with RFC 5987, the charset argument must be either "UTF-8" or "IS0-8859-1", but the lang argument may be NULL.
RETURN VALUE
The return value is either:
NULL
- if the value parameter is a "regular parameter" and does not need extended encoding
non-NULL
- the encoding of the input value as an extended parameter as a NUL-terminated, malloc-allocated string
HISTORY
ne_strparam is available in neon 0.32.0 and later.
SEE ALSO
m[blue]https://tools.ietf.org/html/rfc5987m[]
COPYRIGHT
Copyright © 200-2024 Joe Orton