summaryrefslogtreecommitdiff
path: root/src/include/mb
diff options
context:
space:
mode:
authorBruce Momjian2005-06-15 00:15:08 +0000
committerBruce Momjian2005-06-15 00:15:08 +0000
commit5955945828d96511798c3edf158ff2c341257d19 (patch)
tree5944b21a5e13361c9eb0c8038b1058e220fe3313 /src/include/mb
parentf4c4f1ce52b53d61bd000e2f113f352f8a52d8c2 (diff)
Support 3 and 4-byte unicode characters.
John Hansen
Diffstat (limited to 'src/include/mb')
-rw-r--r--src/include/mb/pg_wchar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index 41ca953a40f..32e9d739a80 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.58 2005/03/14 18:31:24 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.59 2005/06/15 00:15:08 momjian Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
@@ -340,4 +340,6 @@ extern void mic2latin(unsigned char *mic, unsigned char *p, int len, int lc);
extern void latin2mic_with_table(unsigned char *l, unsigned char *p, int len, int lc, unsigned char *tab);
extern void mic2latin_with_table(unsigned char *mic, unsigned char *p, int len, int lc, unsigned char *tab);
+extern bool pg_utf8_islegal(const unsigned char *source, int length);
+
#endif /* PG_WCHAR_H */