|
NAMEkhttp_urldecode ,
khttp_urldecode_inplace —
URL decoding for kcgi
LIBRARYlibrary “libkcgi”SYNOPSIS#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
enum kcgi_err
enum kcgi_err
DESCRIPTIONDecode the percent-encoded string src. Inkhttp_urldecode (), the result is placed in
dst. In
khttp_urldecode_inplace (), the input string
src is overwritten with the result, which will be the
same or shorter in length.
These accept uppercase and lowercase percent encoding, for example. “%A0” or “%a0”, respectively. The deprecated form of these functions,
RETURN VALUESkhttp_urldecode () and
khttp_urldecode_inplace () return an error code:
If AUTHORSWritten by Kristaps Dzonsons <kristaps@bsd.lv>.
Visit the GSP FreeBSD Man Page Interface. |