1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/librpc/idl/xattr.idl
Volker Lendecke 57cc992e0f Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00

24 lines
337 B
Plaintext

#include "idl_types.h"
/*
IDL structures for xattrs
*/
[
pointer_default(unique)
]
interface xattr
{
/* xattrs for file systems that don't have any */
typedef [public] struct {
utf8string name;
DATA_BLOB value;
} tdb_xattr;
typedef [public] struct {
uint32 num_xattrs;
tdb_xattr xattrs[num_xattrs];
} tdb_xattrs;
}