summaryrefslogtreecommitdiff
path: root/other/ssharp/openbsd-compat/vis.h
diff options
context:
space:
mode:
authorSkyperTHC2026-03-03 06:28:55 +0000
committerSkyperTHC2026-03-03 06:28:55 +0000
commit5d3573ef7a109ee70416fe94db098fe6a769a798 (patch)
treedc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/ssharp/openbsd-compat/vis.h
parentc6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff)
packetstorm sync
Diffstat (limited to 'other/ssharp/openbsd-compat/vis.h')
-rw-r--r--other/ssharp/openbsd-compat/vis.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/other/ssharp/openbsd-compat/vis.h b/other/ssharp/openbsd-compat/vis.h
new file mode 100644
index 0000000..5d5503f
--- /dev/null
+++ b/other/ssharp/openbsd-compat/vis.h
@@ -0,0 +1,34 @@
1/* $Id: vis.h,v 1.1.1.1 2001/09/19 14:44:59 stealth Exp $ */
2
3#ifndef _BSD_VIS_H
4#define _BSD_VIS_H
5
6#include "config.h"
7
8#ifndef HAVE_VIS
9
10/*
11 * to select alternate encoding format
12 */
13#define VIS_OCTAL 0x01 /* use octal \ddd format */
14#define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropriate */
15
16/*
17 * to alter set of characters encoded (default is to encode all
18 * non-graphic except space, tab, and newline).
19 */
20#define VIS_SP 0x04 /* also encode space */
21#define VIS_TAB 0x08 /* also encode tab */
22#define VIS_NL 0x10 /* also encode newline */
23#define VIS_WHITE (VIS_SP | VIS_TAB | VIS_NL)
24#define VIS_SAFE 0x20 /* only encode "unsafe" characters */
25
26/*
27 * other
28 */
29#define VIS_NOSLASH 0x40 /* inhibit printing '\' */
30
31char *vis (char *, int, int, int);
32#endif /* HAVE_VIS */
33
34#endif /* _BSD_VIS_H */