+/*
+ * Definitions for RFC 2231 encoding
+ */
+#define istspecial(c) ((c) == '(' || (c) == ')' || (c) == '<' || (c) == '>' \
+ || (c) == '@' || (c) == ',' || (c) == ';' \
+ || (c) == ':' || (c) == '\\' || (c) == '"' \
+ || (c) == '/' || (c) == '[' || (c) == ']' \
+ || (c) == '?' || (c) == '=')
+
+#define isparamencode(c) (!isascii((unsigned char) c) || \
+ iscntrl((unsigned char) c) || istspecial(c) || \
+ (c) == ' ' || (c) == '*' || (c) == '\'' || \
+ (c) == '%')
+
+#define MAXTEXTPERLN 78
+#define MAXLONGLINE 998