summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/xattr.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-16 15:59:06 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-16 15:59:06 +0100
commitca7e4ce97a39f1536047478388302c708d34d372 (patch)
treece1b9b68ce74394e4ead049f34caea86f2651433 /source3/librpc/gen_ndr/xattr.h
parentb2a01ef5dd66618a130e2a1d4cc1d755ba3624a8 (diff)
downloadsamba-ca7e4ce97a39f1536047478388302c708d34d372.tar.gz
samba-ca7e4ce97a39f1536047478388302c708d34d372.tar.bz2
samba-ca7e4ce97a39f1536047478388302c708d34d372.zip
Move shared gen_ndr files to librpc/gen_ndr in the root.
At the moment these files are used just by Samba 3, but the next step will be using them from Samba 4 as well.
Diffstat (limited to 'source3/librpc/gen_ndr/xattr.h')
-rw-r--r--source3/librpc/gen_ndr/xattr.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/source3/librpc/gen_ndr/xattr.h b/source3/librpc/gen_ndr/xattr.h
deleted file mode 100644
index 1148a0acec..0000000000
--- a/source3/librpc/gen_ndr/xattr.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/* header auto-generated by pidl */
-
-#include <stdint.h>
-
-#include "librpc/gen_ndr/security.h"
-#ifndef _HEADER_xattr
-#define _HEADER_xattr
-
-#define XATTR_DOSATTRIB_NAME ( "user.DosAttrib" )
-#define XATTR_DOSATTRIB_ESTIMATED_SIZE ( 64 )
-#define XATTR_DOSEAS_NAME ( "user.DosEAs" )
-#define XATTR_DOSSTREAMS_NAME ( "user.DosStreams" )
-#define XATTR_STREAM_FLAG_INTERNAL ( 0x00000001 )
-#define XATTR_DOSSTREAM_PREFIX ( "user.DosStream." )
-#define XATTR_MAX_STREAM_SIZE ( 0x4000 )
-#define XATTR_MAX_STREAM_SIZE_TDB ( 0x100000 )
-#define XATTR_NTACL_NAME ( "security.NTACL" )
-struct xattr_DosInfo1 {
- uint32_t attrib;
- uint32_t ea_size;
- uint64_t size;
- uint64_t alloc_size;
- NTTIME create_time;
- NTTIME change_time;
-};
-
-struct xattr_DosInfo2Old {
- uint32_t flags;
- uint32_t attrib;
- uint32_t ea_size;
- uint64_t size;
- uint64_t alloc_size;
- NTTIME create_time;
- NTTIME change_time;
- NTTIME write_time;
- const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
-};
-
-union xattr_DosInfo {
- struct xattr_DosInfo1 info1;/* [case] */
- struct xattr_DosInfo2Old oldinfo2;/* [case(2)] */
-}/* [switch_type(uint16)] */;
-
-struct xattr_DosAttrib {
- uint16_t version;
- union xattr_DosInfo info;/* [switch_is(version)] */
-}/* [public] */;
-
-struct xattr_EA {
- const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
- DATA_BLOB value;
-};
-
-struct xattr_DosEAs {
- uint16_t num_eas;
- struct xattr_EA *eas;/* [unique,size_is(num_eas)] */
-}/* [public] */;
-
-struct tdb_xattrs {
- uint32_t num_eas;
- struct xattr_EA *eas;
-}/* [public] */;
-
-struct xattr_DosStream {
- uint32_t flags;
- uint64_t size;
- uint64_t alloc_size;
- const char * name;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
-};
-
-struct xattr_DosStreams {
- uint32_t num_streams;
- struct xattr_DosStream *streams;/* [unique,size_is(num_streams)] */
-}/* [public] */;
-
-struct security_descriptor_hash {
- struct security_descriptor *sd;/* [unique] */
- uint8_t hash[16];
-}/* [public] */;
-
-union xattr_NTACL_Info {
- struct security_descriptor *sd;/* [unique,case] */
- struct security_descriptor_hash *sd_hs;/* [unique,case(2)] */
-}/* [switch_type(uint16)] */;
-
-struct xattr_NTACL {
- uint16_t version;
- union xattr_NTACL_Info info;/* [switch_is(version)] */
-}/* [public] */;
-
-#endif /* _HEADER_xattr */