summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/xattr.h
blob: b0b9db99c1a6cd6456cd95d42c7f0c0f4198666e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* header auto-generated by pidl */

#include <stdint.h>

#ifndef _HEADER_xattr
#define _HEADER_xattr

#define XATTR_NTACL_NAME	( "security.NTACL" )
struct tdb_xattr {
	const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
	DATA_BLOB value;
}/* [public] */;

struct tdb_xattrs {
	uint32_t num_xattrs;
	struct tdb_xattr *xattrs;
}/* [public] */;

struct security_descriptor_timestamp {
	struct security_descriptor *sd;/* [unique] */
	NTTIME last_changed;
}/* [public] */;

union xattr_NTACL_Info {
	struct security_descriptor *sd;/* [unique,case] */
	struct security_descriptor_timestamp *sd_ts;/* [unique,case(2)] */
}/* [switch_type(uint16)] */;

struct xattr_NTACL {
	uint16_t version;
	union xattr_NTACL_Info info;/* [switch_is(version)] */
}/* [public] */;

#endif /* _HEADER_xattr */