Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include add VIS_NOESCAPE and VIS_HTTP1866
details: https://anonhg.NetBSD.org/src/rev/680cb9248b38
branches: trunk
changeset: 759078:680cb9248b38
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 27 19:44:54 2010 +0000
description:
add VIS_NOESCAPE and VIS_HTTP1866
diffstat:
include/vis.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 9d7c6bd19f74 -r 680cb9248b38 include/vis.h
--- a/include/vis.h Sat Nov 27 19:44:21 2010 +0000
+++ b/include/vis.h Sat Nov 27 19:44:54 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index