summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2010-11-27 19:44:54 +0000
committerchristos <christos@NetBSD.org>2010-11-27 19:44:54 +0000
commitfb5fb3142cc85dad7fad4905a1f952491041077b (patch)
tree000f9ce0e9e4fee09ebcb12e1404490cd51a42ac /include/vis.h
parentd5ea004dc73f47e20b9b103acbe5902638f61a60 (diff)
add VIS_NOESCAPE and VIS_HTTP1866
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vis.h b/include/vis.h
index 3c694e64a11..7c06b040f89 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.h,v 1.17 2009/02/10 23:06:31 christos Exp $ */
+/* $NetBSD: vis.h,v 1.18 2010/11/27 19:44:54 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -56,8 +56,11 @@
* other
*/
#define VIS_NOSLASH 0x040 /* inhibit printing '\' */
+#define VIS_HTTP1808 0x080 /* http-style escape % hex hex */
#define VIS_HTTPSTYLE 0x080 /* http-style escape % hex hex */
#define VIS_MIMESTYLE 0x100 /* mime-style escape = HEX HEX */
+#define VIS_HTTP1866 0x200 /* http-style &#num; or &string; */
+#define VIS_NOESCAPE 0x400 /* don't decode `\' */
/*
* unvis return codes