1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/security.h"
11 #define XATTR_DOSATTRIB_NAME ( "user.DosAttrib" )
12 #define XATTR_DOSATTRIB_ESTIMATED_SIZE ( 64 )
13 #define XATTR_DOSEAS_NAME ( "user.DosEAs" )
14 #define XATTR_DOSSTREAMS_NAME ( "user.DosStreams" )
15 #define XATTR_STREAM_FLAG_INTERNAL ( 0x00000001 )
16 #define XATTR_DOSSTREAM_PREFIX ( "user.DosStream." )
17 #define XATTR_MAX_STREAM_SIZE ( 0x4000 )
18 #define XATTR_MAX_STREAM_SIZE_TDB ( 0x100000 )
19 #define XATTR_NTACL_NAME ( "security.NTACL" )
20 #define XATTR_SD_HASH_SIZE ( 64 )
21 #define XATTR_SD_HASH_TYPE_NONE ( 0x0 )
22 #define XATTR_SD_HASH_TYPE_SHA256 ( 0x1 )
23 struct xattr_DosInfo1 {
32 struct xattr_DosInfo2Old {
41 const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
45 struct xattr_DosInfo1 info1;/* [case] */
46 struct xattr_DosInfo2Old oldinfo2;/* [case(2)] */
47 }/* [switch_type(uint16)] */;
49 struct xattr_DosAttrib {
51 union xattr_DosInfo info;/* [switch_is(version)] */
55 const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
61 struct xattr_EA *eas;/* [unique,size_is(num_eas)] */
69 struct xattr_DosStream {
73 const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
76 struct xattr_DosStreams {
78 struct xattr_DosStream *streams;/* [unique,size_is(num_streams)] */
81 struct security_descriptor_hash_v2 {
82 struct security_descriptor *sd;/* [unique] */
86 struct security_descriptor_hash_v3 {
87 struct security_descriptor *sd;/* [unique] */
92 union xattr_NTACL_Info {
93 struct security_descriptor *sd;/* [unique,case] */
94 struct security_descriptor_hash_v2 *sd_hs2;/* [unique,case(2)] */
95 struct security_descriptor_hash_v3 *sd_hs3;/* [unique,case(3)] */
96 }/* [switch_type(uint16)] */;
100 union xattr_NTACL_Info info;/* [switch_is(version)] */
103 #endif /* _HEADER_xattr */