Lines Matching +full:encode +full:- +full:only
3 /*-
46 * to alter set of characters encoded (default is to encode all
47 * non-graphic except space, tab, and newline).
49 #define VIS_SP 0x0004 /* also encode space */
50 #define VIS_TAB 0x0008 /* also encode tab */
51 #define VIS_NL 0x0010 /* also encode newline */
53 #define VIS_SAFE 0x0020 /* only encode "unsafe" characters */
54 #define VIS_DQ 0x8000 /* also encode double quotes */
60 #define VIS_HTTP1808 0x0080 /* http-style escape % hex hex */
61 #define VIS_HTTPSTYLE 0x0080 /* http-style escape % hex hex */
62 #define VIS_GLOB 0x0100 /* encode glob(3) magic characters */
63 #define VIS_MIMESTYLE 0x0200 /* mime-style escape = HEX HEX */
64 #define VIS_HTTP1866 0x0400 /* http-style &#num; or &string; */
67 #define VIS_SHELL 0x2000 /* encode shell special characters [not glob] */
69 #define VIS_NOLOCALE 0x4000 /* encode using the C locale */
77 #define UNVIS_SYNBAD -1 /* unrecognized escape sequence */
78 #define UNVIS_ERROR -2 /* decoder in unknown state (unrecoverable) */