]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Document VIS_HTTPSTYLE:
authoralex <alex@FreeBSD.org>
Sun, 2 Jul 2000 21:31:26 +0000 (21:31 +0000)
committeralex <alex@FreeBSD.org>
Sun, 2 Jul 2000 21:31:26 +0000 (21:31 +0000)
commit995a78eb83236c197a3d1fb37b7de757639d751f
tree4772c58dec37a5d24fb1f6992c883883be2351b2
parent7529622c2c77ec0057ab1617fffdbac83c01b82c
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