summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-23 17:39:05 +0000
committerchristos <christos@NetBSD.org>2002-03-23 17:39:05 +0000
commitb7cef1a057448cb49e7a994b70487ad192c70417 (patch)
tree8361879a1af20db130fd45f886c4bcfb4df27197 /include/vis.h
parente20c30d79415b1fdd55b176fcda19dcfc4e899d4 (diff)
Add VIS_HTTPSTYLE and strunvisx (From FreeBSD)
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vis.h b/include/vis.h
index 092a175777b..0739c1dfad1 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.h,v 1.11 1999/11/25 16:55:50 wennmach Exp $ */
+/* $NetBSD: vis.h,v 1.12 2002/03/23 17:39:05 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -58,6 +58,7 @@
* other
*/
#define VIS_NOSLASH 0x40 /* inhibit printing '\' */
+#define VIS_HTTPSTYLE 0x80 /* http-style escape % HEX HEX */
/*
* unvis return codes
@@ -83,6 +84,7 @@ int strsvis __P((char *, const char *, int, const char *));
int strvisx __P((char *, const char *, size_t, int));
int strsvisx __P((char *, const char *, size_t, int, const char *));
int strunvis __P((char *, const char *));
+int strunvisx __P((char *, const char *, int));
#ifdef __LIBC12_SOURCE__
int unvis __P((char *, int, int *, int));
int __unvis13 __P((char *, int, int *, int));