mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
57cc992e0f
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
)
17 lines
810 B
C
17 lines
810 B
C
/* header auto-generated by pidl */
|
|
|
|
#include "librpc/ndr/libndr.h"
|
|
#include "librpc/gen_ndr/xattr.h"
|
|
|
|
#ifndef _HEADER_NDR_xattr
|
|
#define _HEADER_NDR_xattr
|
|
|
|
#define NDR_XATTR_CALL_COUNT (0)
|
|
enum ndr_err_code ndr_push_tdb_xattr(struct ndr_push *ndr, int ndr_flags, const struct tdb_xattr *r);
|
|
enum ndr_err_code ndr_pull_tdb_xattr(struct ndr_pull *ndr, int ndr_flags, struct tdb_xattr *r);
|
|
void ndr_print_tdb_xattr(struct ndr_print *ndr, const char *name, const struct tdb_xattr *r);
|
|
enum ndr_err_code ndr_push_tdb_xattrs(struct ndr_push *ndr, int ndr_flags, const struct tdb_xattrs *r);
|
|
enum ndr_err_code ndr_pull_tdb_xattrs(struct ndr_pull *ndr, int ndr_flags, struct tdb_xattrs *r);
|
|
void ndr_print_tdb_xattrs(struct ndr_print *ndr, const char *name, const struct tdb_xattrs *r);
|
|
#endif /* _HEADER_NDR_xattr */
|