]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Document VIS_HTTPSTYLE:
authorAlexander Langer <alex@FreeBSD.org>
Sun, 2 Jul 2000 21:31:26 +0000 (21:31 +0000)
committerAlexander Langer <alex@FreeBSD.org>
Sun, 2 Jul 2000 21:31:26 +0000 (21:31 +0000)
commitd8fa6babb44f39dcfef3a48744b7b313177cb1d4
treef9687ee4dbbcbf19fe4c2b40041f560e46afad62
parent3b2b8a84d3c5f74746b4389eab1c9e1a0c0f488a
Document VIS_HTTPSTYLE:
VIS_HTTPSTYLE is a new encoding style for use in vis(), strvis() and
  strvisx() that escapes characters according to RFC 1808 (URI encoding).

Since decoding of these require different detection of start-points of
  escaped characters, VIS_HTTPSTYLE can be given as flag to unvis().
  unvis() will then properly decode URIs.

A new function appeared, strunvisx(): strunvisx() behaves similar as
  strunvis(), with one exception: It has an additional flag parameter,
  which is passed to unvis() to archive the effect I described above.
lib/libc/gen/unvis.3
lib/libc/gen/vis.3