summaryrefslogtreecommitdiff
path: root/source4/include/charset.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/charset.h')
-rw-r--r--source4/include/charset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/charset.h b/source4/include/charset.h
index f1482ac08c..6c3ad2d916 100644
--- a/source4/include/charset.h
+++ b/source4/include/charset.h
@@ -38,3 +38,7 @@ struct charset_functions {
struct charset_functions *prev, *next;
};
+/* this type is used for manipulating unicode codepoints */
+typedef uint32_t codepoint_t;
+
+#define INVALID_CODEPOINT ((codepoint_t)-1)