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 struct xattr_DosInfo1
{
29 struct xattr_DosInfo2Old
{
38 const char * name
;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
42 struct xattr_DosInfo1 info1
;/* [case] */
43 struct xattr_DosInfo2Old oldinfo2
;/* [case(2)] */
44 }/* [switch_type(uint16)] */;
46 struct xattr_DosAttrib
{
48 union xattr_DosInfo info
;/* [switch_is(version)] */
52 const char * name
;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
58 struct xattr_EA
*eas
;/* [unique,size_is(num_eas)] */
66 struct xattr_DosStream
{
70 const char * name
;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
73 struct xattr_DosStreams
{
75 struct xattr_DosStream
*streams
;/* [unique,size_is(num_streams)] */
78 struct security_descriptor_hash
{
79 struct security_descriptor
*sd
;/* [unique] */
83 union xattr_NTACL_Info
{
84 struct security_descriptor
*sd
;/* [unique,case] */
85 struct security_descriptor_hash
*sd_hs
;/* [unique,case(2)] */
86 }/* [switch_type(uint16)] */;
90 union xattr_NTACL_Info info
;/* [switch_is(version)] */
93 #endif /* _HEADER_xattr */