summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h
index 557700dc93d..45a9f6fff0d 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -603,8 +603,16 @@ typedef enum { RECC_ERROR = 0,
RECC_ASCII, RECC_UNIBYTE
} re_wctype_t;
+extern char re_iswctype (int ch, re_wctype_t cc);
+extern re_wctype_t re_wctype (const unsigned char* str);
+
typedef int re_wchar_t;
+/* Type of source-pattern and string chars. */
+typedef const unsigned char re_char;
+
+extern void re_set_whitespace_regexp (re_char *regexp);
+
#endif /* not WIDE_CHAR_SUPPORT */
#endif /* regex.h */