From 52456790151a8e127bd2d9a8bb546932710532b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 6 Dec 2005 05:25:03 +0000 Subject: r12086: reverted the utf8string change in xattr.idl. See the discussion on 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/librpc/idl/xattr.idl b/source4/librpc/idl/xattr.idl index 4cb1f75393..36be31c48a 100644 --- a/source4/librpc/idl/xattr.idl +++ b/source4/librpc/idl/xattr.idl @@ -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 { -- cgit