r12086: reverted the utf8string change in xattr.idl. See the discussion on
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Dec 2005 05:25:03 +0000 (05:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:07 +0000 (13:47 -0500)
samba-technical on why this should stay as a simple null terminated
string (basically to make hand-written parsers easier)
(This used to be commit 0f1de4b1db7f0035e2b31f967d86de9306558968)

source4/librpc/idl/xattr.idl

index 4cb1f75393f051b96b2abfb6e1bdee8bc34b1b02..36be31c48a0c499cd3200cd8fc0c134f0a15476e 100644 (file)
@@ -41,7 +41,7 @@ interface xattr
                NTTIME     create_time;
                NTTIME     change_time;
                NTTIME     write_time; /* only used when sticky write time is set */
-               [string,charset(UTF8)] uint8 *name;       /* will be used for case-insensitive speedup */
+               utf8string name;
        } xattr_DosInfo2;
 
        typedef [switch_type(uint16)] union {
@@ -59,7 +59,7 @@ interface xattr
        const char *XATTR_DOSEAS_NAME = "user.DosEAs";
 
        typedef struct {
-               [string,charset(UTF8)] uint8 *name;
+               utf8string name;
                DATA_BLOB value;
        } xattr_EA;
 
@@ -85,7 +85,7 @@ interface xattr
                uint32     flags;
                udlong     size;
                udlong     alloc_size;
-               [charset(UTF8),string] uint8 name[];
+               utf8string name;
        } xattr_DosStream;
 
        typedef [public] struct {