summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-23 08:32:42 +0200
committerGünther Deschner <gd@samba.org>2008-09-23 09:37:23 +0200
commitb60d612cdeb7dad7c1e2496c5b1e19abb58da50f (patch)
treeecc93d46affbc6ba466f184db872e0db760cf76f /source4/lib
parentc5265ea3bf493035385fdc9a2bc59a9b0a0bb8f3 (diff)
downloadsamba-b60d612cdeb7dad7c1e2496c5b1e19abb58da50f.tar.gz
s4: add talloc_strdup_upper.
Guenther
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/charset/util_unistr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/lib/charset/util_unistr.c b/source4/lib/charset/util_unistr.c
index 09ec7b04716..a8ff88423a2 100644
--- a/source4/lib/charset/util_unistr.c
+++ b/source4/lib/charset/util_unistr.c
@@ -570,7 +570,13 @@ _PUBLIC_ char *strupper_talloc(TALLOC_CTX *ctx, const char *src)
return strupper_talloc_n(ctx, src, src?strlen(src):0);
}
-
+/**
+ talloc_strdup() a unix string to upper case.
+**/
+_PUBLIC_ char *talloc_strdup_upper(TALLOC_CTX *ctx, const char *src)
+{
+ return strupper_talloc(ctx, src);
+}
/**
Convert a string to lower case.