Loading...
--- Libc/Libc-262.3.2/include/vis.h
+++ Libc/Libc-1082.50.1/include/vis.h
@@ -2,8 +2,6 @@
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
- *
- * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
@@ -60,11 +58,14 @@
#ifndef _VIS_H_
#define _VIS_H_
+#include <_types.h>
+#include <sys/_types/_size_t.h>
+
/*
* to select alternate encoding format
*/
#define VIS_OCTAL 0x01 /* use octal \ddd format */
-#define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropiate */
+#define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropriate */
/*
* to alter set of characters encoded (default is to encode all
@@ -80,6 +81,8 @@
* other
*/
#define VIS_NOSLASH 0x40 /* inhibit printing '\' */
+#define VIS_HTTPSTYLE 0x80 /* http-style escape % HEX HEX */
+#define VIS_GLOB 0x100 /* encode glob(3) magics */
/*
* unvis return codes
@@ -98,11 +101,12 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-char *vis __P((char *, int, int, int));
-int strvis __P((char *, const char *, int));
-int strvisx __P((char *, const char *, size_t, int));
-int strunvis __P((char *, const char *));
-int unvis __P((char *, int, int *, int));
+char *vis(char *, int, int, int);
+int strvis(char *, const char *, int);
+int strvisx(char *, const char *, size_t, int);
+int strunvis(char *, const char *);
+int strunvisx(char *, const char *, int);
+int unvis(char *, int, int *, int);
__END_DECLS
#endif /* !_VIS_H_ */