aboutsummaryrefslogtreecommitdiff
path: root/src/include/common/unicode_norm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/common/unicode_norm.h')
-rw-r--r--src/include/common/unicode_norm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/common/unicode_norm.h b/src/include/common/unicode_norm.h
new file mode 100644
index 00000000000..488f964d2c3
--- /dev/null
+++ b/src/include/common/unicode_norm.h
@@ -0,0 +1,21 @@
+/*-------------------------------------------------------------------------
+ *
+ * unicode_norm.h
+ * Routines for normalizing Unicode strings
+ *
+ * These definitions are used by both frontend and backend code.
+ *
+ * Copyright (c) 2017, PostgreSQL Global Development Group
+ *
+ * src/include/common/unicode_norm.h
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef UNICODE_NORM_H
+#define UNICODE_NORM_H
+
+#include "mb/pg_wchar.h"
+
+extern pg_wchar *unicode_normalize_kc(const pg_wchar *input);
+
+#endif /* UNICODE_NORM_H */