summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_unistr.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 486091a8b5..dddf4bde92 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -953,6 +953,7 @@ int wisxdigit( smb_ucs2_t val)
{
return (map_table[val].flags & UNI_XDIGIT);
}
+
/*******************************************************************
Is a space wchar.
********************************************************************/
@@ -961,3 +962,21 @@ int wisspace( smb_ucs2_t val)
{
return (map_table[val].flags & UNI_SPACE);
}
+
+/*******************************************************************
+ Convert a wchar to upper case.
+********************************************************************/
+
+smb_ucs2_t wtoupper( smb_ucs2_t val )
+{
+ return map_table[val].upper;
+}
+
+/*******************************************************************
+ Convert a wchar to lower case.
+********************************************************************/
+
+smb_ucs2_t wtolowerr( smb_ucs2_t val )
+{
+ return map_table[val].lower;
+}