Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is...
[Samba.git] / source / librpc / gen_ndr / xattr.h
blobe2bdfb3a6848df58ed9c36f932ecd8240851d923
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #ifndef _HEADER_xattr
6 #define _HEADER_xattr
8 #define XATTR_NTACL_NAME ( "security.NTACL" )
9 struct tdb_xattr {
10 const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
11 DATA_BLOB value;
12 }/* [public] */;
14 struct tdb_xattrs {
15 uint32_t num_xattrs;
16 struct tdb_xattr *xattrs;
17 }/* [public] */;
19 struct security_descriptor_hash {
20 struct security_descriptor *sd;/* [unique] */
21 uint8_t hash[16];
22 }/* [public] */;
24 union xattr_NTACL_Info {
25 struct security_descriptor *sd;/* [unique,case] */
26 struct security_descriptor_hash *sd_hs;/* [unique,case(2)] */
27 }/* [switch_type(uint16)] */;
29 struct xattr_NTACL {
30 uint16_t version;
31 union xattr_NTACL_Info info;/* [switch_is(version)] */
32 }/* [public] */;
34 #endif /* _HEADER_xattr */