s4: add talloc_strdup_upper.
authorGünther Deschner <gd@samba.org>
Tue, 23 Sep 2008 06:32:42 +0000 (08:32 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 23 Sep 2008 07:37:23 +0000 (09:37 +0200)
Guenther

source4/lib/charset/util_unistr.c

index 09ec7b04716d1db271fd906f6cf94ab53e869a3e..a8ff88423a27adce45101501ea1553bf479a7df0 100644 (file)
@@ -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.