summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep/mbcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/grep/mbcache.h')
-rw-r--r--gnu/usr.bin/grep/mbcache.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/grep/mbcache.h b/gnu/usr.bin/grep/mbcache.h
new file mode 100644
index 0000000..3b76e25
--- /dev/null
+++ b/gnu/usr.bin/grep/mbcache.h
@@ -0,0 +1,11 @@
+/* $FreeBSD$ */
+#ifndef MB_CACHE_DEFINED
+#define MB_CACHE_DEFINED
+struct mb_cache
+{
+ size_t len;
+ const char *orig_buf; /* not the only reference; do not free */
+ wchar_t *wcs_buf;
+ unsigned char *mblen_buf;
+};
+#endif
OpenPOWER on IntegriCloud